[dpdk-dev] [PATCH 02/25] net/qede/base: improve set field macro

2016-12-03 Thread Rasesh Mody
Improve robustness of the SET_FIELD macro by using a mask. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h index 90

[dpdk-dev] [PATCH 24/25] net/qede/base: dcbx changes for base driver

2016-12-03 Thread Rasesh Mody
query for VF interfaces - Semantic changes Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore.h | 3 + drivers/net/qede/base/ecore_dcbx.c | 375 ++--- drivers/net/qede/base/ecore_dcbx_api.h | 1 + drivers/n

[dpdk-dev] [PATCH 23/25] net/qede/base: semantic/formatting changes

2016-12-03 Thread Rasesh Mody
This patch consists of semantic/formatting changes. It also includes comment additions. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/common_hsi.h | 5 +- drivers/net/qede/base/ecore_dev.c| 53 --- drivers/net/qede/base/ecore_hsi_co

[dpdk-dev] [PATCH 18/25] net/qede/base: add support for external PHY

2016-12-03 Thread Rasesh Mody
Add support for external PHY BCM8485x. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_mcp.c | 6 +-- drivers/net/qede/base/mcp_public.h | 88 -- 2 files changed, 87 insertions(+), 7 deletions(-) diff --git a/drive

[dpdk-dev] [PATCH 17/25] net/qede/base: retrieve FW crash dump info

2016-12-03 Thread Rasesh Mody
Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_dev.c | 18 +++--- drivers/net/qede/base/ecore_dev_api.h | 4 +-- drivers/net/qede/base/ecore_mcp.c | 66 ++- drivers/net/qede/base/ecore_mcp.h | 22

[dpdk-dev] [PATCH 3/8] net/qede/base: fix multiple acquisition requests by VF

2016-12-02 Thread Rasesh Mody
There are certain conditions under which VF would infinitely send ACQUIRE messages, as it will fail to understand that PF has rejected the ACQUIRE request. Fix to reject multiple acquisition requests by VF. Fixes: 22d07d93 ("net/qede/base: update") Signed-off-by: Rasesh Mody

[dpdk-dev] [PATCH 1/8] net/qede: fix to get vendor/device id info

2016-12-02 Thread Rasesh Mody
Fixes: ec94dbc5 ("qede: add base driver") Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/qede_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 9c2a5eae..b9a325df 1006

[dpdk-dev] [PATCH 6/8] net/qede/base: fix Rx queue access by malicious VFs

2016-12-02 Thread Rasesh Mody
8.10.x.x was supposed to prevent malicious VFs from using out-of-bound queue indices, but apparently Rx queue access is still done prior to the index being validated by PF. Fixes: 98bc693e ("net/qede/base: change queue start") Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com>

[dpdk-dev] [PATCH 25/25] net/qede: update PMD version to 2.0.0.1

2016-12-03 Thread Rasesh Mody
Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/qede_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h index 9701d736..be54f31e 100644 --- a/drivers/net/qede/qede_ethdev.h

[dpdk-dev] [PATCH 07/25] net/qede/base: add check to validate txq

2016-12-03 Thread Rasesh Mody
Make sure VF tx_qid and the status block index is in the allocated range, else fail the request. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_sriov.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/d

[dpdk-dev] [PATCH 08/25] net/qede/base: fix updating VF queue zone id

2016-12-03 Thread Rasesh Mody
Pass the absolute qzone_id when creating queues. Fixes: 5cdd769a ("qede: add L2 support") Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_dev.c| 9 ++--- drivers/net/qede/base/ecore_l2.c | 10 +- drivers/net/qede/base/eco

[dpdk-dev] [PATCH 05/25] net/qede/base: make API non-static

2016-12-03 Thread Rasesh Mody
Move ecore_set_fw_mac_addr from ecore_l2.c to ecore_dev.c to facilitate future code reuse. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore.h | 2 ++ drivers/net/qede/base/ecore_dev.c | 13 + drivers/net/qede/base/ecore_l2.c

[dpdk-dev] [PATCH 14/25] net/qede/base: add macros for converting pointer

2016-12-03 Thread Rasesh Mody
Add macros PTR_LO and PTR_HI (for converting pointer to HI and LOW bits for passing to FW hsi handles). Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_utils.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/qede/base/ecore_util

