[PATCH net-next 2/2] bnx2x: Add storm FW version to ethtool driver query output.

2018-11-26 Thread Sudarsana Reddy Kalluru
The patch populates the Storm FW version in the ethtool driver query data. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/broadcom/bnx2x

[PATCH net-next 0/2] bnx2x: Popoulate firmware versions in driver info query.

2018-11-26 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series populates MBI and storm firware versions in the ethtool driver info query. Please consider applying it to 'net-next' tree. Sudarsana Reddy Kalluru (2): bnx2x: Add MBI version to ethtool driver query output. bnx2x: Add storm FW version

[PATCH net-next 1/2] bnx2x: Add MBI version to ethtool driver query output.

2018-11-26 Thread Sudarsana Reddy Kalluru
The patch populates the MBI version in the ethtool driver query data. Adding 'extended_dev_info_shared_cfg' structure describing the nvram structure, this is required to access the mbi version string. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- .../net/ethernet

[PATCH net-next v3 0/4] qed* enhancements series

2018-11-26 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series add few enhancements to qed/qede drivers. Changes from previous versions: --- v3: Revert v2 changes as the other paths (i.e. ptp) access the same data in atomic context. v2: Use __set_bit()/__clear_bit() where data

[PATCH net-next v3 2/4] qede: Simplify the usage of qede-flags.

2018-11-26 Thread Sudarsana Reddy Kalluru
e.g., overlap of the values, overflow of 64-bit storage. Updated the implementation to go with approach (2) for qede->flags. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 11 +++ d

[PATCH net-next v3 1/4] qed: Display port_id in the UFP debug messages.

2018-11-26 Thread Sudarsana Reddy Kalluru
-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_mcp.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c b/drivers/net/ethernet/qlogic

[PATCH net-next v3 3/4] qede: Update link status only when interface is ready.

2018-11-26 Thread Sudarsana Reddy Kalluru
driver has already requested MFW for the link. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 1 + drivers/net/ethernet/qlogic/qede/qede_main.c | 8 ++-- 2 files changed, 7 insertions(+), 2

[PATCH net-next v3 4/4] qed: Add support for MBI upgrade over MFW.

2018-11-26 Thread Sudarsana Reddy Kalluru
The patch adds driver support for MBI image update through MFW. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 6 drivers/net/ethernet/qlogic/qed/qed_main.c | 13 +++-- drivers/net

[PATCH net-next v2 2/4] qede: Simplify the usage of qede-flags.

2018-11-23 Thread Sudarsana Reddy Kalluru
e.g., overlap of the values, overflow of 64-bit storage. Updated the implementation to go with approach (2) for qede->flags. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 11 +++ d

[PATCH net-next v2 4/4] qed: Add support for MBI upgrade over MFW.

2018-11-23 Thread Sudarsana Reddy Kalluru
The patch adds driver support for MBI image update through MFW. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 6 drivers/net/ethernet/qlogic/qed/qed_main.c | 13 +++-- drivers/net

[PATCH net-next v2 3/4] qede: Update link status only when interface is ready.

2018-11-23 Thread Sudarsana Reddy Kalluru
driver has already requested MFW for the link. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 1 + drivers/net/ethernet/qlogic/qede/qede_main.c | 8 ++-- 2 files changed, 7 insertions(+), 2

[PATCH net-next v2 1/4] qed: Display port_id in the UFP debug messages.

2018-11-23 Thread Sudarsana Reddy Kalluru
-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_mcp.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c b/drivers/net/ethernet/qlogic

[PATCH net-next v2 0/4] qed* enhancements series

2018-11-23 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series add few enhancements to qed/qede drivers. Changes from previous versions: --- v2: Use __set_bit()/__clear_bit() where data access doesn't need to be atomic. Please consider applying it to "net-next".

[PATCH net-next 0/4] qed* enhancements series

2018-11-22 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series add few enhancements to qed/qede drivers. Please consider applying it to "net-next". Sudarsana Reddy Kalluru (4): qed: Display port_id in the UFP debug messages. qede: Simplify the usage of qede-flags. qede: Update link status

[PATCH net-next 4/4] qed: Add support for MBI upgrade over MFW.

