aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_type.h
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2017-10-16 15:46:00 -0500
committerDoug Ledford <dledford@redhat.com>2017-10-18 13:28:46 -0400
commit9381699eedd1b5dd5b490e993b870dff7571ddcf (patch)
treefc6acdb0e8af0ad3f9129c0074a13ee170efce1f /drivers/infiniband/hw/i40iw/i40iw_type.h
parenti40iw: Account for IPv6 header when setting MSS (diff)
downloadlinux-dev-9381699eedd1b5dd5b490e993b870dff7571ddcf.tar.xz
linux-dev-9381699eedd1b5dd5b490e993b870dff7571ddcf.zip
i40iw: Move ceq_valid to i40iw_sc_dev structure
Completion Event Queues are created and destroyed on a per device basis as opposed to per User-space Direct Access resource. Move ceq_valid to the correct place in i40iw_sc_dev from i40iw_puda_rsrc. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_type.h b/drivers/infiniband/hw/i40iw/i40iw_type.h
index f443f2075d6f..a27d392c92a2 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_type.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_type.h
@@ -505,6 +505,7 @@ struct i40iw_sc_dev {
u8 hmc_fn_id;
bool is_pf;
bool vchnl_up;
+ bool ceq_valid;
u8 vf_id;
wait_queue_head_t vf_reqs;
u64 cqp_cmd_stats[OP_SIZE_CQP_STAT_ARRAY];