[dpdk-dev] [PATCH 13/25] net/qede/base: add new enum member to status codes

2016-12-03 Thread Rasesh Mody
Add ECORE_CONN_RESET to enum ecore_status. Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/qede/base/ecore_status.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/qede/base/ecore_status.h b/drivers/net/qede/base/ecore_status.h index 6277bc80..c77ec260

[dpdk-dev] [PATCH v3 10/11] config: Enable BNX2X driver build by default

2015-12-03 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, November 24, 2015 6:26 AM > > We still have a compilation error when zlib.h is missing. > Please keep it disabled until we have a solution (probably a "configure" > script). Just to clarify - are you planning to have a

[dpdk-dev] [PATCH v3 10/11] config: Enable BNX2X driver build by default

2015-12-03 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, December 02, 2015 5:30 PM > > 2015-12-03 00:54, Rasesh Mody: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > Sent: Tuesday, November 24, 2015 6:26 AM > >

[dpdk-dev] [PATCH v3 10/11] config: Enable BNX2X driver build by default

2015-12-08 Thread Rasesh Mody
Hi Thomas, > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, November 24, 2015 6:26 AM > > We still have a compilation error when zlib.h is missing. > Please keep it disabled until we have a solution (probably a "configure" > script). We'll split the patch set so

[dpdk-dev] [PATCH v4 0/9] bnx2x: Enhancement, fixes, licensing and doumentation

2015-12-10 Thread Rasesh Mody
at 1.0.0. Please apply. Thanks! Harish Patil (3): bnx2x: Update VF to support newer PF drivers bnx2x: Fix x86_64-native-linuxapp-clang build error bnx2x: Add periodic debug option Rasesh Mody (6): doc: Add BNX2X PMD documentation bnx2x: Add LICENSE.bnx2x_pmd and update source files

[dpdk-dev] [PATCH v4 1/9] bnx2x: Update VF to support newer PF drivers

2015-12-10 Thread Rasesh Mody
From: Harish Patil SR-IOV is supported using bnx2x poll mode driver running as VF driver and native linux driver running as PF (in host/hypervisor). There is no issue while running with the PF driver which is at the base version as that of PMD. However, there is a

[dpdk-dev] [PATCH v4 2/9] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-12-10 Thread Rasesh Mody
From: Harish Patil Fix for the following clang build error: drivers/net/bnx2x/elink.c:10384:41: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value] vars->eee_status &= ~SHMEM_EEE_1G_ADV <<

[dpdk-dev] [PATCH v4 3/9] bnx2x: Add periodic debug option

2015-12-10 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> The periodic debug option is used to collect periodic events like statistics, register access etc and won't interfere with user-level messages. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp

[dpdk-dev] [PATCH v4 4/9] doc: Add BNX2X PMD documentation

2015-12-10 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- MAINTAINERS |1 + doc/guides/nics/bnx2x.rst | 314 + doc/guides/nics/index.rst |1 + 3 files changed, 316 insertions(+) create mode 100644 doc/guides/nics/bnx2x.rst

[dpdk-dev] [PATCH v4 5/9] bnx2x: Add LICENSE.bnx2x_pmd and update source files

2015-12-10 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/LICENSE.bnx2x_pmd | 28 drivers/net/bnx2x/bnx2x.c | 29 - drivers/net/bnx2x/bnx2x.h | 29 - drivers/net/bnx2x/bnx2x_ethdev.c|4

[dpdk-dev] [PATCH v4 6/9] bnx2x: FreeBSD enablement

2015-12-10 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst|8 drivers/net/bnx2x/bnx2x.c|9 + drivers/net/bnx2x/bnx2x.h| 36 +++- drivers/net/bnx2x/ecore_sp.h | 18 ++ 4 files changed, 46

[dpdk-dev] [PATCH v4 7/9] bnx2x: Linux 32bit enablement

2015-12-10 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst|8 drivers/net/bnx2x/bnx2x.h| 12 ++-- drivers/net/bnx2x/bnx2x_ethdev.c |2 +- drivers/net/bnx2x/bnx2x_rxtx.c | 11 +++ drivers/net/bnx2x/bnx2x_vfpf.c |4 ++-- 5

[dpdk-dev] [PATCH v4 8/9] maintainers: Add maintainers for BNX2X PMD