2018-11-22 Thread Sudarsana Reddy Kalluru
The patch adds driver support for MBI image update through MFW. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 6 drivers/net/ethernet/qlogic/qed/qed_main.c | 13 +++-- drivers/net

[PATCH net-next 3/4] qede: Update link status only when interface is ready.

2018-11-22 Thread Sudarsana Reddy Kalluru
driver has already requested MFW for the link. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 1 + drivers/net/ethernet/qlogic/qede/qede_main.c | 8 ++-- 2 files changed, 7 insertions(+), 2

[PATCH net-next 2/4] qede: Simplify the usage of qede-flags.

2018-11-22 Thread Sudarsana Reddy Kalluru
e.g., overlap of the values, overflow of 64-bit storage. Updated the implementation to go with approach (2) for qede->flags. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede.h | 11 +++ d

[PATCH net-next 1/4] qed: Display port_id in the UFP debug messages.

2018-11-22 Thread Sudarsana Reddy Kalluru
-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_mcp.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c b/drivers/net/ethernet/qlogic

[PATCH net v2 1/1] bnx2x: Assign unique DMAE channel number for FW DMAE transactions.

2018-11-11 Thread Sudarsana Reddy Kalluru
dmae_id '13' to the FW. Changes from previous version: -- v2: Incorporated the review comments. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h| 7 +++ drivers/net/ethernet/broadcom/bnx2x

[PATCH net 1/1] bnx2x: Assign unique DMAE channel number for FW DMAE transactions.

2018-11-09 Thread Sudarsana Reddy Kalluru
dmae_id '13' to the FW. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 7 +++ drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 3 +++ drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 1 + drivers/net/ethernet

[PATCH net-next 1/1] qed: Add support for virtual link.

2018-10-10 Thread Sudarsana Reddy Kalluru
of the physical link. The patch adds driver support for, - Advertising the virtual link support to MFW. - Handling the virtual link notification from MFW. Please consider applying it to 'net-next'. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Tomer Tayar --- drivers/net/ethernet/qlogic/qed

[PATCH net-next 2/2] qede: Add driver support for 20G link speed.

2018-10-02 Thread Sudarsana Reddy Kalluru
Add driver support for reading/configuring the 20G link speed via ethtool. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qede

[PATCH net-next 1/2] qed: Add driver support for 20G link speed.

2018-10-02 Thread Sudarsana Reddy Kalluru
Add driver support for configuring/reading the 20G link speed. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dev.c | 3 +++ drivers/net/ethernet/qlogic/qed/qed_hsi.h | 2 ++ drivers/net/ethernet/qlogic/qed/qed_main.c | 11

[PATCH net-next 0/2] qed*: Driver support for 20G link speed.

2018-10-02 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series adds driver support for configuring/reading the 20G link speed. Please consider applying this to "net-next". Sudarsana Reddy Kalluru (2): qed: Add driver support for 20G link speed. qede: Add driver support for 20G link speed. d

[PATCH net 1/1] qed: Fix shmem structure inconsistency between driver and the mfw.

2018-09-27 Thread Sudarsana Reddy Kalluru
reserved field(s) to driver structure for the members not used by the driver. Fixes: dd006921d ("qed: Add MFW interfaces for TLV request support.) Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 1 + 1 file changed, 1 inse

[PATCH 1/1] Update maintainers for bnx2/bnx2x/qlge/qlcnic drivers.

2018-09-26 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ameen Rahman --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 15565de..e941d1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2956,7 +2956,6 @@ F:include/linux

[PATCH net 2/3] qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.

2018-09-19 Thread Sudarsana Reddy Kalluru
("qed: Add support for Unified Fabric Port") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Tomer Tayar --- drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 9 - drivers/net/ethernet/qlogic/qed/qed_dcbx.h | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH net 0/3] qed: Fix series for multi-function mode implementation.

2018-09-19 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series addresses few issues in the switch dependent multi-function modes. Please consider applying it to 'net' tree. Sudarsana Reddy Kalluru (3): qed: Fix populating the invalid stag value in multi function mode. qed: Do not add VLAN 0 tag

[PATCH net 3/3] qed: Add missing device config for RoCE EDPM in UFP mode.

2018-09-19 Thread Sudarsana Reddy Kalluru
This patch adds support to configure the DORQ to use vlan-id/priority for roce EDPM. Fixes: cac6f691 ("qed: Add support for Unified Fabric Port") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Tomer Tayar --- drivers/net/ethernet/qlogic/qed/qed_dcbx.

