OSDN Git Service

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)
commit7e50769caaea9ab046c8c370918f092d242fb6e8
tree0648f58f55c8ec3330fb4f22e32e94800ecafceb
parent08eb1fb0f77b0036568d2228f3425f2595d671bb
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