2015-12-10 Thread Rasesh Mody
Add maintainers for BNX2X PMD. Add file path to BNX2X PMD guide. Signed-off-by: Rasesh Mody --- MAINTAINERS |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8b406b2..e97d0f5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -329,7 +329,10

[dpdk-dev] [PATCH v4 9/9] bnx2x: Add BNX2X PMD versioning

2015-12-10 Thread Rasesh Mody
Add BNX2X PMD version, print it as part of adapter info. Adjusted print adapter info output formatting. This patch versions BNX2X PMD at 1.0.0. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 101 + 1 file changed, 65 insertions(+), 36

[dpdk-dev] [PATCH 1/2] bnx2x: Fix error check in TX path

2015-12-11 Thread Rasesh Mody
Correct the error check in PMD transmit routine. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x_rxtx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c index 0f8b9bd..ccece43 100644 --- a/drivers/net

[dpdk-dev] [PATCH 2/2] bnx2x: Skip RX producer refresh when pkts not received

2015-12-11 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x_rxtx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c index ccece43..28bc520 100644 --- a/drivers/net/bnx2x/bnx2x_rxtx.c +++ b/drivers/net/bnx2x/bnx2x_rxtx.c

[dpdk-dev] [PATCH 1/2] qede: rename config option

2016-06-03 Thread Rasesh Mody
Thanks! > From: Bruce Richardson [mailto:bruce.richardson at intel.com] > Sent: Friday, June 03, 2016 8:02 AM > > On Mon, May 30, 2016 at 03:38:41PM +0100, Bruce Richardson wrote: > > On Fri, May 06, 2016 at 09:21:30PM -0700, Rasesh Mody wrote: > > > Renam

[dpdk-dev] [PATCH 0/9] qede: update qede PMD to 1.1.0.1

2016-06-07 Thread Rasesh Mody
> From: Bruce Richardson [mailto:bruce.richardson at intel.com] > Sent: Tuesday, June 07, 2016 5:47 AM > To: Rasesh Mody > Cc: dev at dpdk.org; Dept-Eng DPDK Dev > Subject: Re: [PATCH 0/9] qede: update qede PMD to 1.1.0.1 > > On Mon, May 23, 2016 at 12:56:50AM +, Rase

[dpdk-dev] [PATCH v2 0/9] qede: update qede PMD to 1.1.0.1

2016-06-15 Thread Rasesh Mody
The changes include enablement of vf-vf traffic and updated the driver version to 8.7.9.0_1.1.0.1 The patches have been generated and tested against dpdk-next-net rel_16_07 branch. Please apply! Harish Patil (2): qede: add 100g mode support qede: update version to 8.7.9.0_1.1.0.1 Rasesh Mody (1

[dpdk-dev] [PATCH v2 1/9] qede: add support for setting hash configuration

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Add support for setting hash configuration based on adapter capability and update corresponding NIC documentation. Signed-off-by: Sony Chacko --- doc/guides/nics/overview.rst |2 +- doc/guides/nics/qede.rst |3 +--

[dpdk-dev] [PATCH v2 2/9] qede: add support for getting rss hash configuration

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Adding support to get rss hash configuration. Signed-off-by: Sony Chacko --- drivers/net/qede/qede_ethdev.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v2 3/9] qede: add support for setting rss redirection table

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Add support to configure rss redirection table and update corresponding documentation. Signed-off-by: Sony Chacko --- doc/guides/nics/overview.rst |2 +- drivers/net/qede/qede_ethdev.c | 36 2 files

[dpdk-dev] [PATCH v2 4/9] qede: add support for querying rss redirection table

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Add support for querying rss redirection table. Signed-off-by: Sony Chacko --- drivers/net/qede/qede_ethdev.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v2 5/9] qede: add support for setting the MTU

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Add support for setting the MTU. Signed-off-by: Sony Chacko --- drivers/net/qede/qede_ethdev.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v2 6/9] qede: add support for xstats

2016-06-15 Thread Rasesh Mody
This patch adds support for extended statistics for QEDE PMD. Signed-off-by: Rasesh Mody --- doc/guides/nics/overview.rst |2 +- drivers/net/qede/qede_ethdev.c | 184 ++-- 2 files changed, 177 insertions(+), 9 deletions(-) diff --git a/doc/guides/nics

[dpdk-dev] [PATCH v2 7/9] qede: add 100g mode support