[PATCH net 1/3] qed: Fix populating the invalid stag value in multi function mode.

2018-09-19 Thread Sudarsana Reddy Kalluru
value during the driver load time. Fixes: cac6f691 ("qed: Add support for Unified Fabric Port") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Tomer Tayar --- drivers/net/ethernet/qlogic/qed/qed_dev.c | 15 ++- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 4 2 fil

[PATCH net-next 1/1] qed: Lower the severity of a dcbx log message.

2018-08-31 Thread Sudarsana Reddy Kalluru
to verbose level as it's not an error scenario/message. Signed-off-by: Sudarsana Reddy Kalluru --- drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_dcbx.c b/drivers/net/ethernet/qlogic/qed/qed_dcbx.c

[PATCH net 1/1] bnx2x: Fix invalid memory access in rss hash config path.

2018-07-24 Thread Sudarsana Reddy Kalluru
will be cached in the driver structure which will be applied in the successive load path. Please consider applying it to 'net' branch. Signed-off-by: Sudarsana Reddy Kalluru --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff

[PATCH net 1/3] qed: Fix link flap issue due to mismatching EEE capabilities.

2018-07-18 Thread Sudarsana Reddy Kalluru
modified to not to ask MFW for any EEE config if EEE isn't to be enabled. Fixes: 645874e5 ("qed: Add support for Energy efficient ethernet.") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_

[PATCH net 3/3] qed: Correct Multicast API to reflect existence of 256 approximate buckets.

2018-07-18 Thread Sudarsana Reddy Kalluru
FW hsi contains 256 approximation buckets which are split in ramrod into eight u32 values, but driver is using eight 'unsigned long' variables. This patch fixes the mcast logic by making the API utilize u32. Fixes: 83aeb933 ("qed*: Trivial modifications") Signed-off-by: Sudarsana Red

[PATCH net 0/3] qed: Fix series II.

2018-07-18 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series fixes few issues in the qed driver. Please consider applying it to 'net' branch. Sudarsana Reddy Kalluru (3): qed: Fix link flap issue due to mismatching EEE capabilities. qed: Fix possible race for the link state value. qed: Correct

[PATCH net 2/3] qed: Fix possible race for the link state value.

2018-07-18 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_mcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c b/drivers/net/ethernet/qlogic/qed/qed_mcp.c index fcd346

[PATCH net-next 2/2] qede: Add driver callbacks for eeprom module query.

2018-07-18 Thread Sudarsana Reddy Kalluru
This patch implements the ethtool callbacks for querying sfp/eeprom module. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/net/ethernet

[PATCH net-next 1/2] qed: Add qed APIs for PHY module query.

2018-07-18 Thread Sudarsana Reddy Kalluru
This patch adds qed APIs for reading the PHY module. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed/qed_hsi.h | 16 ++ drivers/net/ethernet/qlogic/qed/qed_main.c | 23 ++ drivers/net/ethernet/qlogic/qed/qed_mcp.c | 49

[PATCH net-next 0/2] qed*: Add support for phy module query.

2018-07-18 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series adds driver support for querying the PHY module's eeprom data. Please consider applying it to 'net-next'. Sudarsana Reddy Kalluru (2): qed: Add qed APIs for PHY module query. qede: Add driver callbacks for eeprom module query. drivers/net

[PATCH net 2/4] qed: Fix setting of incorrect eswitch mode.

2018-07-01 Thread Sudarsana Reddy Kalluru
aults") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dev.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_sriov.c | 19 +-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/

[PATCH net 3/4] qed: Fix use of incorrect size in memcpy call.

2018-07-01 Thread Sudarsana Reddy Kalluru
Use the correct size value while copying chassis/port id values. Fixes: 6ad8c632e ("qed: Add support for query/config dcbx.") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 8 1 file changed, 4 insert

[PATCH net 4/4] qede: Adverstise software timestamp caps when PHC is not available.

2018-07-01 Thread Sudarsana Reddy Kalluru
When ptp clock is not available for a PF (e.g., higher PFs in NPAR mode), get-tsinfo() callback should return the software timestamp capabilities instead of returning the error. Fixes: 4c55215c ("qede: Add driver support for PTP") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-

