Commit de9f0634 authored by Mustafa Ismail's avatar Mustafa Ismail Committed by Doug Ledford

i40iw: Remove unused static_rsrc from i40iw_create_qp_info

The field static_rsrc in i40iw_create_qp_info is unused
and not needed. Remove it.
Signed-off-by: default avatarMustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 4236f4b9
...@@ -2448,7 +2448,6 @@ static enum i40iw_status_code i40iw_sc_qp_create( ...@@ -2448,7 +2448,6 @@ static enum i40iw_status_code i40iw_sc_qp_create(
LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) | LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) |
LS_64(qp->virtual_map, I40IW_CQPSQ_QP_VQ) | LS_64(qp->virtual_map, I40IW_CQPSQ_QP_VQ) |
LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) | LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) |
LS_64(info->static_rsrc, I40IW_CQPSQ_QP_STATRSRC) |
LS_64(info->arp_cache_idx_valid, I40IW_CQPSQ_QP_ARPTABIDXVALID) | LS_64(info->arp_cache_idx_valid, I40IW_CQPSQ_QP_ARPTABIDXVALID) |
LS_64(info->next_iwarp_state, I40IW_CQPSQ_QP_NEXTIWSTATE) | LS_64(info->next_iwarp_state, I40IW_CQPSQ_QP_NEXTIWSTATE) |
LS_64(cqp->polarity, I40IW_CQPSQ_WQEVALID); LS_64(cqp->polarity, I40IW_CQPSQ_WQEVALID);
...@@ -2511,7 +2510,6 @@ static enum i40iw_status_code i40iw_sc_qp_modify( ...@@ -2511,7 +2510,6 @@ static enum i40iw_status_code i40iw_sc_qp_modify(
LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) | LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) |
LS_64(info->force_loopback, I40IW_CQPSQ_QP_FORCELOOPBACK) | LS_64(info->force_loopback, I40IW_CQPSQ_QP_FORCELOOPBACK) |
LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) | LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) |
LS_64(info->static_rsrc, I40IW_CQPSQ_QP_STATRSRC) |
LS_64(info->remove_hash_idx, I40IW_CQPSQ_QP_REMOVEHASHENTRY) | LS_64(info->remove_hash_idx, I40IW_CQPSQ_QP_REMOVEHASHENTRY) |
LS_64(term_actions, I40IW_CQPSQ_QP_TERMACT) | LS_64(term_actions, I40IW_CQPSQ_QP_TERMACT) |
LS_64(info->reset_tcp_conn, I40IW_CQPSQ_QP_RESETCON) | LS_64(info->reset_tcp_conn, I40IW_CQPSQ_QP_RESETCON) |
......
...@@ -540,9 +540,6 @@ ...@@ -540,9 +540,6 @@
#define I40IW_CQPSQ_QP_MSSCHANGE_SHIFT 52 #define I40IW_CQPSQ_QP_MSSCHANGE_SHIFT 52
#define I40IW_CQPSQ_QP_MSSCHANGE_MASK (1ULL << I40IW_CQPSQ_QP_MSSCHANGE_SHIFT) #define I40IW_CQPSQ_QP_MSSCHANGE_MASK (1ULL << I40IW_CQPSQ_QP_MSSCHANGE_SHIFT)
#define I40IW_CQPSQ_QP_STATRSRC_SHIFT 53
#define I40IW_CQPSQ_QP_STATRSRC_MASK (1ULL << I40IW_CQPSQ_QP_STATRSRC_SHIFT)
#define I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT 54 #define I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT 54
#define I40IW_CQPSQ_QP_IGNOREMWBOUND_MASK \ #define I40IW_CQPSQ_QP_IGNOREMWBOUND_MASK \
(1ULL << I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT) (1ULL << I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT)
......
...@@ -535,7 +535,6 @@ struct i40iw_create_qp_info { ...@@ -535,7 +535,6 @@ struct i40iw_create_qp_info {
bool ord_valid; bool ord_valid;
bool tcp_ctx_valid; bool tcp_ctx_valid;
bool cq_num_valid; bool cq_num_valid;
bool static_rsrc;
bool arp_cache_idx_valid; bool arp_cache_idx_valid;
}; };
...@@ -547,7 +546,6 @@ struct i40iw_modify_qp_info { ...@@ -547,7 +546,6 @@ struct i40iw_modify_qp_info {
bool ord_valid; bool ord_valid;
bool tcp_ctx_valid; bool tcp_ctx_valid;
bool cq_num_valid; bool cq_num_valid;
bool static_rsrc;
bool arp_cache_idx_valid; bool arp_cache_idx_valid;
bool reset_tcp_conn; bool reset_tcp_conn;
bool remove_hash_idx; bool remove_hash_idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment