]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Modify offload protocols to use the affined engine
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 26 May 2019 12:22:23 +0000 (15:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 20:04:11 +0000 (13:04 -0700)
commit9bc95c20e5c112cfdc531c2ce8e06773ac1f35e1
tree0648f58f55c8ec3330fb4f22e32e94800ecafceb
parent3ab3148092bed7e82c831c8988a782e73d8cbcab
qed: Modify offload protocols to use the affined engine

To enable 100g support for offload protocols each PF gets
a dedicated engine to work on from the MFW.
This patch modifies the code to use the affined hwfn instead
of the leading one.
The offload protocols require the ll2 to be opened on both
engines, and not just the affined hwfn.

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>
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
drivers/net/ethernet/qlogic/qed/qed_ll2.c
drivers/net/ethernet/qlogic/qed/qed_rdma.c