[PATCH net 1/4] qed: Limit msix vectors in kdump kernel to the minimum required count.

2018-07-01 Thread Sudarsana Reddy Kalluru
engine). Fixes: fe56b9e6a ("qed: Add module with basic common support") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_main.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qed/qed

[PATCH net 0/4] qed*: Fix series.

2018-07-01 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series addresses few issues in the qed* drivers. Please consider applying it to 'net' branch. Sudarsana Reddy Kalluru (4): qed: Limit msix vectors in kdump kernel to the minimum required count. qed: Fix setting of incorrect eswitch mode. qed: Fix

[PATCH net 1/1] bnx2x: Fix receiving tx-timeout in error or recovery state.

2018-06-28 Thread Sudarsana Reddy Kalluru
this issue by indicating the link-down to OS when tx-timeout is detected, and keeping the link in down state till the internal reload is successful. Please consider applying it to 'net' branch. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/broadcom

[PATCH net 1/3] qed: Fix possible memory leak in Rx error path handling.

2018-06-18 Thread Sudarsana Reddy Kalluru
the PFs. For foce PF, this meant they were routed to the ll2 module which in turn drops such packets. Fixes: 0a7fb11c ("qed: Add Light L2 support") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_

[PATCH net 3/3] qed: Do not advertise DCBX_LLD_MANAGED capability.

2018-06-18 Thread Sudarsana Reddy Kalluru
("qed: Add dcbnl support.") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior Signed-off-by: Michal Kalderon --- drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/

[PATCH net 2/3] qed: Add sanity check for SIMD fastpath handler.

2018-06-18 Thread Sudarsana Reddy Kalluru
Avoid calling a SIMD fastpath handler if it is NULL. The check is needed to handle an unlikely scenario where unsolicited interrupt is destined to a PF in INTa mode. Fixes: fe56b9e6a ("qed: Add module with basic common support") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: A

[PATCH net 0/3] qed*: Fix series.

2018-06-18 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru The patch series fixes few issues in the qed/qede drivers. Please consider applying this series to "net". Sudarsana Reddy Kalluru (3): qed: Fix possible memory leak in Rx error path handling. qed: Add sanity check for SIMD fastpath handler.

[PATCH net-next v2 2/2] qed: Fix use of incorrect shmem address.

2018-05-31 Thread Sudarsana Reddy Kalluru
Incorrect shared memory address is used while deriving the values for tc and pri_type. Use shmem address corresponding to 'oem_cfg_func' where the management firmare saves tc/pri_type values. Fixes: cac6f691 ("qed: Add support for Unified Fabric Port") Signed-off-by: Sudarsana Red

[PATCH net-next v2 1/2] qed: Fix shared memory inconsistency between driver and the MFW.

2018-05-31 Thread Sudarsana Reddy Kalluru
The structure shared between driver and management firmware (MFW) differ in sizes. The additional field defined by the MFW is not relevant to the current driver. Add a dummy field to the structure. Fixes: cac6f691 ("qed: Add support for Unified Fabric Port") Signed-off-by: Sudarsana Red

[PATCH net-next v2 0/2] qed: Fix issues in UFP feature commit 'cac6f691'.

2018-05-31 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru This patch series fixes couple of issues in the UFP feature commit, cac6f691: Add support for Unified Fabric Port. Changes from previous version: -- v2: Added "Fixes:" tag. Please consider applying it to "net-next&quo

[PATCH net-next 2/2] qed: Fix use of incorrect shmem address.

2018-05-31 Thread Sudarsana Reddy Kalluru
Incorrect shared memory address is used while deriving the values for tc and pri_type. Use shmem address corresponding to 'oem_cfg_func' where the management firmare saves tc/pri_type values. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed

[PATCH net-next 0/2] qed: Fix issues in UFP feature commit 'cac6f691'.

2018-05-31 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru This patch series fixes couple of issues in the UFP feature commit, cac6f691: Add support for Unified Fabric Port. Please consider applying it to "net-next". Sudarsana Reddy Kalluru (2): qed: Fix shared memory inconsistency between driver and the

[PATCH net-next 1/2] qed: Fix shared memory inconsistency between driver and the MFW.

