aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qed
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2019-05-26 08:22:27 -0400
committerDavid S. Miller <davem@davemloft.net>2019-05-26 16:04:12 -0400
commit3576e99e08217f291290ac62431c7e330ac111c4 (patch)
treeebaaaf7293c12fe2584f7e437b010072273f9595 /include/linux/qed
parent24e04879abdd7afb73a64a6dd64d7b51d924d0e3 (diff)
qed*: Add iWARP 100g support
Add iWARP engine affinity setting for supporting iWARP over 100g. iWARP cannot be distinguished by the LLH from L2, hence the engine division will affect L2 as well. For this reason we add a parameter to devlink to determine the engine division. Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r--include/linux/qed/qed_rdma_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_rdma_if.h b/include/linux/qed/qed_rdma_if.h
index d15f8e4815e3..898f595ea3d6 100644
--- a/include/linux/qed/qed_rdma_if.h
+++ b/include/linux/qed/qed_rdma_if.h
@@ -670,6 +670,8 @@ struct qed_rdma_ops {
670 int (*ll2_set_mac_filter)(struct qed_dev *cdev, 670 int (*ll2_set_mac_filter)(struct qed_dev *cdev,
671 u8 *old_mac_address, u8 *new_mac_address); 671 u8 *old_mac_address, u8 *new_mac_address);
672 672
673 int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
674
673 int (*iwarp_connect)(void *rdma_cxt, 675 int (*iwarp_connect)(void *rdma_cxt,
674 struct qed_iwarp_connect_in *iparams, 676 struct qed_iwarp_connect_in *iparams,
675 struct qed_iwarp_connect_out *oparams); 677 struct qed_iwarp_connect_out *oparams);