[PATCH v2 net-next 08/11] qed*: Add iWARP 100g support

2019-05-26 Thread Michal Kalderon
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 Signed-off-by: Michal

[PATCH v2 net-next 09/11] Revert "scsi: qedi: Allocate IRQs based on msix_cnt"

2019-05-26 Thread Michal Kalderon
From: Manish Rangankar Always request for number of irqs equals to number of queues. This reverts commit 1a291bce5eaf5374627d337157544aa6499ce34a. Signed-off-by: Manish Rangankar Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/scsi/qedi/qedi_main.c | 2 +- 1 file

[PATCH v2 net-next 10/11] qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index

2019-05-26 Thread Michal Kalderon
From: Manish Rangankar MSI-X vector index is determined using qed device information and affinity to use. Signed-off-by: Manish Rangankar Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/scsi/qedi/qedi_main.c | 32 ++-- 1 file changed, 26

[PATCH v2 net-next 11/11] qedf: Use hwfns and affin_hwfn_idx to get MSI-X vector index to use

2019-05-26 Thread Michal Kalderon
From: Chad Dupuis MSI-X vector index is determined using qed device information and affinity to use. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap Signed-off-by: Michal Kalderon --- drivers/scsi/qedf/qedf_main.c | 39 --- 1 file changed, 28

[PATCH v2 net-next 02/11] qed: Add llh ppfid interface and 100g support for offload protocols

2019-05-26 Thread Michal Kalderon
API enables allocating more filter rules per PF and enables affinitizing protocol packets to a certain engine which enables full 100g protocol offload support. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed.h | 21 +- drivers/net

[PATCH v2 net-next 07/11] qed: Add qed devlink parameters table

2019-05-26 Thread Michal Kalderon
The table currently contains a single parameter for configuring whether iWARP should be enabled on a 100g device. Enabling iWARP on a 100g device impacts L2 performance and is therefore not enabled by default. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet

[PATCH v2 net-next 00/11] qed*: Improve performance on 100G link for offload protocols

2019-05-26 Thread Michal Kalderon
si: qedi: Allocate IRQs based on msix_cnt" qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index Michal Kalderon (8): qed: Modify api for performing a dmae to another PF qed: Add llh ppfid interface and 100g support for offload protocols qed*: Change hwfn used for sb initialization

[PATCH v2 net-next 04/11] qed: Modify offload protocols to use the affined engine

2019-05-26 Thread Michal Kalderon
: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_fcoe.c | 26 +- drivers/net/ethernet/qlogic/qed/qed_iscsi.c | 35 ++- drivers/net/ethernet/qlogic/qed/qed_ll2.c | 378 +--- drivers/net/ethernet/qlogic/qed/qed_rdma.c | 23 +- 4 files

[PATCH v2 net-next 01/11] qed: Modify api for performing a dmae to another PF

2019-05-26 Thread Michal Kalderon
requires atomicity in access. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 5 +-- drivers/net/ethernet/qlogic/qed/qed_debug.c| 2 +- drivers/net/ethernet/qlogic/qed/qed_dev_api.h | 16 +++--- drivers/net/ethernet/qlogic

[PATCH v2 net-next 06/11] qed: Set the doorbell address correctly

2019-05-26 Thread Michal Kalderon
In 100g mode the doorbell bar is united for both engines. Set the correct offset in the hwfn so that the doorbell returned for RoCE is in the affined hwfn. Signed-off-by: Ariel Elior Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dev.c

[PATCH v2 net-next 05/11] qedr: Change the MSI-X vectors selection to be based on affined engine

2019-05-26 Thread Michal Kalderon
Use the msix vectors of the affined hwfn and not the leading one. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c | 9 +++-- drivers/infiniband/hw/qedr/qedr.h | 2 ++ drivers/net/ethernet/qlogic/qed/qed_ll2.c | 4 ++-- 3 files

[PATCH v2 net-next 03/11] qed*: Change hwfn used for sb initialization

2019-05-26 Thread Michal Kalderon
When initializing status blocks use the affined hwfn instead of the leading one for RDMA / Storage Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c| 3 +- drivers/net/ethernet/qlogic/qed/qed_main.c | 47

RE: [EXT] Re: [PATCH net-next 07/10] qed*: Add iWARP 100g support

2019-05-02 Thread Michal Kalderon
> From: Leon Romanovsky > Sent: Thursday, May 2, 2019 3:31 PM > > On Thu, May 02, 2019 at 12:10:39PM +0000, Michal Kalderon wrote: > > > From: Leon Romanovsky > > > Sent: Thursday, May 2, 2019 8:13 AM > > > On Wed, May 01, 2019 at 08:35:22PM -0400, D