2018-05-31 Thread Sudarsana Reddy Kalluru
The structure shared between driver and management firmware (MFW) differ in sizes. The additional field defined by the MFW is not relevant to the current driver. Add a dummy field to the structure. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet

[PATCH net-next 1/1] qed*: Add link change count value to ethtool statistics display.

2018-05-29 Thread Sudarsana Reddy Kalluru
This patch adds driver changes for capturing the link change count in ethtool statistics display. Please consider applying this to "net-next". Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 12 ++-- d

[PATCH net-next v2 1/1] bnx2x: Collect the device debug information during Tx timeout.

2018-05-24 Thread Sudarsana Reddy Kalluru
to allow the Tx-timeout recovery a chance to succeed. Changes from previous version: --- v2: Fixed a coding error. Please consider applying this to "net-next". Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> --- drivers/net/etherne

[PATCH net-next 1/1] bnx2x: Collect the device debug information during Tx timeout.

2018-05-24 Thread Sudarsana Reddy Kalluru
to allow the Tx-timeout recovery a chance to succeed. Please consider applying this to "net-next". Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[PATCH net-next v2 08/10] qedf: Add get_generic_tlv_data handler.

2018-05-22 Thread Sudarsana Reddy Kalluru
From: Chad Dupuis Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf.h | 1 + drivers/scsi/qedf/qedf_main.c | 17 + 2 files changed, 18 insertions(+) diff --git a/drivers/scsi/qedf/qedf.h b/drivers/scsi/qedf/qedf.h index

[PATCH net-next v2 07/10] qedf: Add support for populating ethernet TLVs.

2018-05-22 Thread Sudarsana Reddy Kalluru
From: Chad Dupuis This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf.h | 6 +++ drivers/scsi/qedf/qedf_debugfs.c | 1 - drivers/scsi/qedf/qedf_io.c | 11

[PATCH net-next v2 06/10] qede: Add support for populating ethernet TLVs.

2018-05-22 Thread Sudarsana Reddy Kalluru
This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 101 +++ 1

[PATCH net-next v2 02/10] qed: Add support for tlv request processing.

2018-05-22 Thread Sudarsana Reddy Kalluru
the TLV values. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/Makefile | 2 +- drivers/net/ethernet/qlogic/qed/qed.h | 5 + drivers/net/ethernet/qlogic/qe

[PATCH net-next v2 04/10] qed: Add support for processing iscsi tlv request.

2018-05-22 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_mcp.h | 4 +- drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c | 131 ++ include/linux/

[PATCH net-next v2 03/10] qed: Add support for processing fcoe tlv request.

2018-05-22 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_mcp.h | 4 +- drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c | 828 ++ include/linux/

[PATCH net-next v2 05/10] qed: Add driver infrastucture for handling mfw requests.

2018-05-22 Thread Sudarsana Reddy Kalluru
driver. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 8 ++ drivers/net/ethernet/qlogic/qed/qed_main.c | 151 - drivers/net/etherne

[PATCH net-next v2 10/10] qedi: Add get_generic_tlv_data handler.

2018-05-22 Thread Sudarsana Reddy Kalluru
From: Manish Rangankar Signed-off-by: Manish Rangankar --- drivers/scsi/qedi/qedi_main.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index

[PATCH net-next v2 09/10] qedi: Add support for populating ethernet TLVs.

2018-05-22 Thread Sudarsana Reddy Kalluru
From: Manish Rangankar This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Manish Rangankar --- drivers/scsi/qedi/qedi.h | 3 + drivers/scsi/qedi/qedi_iscsi.h | 6 ++

[PATCH net-next v2 00/10] qed*: Add support for management firmware TLV request.

2018-05-22 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Management firmware (MFW) requires config and state information from the driver. It queries this via TLV (type-length-value) request wherein mfw specificies the list of required TLVs. Driver fills the TLV data and responds back

[PATCH net-next v2 01/10] qed: Add MFW interfaces for TLV request support.

2018-05-22 Thread Sudarsana Reddy Kalluru
The patch adds required management firmware (MFW) interfaces such as mailbox commands, TLV types etc. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed

[PATCH net-next 8/8] qedi: Add get_generic_tlv_data handler.