2016-06-15 Thread Rasesh Mody
From: Harish Patil Change details: - Add device id to the PCI table - Add polling for the slowpath events for CMT mode device - Add prerequisites to allow 100g mode o Min number of queues needed is 2 o Only even number of queues are allowed - Update

[dpdk-dev] [PATCH v2 8/9] qede: update vport filter settings

2016-06-15 Thread Rasesh Mody
From: Sony Chacko Enable promiscuous mode filter settings. Check for VF mode and enable promiscuous mode settings for VF. Check filter configuration to ensure conflicting filter modes are not set. Signed-off-by: Sony Chacko --- drivers/net/qede/base/ecore_l2.c | 19

[dpdk-dev] [PATCH v2 9/9] qede: update version to 8.7.9.0_1.1.0.1

2016-06-15 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h index b080f5f..abb33af 100644 ---

[dpdk-dev] Interrupt management thread created after driver initialization

2016-06-21 Thread Rasesh Mody
Hi David, The patch below is causing performance regression with BNX2X PMD. We are seeing 1518 packets not getting to line rate after applying the patch. We are using l2fwd application on the test system. The same issue is not observed while using testpmd application. We are trying to

[dpdk-dev] [PATCH v2] bnx2x: fix icc compilation error

2016-06-28 Thread Rasesh Mody
use of more complex case. > > Signed-off-by: Ferruh Yigit Acked-by: Rasesh Mody Thanks Ferruh!

[dpdk-dev] [PATCH v2 6/9] qede: add support for xstats

2016-06-29 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 28, 2016 7:32 AM > > 2016-06-15 22:47, Rasesh Mody: > > This patch adds support for extended statistics for QEDE PMD. > > > > Signed-off-by: Rasesh Mody > > This qede pa

[dpdk-dev] [PATCH v5 2/5] bnx2x: add xstats support

2016-06-29 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 28, 2016 7:34 AM > > 2016-05-11 17:06, Rasesh Mody: > > Add extended stats support to provide additional statistical info. > > > > Signed-off-by: Rasesh Mody > > Signed-off-by:

[dpdk-dev] [PATCH 4/6] config: Enable BNX2X driver build by default

2015-10-22 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, October 20, 2015 9:18 AM > > 2015-10-08 09:54, Rasesh Mody: > > From: Harish Patil > > > > Signed-off-by: Harish Patil > > Signed-off-by: Rasesh Mody > > You cannot enable bn

[dpdk-dev] [PATCH 0/5] bnx2x: Enhancement, fixes, licensing and doumentation

2015-09-11 Thread Rasesh Mody
OOB PF driver bnx2x: Fix x86_64-native-linuxapp-clang build error bnx2x: Add RTE_LIBRTE_BNX2X_REG_ACCESS config option doc: Add BNX2X PMD documentation Rasesh Mody (1): bnx2x: Add LICENSE.bnx2x_pmd and update source files config/common_linuxapp |1 + doc/guides/nics

[dpdk-dev] [PATCH 1/5] bnx2x: SR-IOV VF driver changes to support OOB PF driver

2015-09-11 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- drivers/net/bnx2x/bnx2x_vfpf.c | 11 +-- drivers/net/bnx2x/bnx2x_vfpf.h | 15 +++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x_vfpf.c

[dpdk-dev] [PATCH 2/5] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-09-11 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- drivers/net/bnx2x/ecore_hsi.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/ecore_hsi.h b/drivers/net/bnx2x/ecore_hsi.h index a4ed9b5..fe72938 100644 ---

[dpdk-dev] [PATCH 3/5] bnx2x: Add RTE_LIBRTE_BNX2X_REG_ACCESS config option

2015-09-11 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- config/common_linuxapp |1 + drivers/net/bnx2x/Makefile |2 +- drivers/net/bnx2x/bnx2x.h |2 +- drivers/net/bnx2x/bnx2x_logs.h |8 drivers/net/bnx2x/debug.c | 24

[dpdk-dev] [PATCH 4/5] doc: Add BNX2X PMD documentation

2015-09-11 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- doc/guides/nics/bnx2x.rst | 324 + 1 file changed, 324 insertions(+) create mode 100644 doc/guides/nics/bnx2x.rst diff --git a/doc/guides/nics/bnx2x.rst

