]> 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)
commit5a3fb6413885e93dd2ab949c0e37e9d44349018e
tree0648f58f55c8ec3330fb4f22e32e94800ecafceb
parentcec092672055ad9f9e185cf691edcc75eb7c1b5f
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