2018-05-21 Thread Sudarsana Reddy Kalluru
From: Manish Rangankar Signed-off-by: Manish Rangankar --- drivers/scsi/qedi/qedi_main.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index

[PATCH net-next 5/8] qedf: Add support for populating ethernet TLVs.

2018-05-21 Thread Sudarsana Reddy Kalluru
From: Chad Dupuis This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf.h | 6 +++ drivers/scsi/qedf/qedf_debugfs.c | 1 - drivers/scsi/qedf/qedf_io.c | 11

[PATCH net-next 6/8] qedf: Add get_generic_tlv_data handler.

2018-05-21 Thread Sudarsana Reddy Kalluru
From: Chad Dupuis Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf.h | 1 + drivers/scsi/qedf/qedf_main.c | 17 + 2 files changed, 18 insertions(+) diff --git a/drivers/scsi/qedf/qedf.h b/drivers/scsi/qedf/qedf.h index

[PATCH net-next 7/8] qedi: Add support for populating ethernet TLVs.

2018-05-21 Thread Sudarsana Reddy Kalluru
From: Manish Rangankar This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Manish Rangankar --- drivers/scsi/qedi/qedi.h | 3 + drivers/scsi/qedi/qedi_iscsi.h | 6 ++

[PATCH net-next 4/8] qede: Add support for populating ethernet TLVs.

2018-05-21 Thread Sudarsana Reddy Kalluru
This patch adds callbacks for providing the ethernet protocol driver TLVs. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 101 +++ 1

[PATCH net-next 1/8] qed: Add MFW interfaces for TLV request support.

2018-05-21 Thread Sudarsana Reddy Kalluru
The patch adds required management firmware (MFW) interfaces such as mailbox commands, TLV types etc. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed

[PATCH net-next 2/8] qed: Add support for tlv request processing.

2018-05-21 Thread Sudarsana Reddy Kalluru
the TLV values. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/Makefile |2 +- drivers/net/ethernet/qlogic/qed/qed.h |5 + drivers/net/ethernet/qlogic/qe

[PATCH net-next 3/8] qed: Add driver infrastucture for handling mfw requests.

2018-05-21 Thread Sudarsana Reddy Kalluru
driver. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 8 ++ drivers/net/ethernet/qlogic/qed/qed_main.c | 151 - drivers/net/etherne

[PATCH net-next 0/8] qed*: Add support for management firmware TLV request.

2018-05-21 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Management firmware (MFW) requires config and state information from the driver. It queries this via TLV (type-length-value) request wherein mfw specificies the list of required TLVs. Driver fills the TLV data and responds back

[PATCH net-next 3/4] qed: Add support for multi function mode with 802.1ad tagging.

2018-05-05 Thread Sudarsana Reddy Kalluru
The patch adds support for new Multi function mode wherein the traffic classification is done based on the 802.1ad tagging and the outer vlan tag provided by the management firmware. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <

[PATCH net-next 2/4] qed: Remove unused data member 'is_mf_default'.

2018-05-05 Thread Sudarsana Reddy Kalluru
The data member 'is_mf_default' is not used by the qed/qede drivers, removing the same. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_main.c | 2 -- include/linux/

[PATCH net-next 4/4] qed: Add support for Unified Fabric Port.

2018-05-05 Thread Sudarsana Reddy Kalluru
and configures the hardware accordingly. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 20 ++ drivers/net/ethernet/qlogic/qed/qed_dcbx.c| 14 +++-

[PATCH net-next 1/4] qed*: Refactor mf_mode to consist of bits.

2018-05-05 Thread Sudarsana Reddy Kalluru
for modes which are derived according to the mode info shared by the MFW and all the configuration would be made according to those. To add a new mode, there would be a single place where we'll need to go and choose which bits apply and which don't. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.k

[PATCH net-next 0/4] qed*: Add support for new multi partitioning modes.

2018-05-05 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> The patch series simplifies the multi function (MF) mode implementation of qed/qede drivers, and adds support for new MF modes. Please consider applying it to net-next branch. Sudarsana Reddy Kalluru (4): qed*: Refactor m

[PATCH net-next v3 5/5] qede: Ethtool flash update support.

2018-03-28 Thread Sudarsana Reddy Kalluru
The patch adds ethtool callback implementation for flash update. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 9 + 1 file changed, 9 inserti