[dpdk-dev] [PATCH 5/5] bnx2x: Add LICENSE.bnx2x_pmd and update source files

2015-09-11 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/LICENSE.bnx2x_pmd | 28 drivers/net/bnx2x/bnx2x.c | 29 - drivers/net/bnx2x/bnx2x.h | 29 - drivers/net/bnx2x/bnx2x_ethdev.c|4

[dpdk-dev] [PATCH v2 00/11] bnx2x: Enhancement, fixes, licensing and doumentation

2015-11-09 Thread Rasesh Mody
the driver at 1.0.0. Please apply. Thanks! Rasesh Harish Patil (5): bnx2x: Update VF to support newer PF drivers bnx2x: Fix x86_64-native-linuxapp-clang build error bnx2x: Add periodic debug option doc: Add BNX2X PMD documentation config: Enable BNX2X driver build by default Rasesh

[dpdk-dev] [PATCH v2 01/11] bnx2x: Update VF to support newer PF drivers

2015-11-09 Thread Rasesh Mody
From: Harish Patil SR-IOV is supported using bnx2x poll mode driver running as VF driver and native linux driver running as PF (in host/hypervisor). There is no issue while running with the PF driver which is at the base version as that of PMD. However, there is a

[dpdk-dev] [PATCH v2 02/11] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-11-09 Thread Rasesh Mody
From: Harish Patil Fix for the following clang build error: drivers/net/bnx2x/elink.c:10384:41: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value] vars->eee_status &= ~SHMEM_EEE_1G_ADV <<

[dpdk-dev] [PATCH v2 03/11] bnx2x: Add periodic debug option

2015-11-09 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> The periodic debug option is used to collect periodic events like statistics, register access etc and won't interfere with user-level messages. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp

[dpdk-dev] [PATCH v2 04/11] doc: Add BNX2X PMD documentation

2015-11-09 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil --- doc/guides/nics/bnx2x.rst | 324 + 1 file changed, 324 insertions(+) create mode 100644 doc/guides/nics/bnx2x.rst diff --git a/doc/guides/nics/bnx2x.rst

[dpdk-dev] [PATCH v2 05/11] bnx2x: Add LICENSE.bnx2x_pmd and update source files

2015-11-09 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/LICENSE.bnx2x_pmd | 28 drivers/net/bnx2x/bnx2x.c | 29 - drivers/net/bnx2x/bnx2x.h | 29 - drivers/net/bnx2x/bnx2x_ethdev.c|4

[dpdk-dev] [PATCH v2 06/11] bnx2x: FreeBSD enablement

2015-11-09 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst| 16 drivers/net/bnx2x/bnx2x.c|9 + drivers/net/bnx2x/bnx2x.h| 23 +++ drivers/net/bnx2x/ecore_sp.h |6 ++ 4 files changed, 54 insertions(+) diff

[dpdk-dev] [PATCH v2 08/11] bnx2x: Handle zlib compatibility error

2015-11-09 Thread Rasesh Mody
Following error will be reported: PMD: ecore_gunzip(): Newer version of zlib required, 1.2.5.2 or higher EAL: Error - exiting with code: 1 Cause: rte_eth_dev_start:err=-1, port=0 Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst |4 drivers/net/bnx2x/bnx2x.c

[dpdk-dev] [PATCH v2 09/11] maintainers: Add maintainers for BNX2X PMD

2015-11-09 Thread Rasesh Mody
Add maintainers for BNX2X PMD. Add file path to BNX2X PMD guide. Signed-off-by: Rasesh Mody --- MAINTAINERS |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c8be5d2..537586b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -281,8 +281,12

[dpdk-dev] [PATCH v2 10/11] config: Enable BNX2X driver build by default

2015-11-09 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp |4 ++-- config/common_linuxapp |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp

[dpdk-dev] [PATCH v2 11/11] bnx2x: Add BNX2X PMD versioning

2015-11-09 Thread Rasesh Mody
Add BNX2X PMD version, print it as part of adapter info. Adjusted print adapter info output formatting. This patch versions BNX2X PMD at 1.0.0. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 101 + 1 file changed, 65 insertions(+), 36

[dpdk-dev] [PATCH v3 00/11] bnx2x: Enhancement, fixes, licensing and doumentation