RE: [EXT] Re: [PATCH net-next 07/10] qed*: Add iWARP 100g support

2019-05-02 Thread Michal Kalderon
> From: Leon Romanovsky > Sent: Thursday, May 2, 2019 8:13 AM > On Wed, May 01, 2019 at 08:35:22PM -0400, David Miller wrote: > > From: Michal Kalderon > > Date: Wed, 1 May 2019 12:57:19 +0300 > > > > > diff --git a/drivers/infiniband/hw/qedr/main.c >

[PATCH net-next 10/10] qedf: Use hwfns and affin_hwfn_idx to get MSI-X vector index to use

2019-05-01 Thread Michal Kalderon
From: Chad Dupuis MSI-X vector index is determined using qed device information and affinity to use. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap Signed-off-by: Michal Kalderon --- drivers/scsi/qedf/qedf_main.c | 39 --- 1 file changed, 28

[PATCH net-next 02/10] qed: Add llh ppfid interface and 100g support for offload protocols

2019-05-01 Thread Michal Kalderon
API enables allocating more filter rules per PF and enables affinitizing protocol packets to a certain engine which enables full 100g protocol offload support. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed.h | 21 +- drivers/net

[PATCH net-next 06/10] qed: Set the doorbell address correctly

2019-05-01 Thread Michal Kalderon
In 100g mode the doorbell bar is united for both engines. Set the correct offset in the hwfn so that the doorbell returned for RoCE is in the affined hwfn. Signed-off-by: Ariel Elior Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dev.c

[PATCH net-next 09/10] qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index

2019-05-01 Thread Michal Kalderon
From: Manish Rangankar MSI-X vector index is determined using qed device information and affinity to use. Signed-off-by: Manish Rangankar Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/scsi/qedi/qedi_main.c | 32 ++-- 1 file changed, 26

[PATCH net-next 04/10] qed: Modify offload protocols to use the affined engine

2019-05-01 Thread Michal Kalderon
: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_fcoe.c | 26 +- drivers/net/ethernet/qlogic/qed/qed_iscsi.c | 35 ++- drivers/net/ethernet/qlogic/qed/qed_ll2.c | 378 +--- drivers/net/ethernet/qlogic/qed/qed_rdma.c | 23 +- 4 files

[PATCH net-next 08/10] Revert "scsi: qedi: Allocate IRQs based on msix_cnt"

2019-05-01 Thread Michal Kalderon
From: Manish Rangankar Always request for number of irqs equals to number of queues. This reverts commit 1a291bce5eaf5374627d337157544aa6499ce34a. Signed-off-by: Manish Rangankar Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/scsi/qedi/qedi_main.c | 2 +- 1 file

[PATCH net-next 05/10] qedr: Change the MSI-X vectors selection to be based on affined engine

2019-05-01 Thread Michal Kalderon
Use the msix vectors of the affined hwfn and not the leading one. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c | 9 +++-- drivers/infiniband/hw/qedr/qedr.h | 2 ++ drivers/net/ethernet/qlogic/qed/qed_ll2.c | 4 ++-- 3 files

[PATCH net-next 01/10] qed: Modify api for performing a dmae to another PF

2019-05-01 Thread Michal Kalderon
requires atomicity in access. Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 5 +-- drivers/net/ethernet/qlogic/qed/qed_debug.c| 2 +- drivers/net/ethernet/qlogic/qed/qed_dev_api.h | 16 ++--- drivers/net/ethernet/qlogic

[PATCH net-next 07/10] qed*: Add iWARP 100g support

2019-05-01 Thread Michal Kalderon
: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c | 22 ++ drivers/net/ethernet/qlogic/qed/qed_rdma.c | 27 +++ include/linux/qed/qed_rdma_if.h| 2 ++ 3 files changed, 51 insertions(+) diff --git a/drivers/infiniband/hw/qedr/main.c

[PATCH net-next 00/10] qed*: Improve performance on 100G link for offload protocols

2019-05-01 Thread Michal Kalderon
ocate IRQs based on msix_cnt" qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index Michal Kalderon (7): qed: Modify api for performing a dmae to another PF qed: Add llh ppfid interface and 100g support for offload protocols qed: Change hwfn used for sb initialization qed: Modi

[PATCH net-next 03/10] qed: Change hwfn used for sb initialization

2019-05-01 Thread Michal Kalderon
When initializing status blocks use the affined hwfn instead of the leading one for RDMA / Storage Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c| 3 +- drivers/net/ethernet/qlogic/qed/qed_main.c | 47