[PATCH net-next v3 4/5] qed: Adapter flash update support.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds the required driver support for updating the flash or non volatile memory of the adapter. At highlevel, flash upgrade comprises of reading the flash images from the input file, validating the images and writing them to the respective paritions. Signed-off-by: Sudarsana Reddy

[PATCH net-next v3 2/5] qed: Fix PTT entry leak in the selftest error flow.

2018-03-28 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_selftest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_s

[PATCH net-next v3 0/5] qed*: Flash upgrade support.

2018-03-28 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> The patch series adds adapter flash upgrade support for qed/qede drivers. Please consider applying it to net-next branch. Sudarsana Reddy Kalluru (5): qed: Populate nvm image attribute shadow. qed: Fix PTT entr

[PATCH net-next v3 3/5] qed: Add APIs for flash access.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds APIs for flash access. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 7 ++ drivers/net/ethernet/qlogic/qed/qed_hsi.h | 7 +- drivers/net/eth

[PATCH net-next v3 1/5] qed: Populate nvm image attribute shadow.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds support for populating the flash image attributes. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 8 +++ drivers/net/ethernet/qlogic/q

[PATCH net-next v2 4/5] qed: Adapter flash update support.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds the required driver support for updating the flash or non volatile memory of the adapter. At highlevel, flash upgrade comprises of reading the flash images from the input file, validating the images and writing them to the respective paritions. Signed-off-by: Sudarsana Reddy

[PATCH net-next v2 5/5] qede: Ethtool flash update support.

2018-03-28 Thread Sudarsana Reddy Kalluru
The patch adds ethtool callback implementation for flash update. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 9 + 1 file changed, 9 inserti

[PATCH net-next v2 3/5] qed: Add APIs for flash access.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds APIs for flash access. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 7 ++ drivers/net/ethernet/qlogic/qed/qed_hsi.h | 7 +- drivers/net/eth

[PATCH net-next v2 1/5] qed: Populate nvm image attribute shadow.

2018-03-28 Thread Sudarsana Reddy Kalluru
This patch adds support for populating the flash image attributes. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 8 +++ drivers/net/ethernet/qlogic/q

[PATCH net-next v2 2/5] qed: Fix PTT entry leak in the selftest error flow.

2018-03-28 Thread Sudarsana Reddy Kalluru
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_selftest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_s

[PATCH net-next v2 0/5] qed*: Flash upgrade support.

2018-03-28 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> The patch series adds adapter flash upgrade support for qed/qede drivers. Please consider applying it to net-next branch. Sudarsana Reddy Kalluru (5): qed: Populate nvm image attribute shadow. qed: Fix PTT entr

[PATCH net-next 1/4] qed: Populate nvm image attribute shadow.

2018-03-26 Thread Sudarsana Reddy Kalluru
This patch add support for populating the flash image attributes. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 8 +++ drivers/net/ethernet/qlogic/qed/qed_dev.c | 19 - drivers/net/ethernet/qlog

[PATCH net-next 4/4] qede: Ethtool flash update support.

2018-03-26 Thread Sudarsana Reddy Kalluru
The patch adds ethtool callback implementation for flash update. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qede/qede_eth

[PATCH net-next 3/4] qed: Adapter flash update support.

2018-03-26 Thread Sudarsana Reddy Kalluru
This patch adds the required driver support for updating the flash or non volatile memory of the adapter. At highlevel, flash upgrade comprises of reading the flash images from the input file, validating the images and writing it to the respective paritions. Signed-off-by: Sudarsana Reddy Kalluru

[PATCH net-next 0/4] qed*: Flash upgrade support.

2018-03-26 Thread Sudarsana Reddy Kalluru
From: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> The patch series adds adapter flash upgrade support for qed/qede drivers. Please consider applying it to net-next branch. Sudarsana Reddy Kalluru (4): qed: Populate nvm image attribute shadow. qed: Add APIs for flash access.

[PATCH net-next 2/4] qed: Add APIs for flash access.

2018-03-26 Thread Sudarsana Reddy Kalluru
This patch adds APIs for flash access. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kall...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 7 ++ drivers/net/ethernet/qlogic/qed/qed_hsi.h | 7 +- drivers/net/ethernet/qlogic/qed/qed_mcp.c

  1   2   >