2015-11-23 Thread Rasesh Mody
and versions bnx2x PMD driver at 1.0.0. Thanks! Rasesh Harish Patil (4): bnx2x: Update VF to support newer PF drivers bnx2x: Fix x86_64-native-linuxapp-clang build error bnx2x: Add periodic debug option config: Enable BNX2X driver build by default Rasesh Mody (7): doc: Add BNX2X PMD

[dpdk-dev] [PATCH v3 01/11] bnx2x: Update VF to support newer PF drivers

2015-11-23 Thread Rasesh Mody
From: Harish Patil SR-IOV is supported using bnx2x poll mode driver running as VF driver and native linux driver running as PF (in host/hypervisor). There is no issue while running with the PF driver which is at the base version as that of PMD. However, there is a

[dpdk-dev] [PATCH v3 02/11] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-11-23 Thread Rasesh Mody
From: Harish Patil Fix for the following clang build error: drivers/net/bnx2x/elink.c:10384:41: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value] vars->eee_status &= ~SHMEM_EEE_1G_ADV <<

[dpdk-dev] [PATCH v3 03/11] bnx2x: Add periodic debug option

2015-11-23 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> The periodic debug option is used to collect periodic events like statistics, register access etc and won't interfere with user-level messages. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp

[dpdk-dev] [PATCH v3 04/11] doc: Add BNX2X PMD documentationdoc: Add BNX2X PMD documentation

2015-11-23 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst | 314 + 1 file changed, 314 insertions(+) create mode 100644 doc/guides/nics/bnx2x.rst diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst new file

[dpdk-dev] [PATCH v3 05/11] bnx2x: Add LICENSE.bnx2x_pmd and update source files

2015-11-23 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/LICENSE.bnx2x_pmd | 28 drivers/net/bnx2x/bnx2x.c | 29 - drivers/net/bnx2x/bnx2x.h | 29 - drivers/net/bnx2x/bnx2x_ethdev.c|4

[dpdk-dev] [PATCH v3 06/11] bnx2x: FreeBSD enablement

2015-11-23 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst|8 drivers/net/bnx2x/bnx2x.c|9 + drivers/net/bnx2x/bnx2x.h| 23 +++ drivers/net/bnx2x/ecore_sp.h |6 ++ 4 files changed, 46 insertions(+) diff --git

[dpdk-dev] [PATCH v3 07/11] bnx2x: Linux 32bit enablement

2015-11-23 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst|8 drivers/net/bnx2x/bnx2x.h| 12 ++-- drivers/net/bnx2x/bnx2x_ethdev.c |2 +- drivers/net/bnx2x/bnx2x_rxtx.c | 11 +++ drivers/net/bnx2x/bnx2x_vfpf.c |4 ++-- 5

[dpdk-dev] [PATCH v3 08/11] bnx2x: Handle zlib compatibility error

2015-11-23 Thread Rasesh Mody
Following error will be reported: PMD: ecore_gunzip(): Newer version of zlib required, 1.2.5.2 or higher EAL: Error - exiting with code: 1 Cause: rte_eth_dev_start:err=-1, port=0 Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst |4 drivers/net/bnx2x/bnx2x.c

[dpdk-dev] [PATCH v3 09/11] maintainers: Add maintainers for BNX2X PMD

2015-11-23 Thread Rasesh Mody
Add maintainers for BNX2X PMD. Add file path to BNX2X PMD guide. Signed-off-by: Rasesh Mody --- MAINTAINERS |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 840faeb..1c94a93 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -304,8 +304,12

[dpdk-dev] [PATCH v3 10/11] config: Enable BNX2X driver build by default

2015-11-23 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp |4 ++-- config/common_linuxapp |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp

[dpdk-dev] [PATCH v3 11/11] bnx2x: Add BNX2X PMD versioning

2015-11-23 Thread Rasesh Mody
Add BNX2X PMD version, print it as part of adapter info. Adjusted print adapter info output formatting. This patch versions BNX2X PMD at 1.0.0. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 101 + 1 file changed, 65 insertions(+), 36

[dpdk-dev] [PATCH 0/6] bnx2x: Enable BNX2X PMD versioned at 1.0.0

2015-10-08 Thread Rasesh Mody
Hi, This patch set enables the BNX2X PMD and versions the driver at 1.0.0. Thanks! Rasesh Harish Patil (1): config: Enable BNX2X driver build by default Rasesh Mody (5): bnx2x: FreeBSD enablement bnx2x: Linux 32bit enablement maintainers: Add maintainers for BNX2X PMD doc: Update

