aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/qed
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2019-05-26 15:22:27 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-26 13:04:12 -0700
commit3576e99e08217f291290ac62431c7e330ac111c4 (patch)
treeebaaaf7293c12fe2584f7e437b010072273f9595 /include/linux/qed
parentqed: Add qed devlink parameters table (diff)
downloadwireguard-linux-3576e99e08217f291290ac62431c7e330ac111c4.tar.xz
wireguard-linux-3576e99e08217f291290ac62431c7e330ac111c4.zip
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 {
int (*ll2_set_mac_filter)(struct qed_dev *cdev,
u8 *old_mac_address, u8 *new_mac_address);
+ int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
+
int (*iwarp_connect)(void *rdma_cxt,
struct qed_iwarp_connect_in *iparams,
struct qed_iwarp_connect_out *oparams);