[dpdk-dev] [PATCH 1/6] bnx2x: FreeBSD enablement

2015-10-08 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- config/common_bsdapp |1 + drivers/net/bnx2x/bnx2x.c|9 + drivers/net/bnx2x/bnx2x.h| 23 +++ drivers/net/bnx2x/ecore_sp.h |6 ++ 4 files changed, 39 insertions(+) diff --git a/config

[dpdk-dev] [PATCH 2/6] bnx2x: Linux 32bit enablement

2015-10-08 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.h| 12 ++-- drivers/net/bnx2x/bnx2x_ethdev.c |2 +- drivers/net/bnx2x/bnx2x_rxtx.c | 11 +++ drivers/net/bnx2x/bnx2x_vfpf.c |4 ++-- drivers/net/bnx2x/debug.c| 32

[dpdk-dev] [PATCH 3/6] maintainers: Add maintainers for BNX2X PMD

2015-10-08 Thread Rasesh Mody
Add maintainers for BNX2X PMD. Add file path to BNX2X PMD guide. Signed-off-by: Rasesh Mody --- MAINTAINERS |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 080a8e8..23309f8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -276,8 +276,12

[dpdk-dev] [PATCH 4/6] config: Enable BNX2X driver build by default

2015-10-08 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp |4 ++-- config/common_linuxapp |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp

[dpdk-dev] [PATCH 5/6] doc: Update BNX2X PMD documentation

2015-10-08 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index 613a2b7..d3912ed 100644 --- a/doc/guides/nics/bnx2x.rst +++ b/doc/guides/nics/bnx2x.rst @@ -86,6 +86,10

[dpdk-dev] [PATCH 6/6] bnx2x: Add BNX2X PMD versioning

2015-10-08 Thread Rasesh Mody
Add BNX2X PMD version, print it as part of adapter info. Adjusted print adapter info output formatting. This patch versions BNX2X PMD at 1.0.0. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 101 + 1 file changed, 65 insertions(+), 36

[dpdk-dev] xstats performance

2016-07-05 Thread Rasesh Mody
Hi Remy, > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Friday, July 01, 2016 2:15 AM > > > On 29/06/2016 17:40, Thomas Monjalon wrote: > [..] > > I don't think it is possible to standardize stats ids, for two reasons: > > - it is hard to maintain and avoid

[dpdk-dev] [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library

2016-07-07 Thread Rasesh Mody
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 06, 2016 7:45 AM > > Fixes: 9fb557035d90 ("bnx2x: enable PMD build") > > Signed-off-by: Thomas Monjalon Acked-by: Rasesh Mody Thanks! Rasesh

[dpdk-dev] [PATCH 1/2] qede: add support for xstats

2016-07-07 Thread Rasesh Mody
This patch adds support for extended statistics for QEDE PMD. Signed-off-by: Rasesh Mody --- doc/guides/nics/overview.rst |2 +- drivers/net/qede/qede_ethdev.c | 204 ++-- 2 files changed, 197 insertions(+), 9 deletions(-) diff --git a/doc/guides/nics

[dpdk-dev] [PATCH 2/2] bnx2x: add support for xstats

2016-07-07 Thread Rasesh Mody
This patch adds support for extended statistics for BNX2X PMD. Signed-off-by: Rasesh Mody --- doc/guides/nics/overview.rst |2 +- drivers/net/bnx2x/bnx2x_ethdev.c | 86 ++ 2 files changed, 87 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] xstats performance

2016-07-07 Thread Rasesh Mody
> From: Remy Horton [mailto:remy.horton at intel.com] > Sent: Wednesday, July 06, 2016 12:44 AM > > > On 05/07/2016 19:10, Rasesh Mody wrote: > [..] > >> For all the current drivers xstats_names[idx].id==idx so it would > >> just involve removing the ref

[dpdk-dev] [PATCH 1/2] bnx2x: disable fast path interrupts

2016-07-14 Thread Rasesh Mody
Disable fastpath interrupts and remove unneeded delay in bnx2x_interrupt_action(). This patch fixes and prevents performance degradation for BNX2X PMD. Fixes: 540a2110 ("bnx2x: driver core") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c|2 +- drivers

[dpdk-dev] [PATCH 2/2] bnx2x: fix fw mempool name length

2016-07-14 Thread Rasesh Mody
name truncation") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index a059858..a49a07f 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.

[dpdk-dev] [PATCH 1/2] bnx2x: disable fast path interrupts

2016-07-15 Thread Rasesh Mody
> From: Chas Williams [mailto:3chas3 at gmail.com] > Sent: Friday, July 15, 2016 3:35 AM > > On Thu, 2016-07-14 at 10:03 -0700, Rasesh Mody wrote: > > Disable fastpath interrupts and remove unneeded delay in > > bnx2x_interrupt_action(). This patch fixes and prevents per

[dpdk-dev] [PATCH v2 1/2] bnx2x: disable fast path interrupts

2016-07-20 Thread Rasesh Mody
Disable fastpath interrupts and remove unneeded delay in bnx2x_interrupt_action(). This patch fixes and prevents performance degradation (upto 50% drop) for BNX2X PMD. Fixes: 540a2110 ("bnx2x: driver core") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c|2 +- d

[dpdk-dev] [PATCH v2 2/2] bnx2x: fix fw mempool name length

2016-07-20 Thread Rasesh Mody
name truncation") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index a059858..a49a07f 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.

[dpdk-dev] [PATCH 1/2] bnx2x: fix maximum PF queues

2016-10-05 Thread Rasesh Mody
Fix the max number of PF rx/tx queues. Set the value based on BNX2X_MAX_RSS_COUNT() rather than hard coding it to 128. Fixes: 540a211 ("bnx2x: driver core") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[dpdk-dev] [PATCH 2/2] bnx2x: fix to use SOCKET_ID_ANY for slowpath memory

2016-10-05 Thread Rasesh Mody
river core") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 2bb4a84..8970334 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c

[dpdk-dev] [PATCH] bnx2x: set random MAC address if one isn't assigned

2016-06-30 Thread Rasesh Mody
's ether address utility routines. > > > > Fixes: 540a211084a7 ("bnx2x: driver core") > > > > Signed-off-by: Chas Williams <3chas3 at gmail.com> > > Maintainers, any comment or ack on this patch? > > /Bruce Acked-by: Rasesh Mody Thanks! Rasesh

[dpdk-dev] [PATCH] bnx2x: Call bnx2x_init_rte() later

2016-06-30 Thread Rasesh Mody
> using function or variable names in the titles. Since this is a bug fix the > best > form of title to be used is "fix ", e.g. > "fix incorrect number of supported queues". > > Maintainers, any comments or ack for this patch. > > /Bruce Acked-by: Rasesh Mody Thanks! Rasesh

[dpdk-dev] [PATCH 1/2] bnx2x: fix error handling in bnx2x_loop_obtain_resources()

2016-03-04 Thread Rasesh Mody
res additional checking around bnx2x_do_req4pf(). > > Signed-off-by: Chas Williams <3chas3 at gmail.com> > --- Acked-by: Rasesh Mody The change looks good. Thanks! Rasesh > drivers/net/bnx2x/bnx2x_vfpf.c | 75 +++- > -- > 1 file changed,

[dpdk-dev] [PATCH 2/2] bnx2x: Determine rx/tx queue sizes sooner

2016-03-04 Thread Rasesh Mody
r layer the proper sizes. Move > bnx2x_vf_get_resources() to .eth_dev_init and probe with the guesses from > bnx2x_init_rte(). > > Signed-off-by: Chas Williams <3chas3 at gmail.com> > --- Acked-by: Rasesh Mody The change looks good. Thanks! Rasesh > drivers/net/bnx2x/bnx2x.c

[dpdk-dev] [PATCH v2 00/10] qede: Add qede PMD

2016-03-10 Thread Rasesh Mody
: add maintainers Rasesh Mody (9): qede: add documentation qede: Add license file qede: Add base driver qede: Add core driver qede: Add L2 support qede: Add SRIOV support qede: Add attention support qede: Add DCBX support qede: enable PMD build MAINTAINERS

[dpdk-dev] [PATCH v2 01/10] qede: add maintainers

2016-03-10 Thread Rasesh Mody
From: Harish Patil <harish.pa...@qlogic.com> Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 628bc05..1b27467 100644 --- a/MAINTAINERS

  1   2   3   >