Fix an overrun of the ring group array with BCM5750X-based
adapters by ensuring that the ring group array is not allocated
or accessed for adapters that do not support ring groups.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Signed-off-by: Lance Richardson
Reviewed-by:
On Fri, Jul 12, 2019 at 2:06 AM Ajit Khaparde
wrote:
>
> From: Lance Richardson
>
> Move call site of bnxt_rxq_vec_setup() to ensure that rxq->rxrearm_nb
> and rxq->rxrearm_start are reinitialized correctly when a port is
> restarted.
>
> Fixes: af3ed597e305 (
On Fri, Jul 12, 2019 at 8:06 AM Lance Richardson
wrote:
>
> On Fri, Jul 12, 2019 at 2:06 AM Ajit Khaparde
> wrote:
> >
> > From: Lance Richardson
> >
> > Move call site of bnxt_rxq_vec_setup() to ensure that rxq->rxrearm_nb
> > and rxq->rxrearm_sta
On Mon, Jul 22, 2019 at 11:06 AM Thomas Monjalon wrote:
>
> 22/07/2019 16:57, Ferruh Yigit:
> > On 7/18/2019 4:36 AM, Ajit Khaparde wrote:
> > > From: Lance Richardson
> > > --- a/config/common_base
> > > +++ b/config/common_base
> > > @@ -212,6 +2
t; On 7/22/2019 6:57 PM, Lance Richardson wrote:
> > > On Mon, Jul 22, 2019 at 11:06 AM Thomas Monjalon
> > > wrote:
> > >> 22/07/2019 16:57, Ferruh Yigit:
> > >>> On 7/18/2019 4:36 AM, Ajit Khaparde wrote:
> > >>>> From: Lance
On Mon, Jul 22, 2019 at 2:34 PM Ferruh Yigit wrote:
> I dropped this patch from next-net since discussion is going on, I did my best
> to resolve the conflicts but please confirm the final result in next-net.
>
I did some basic testing of the current head of dpdk-next-net and diffed
against the
ename "def_cp_ring" to "async_cp_ring" to better reflect its
purpose (async event notifications) and to avoid confusion with
VNIC default receive completion rings.
Signed-off-by: Lance Richardson
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/
On Wed, Jul 24, 2019 at 12:14 PM Lance Richardson
wrote:
> process async events on a receive completion ring. This behavior
> is controlled by a compile-time configuration variable.
I will follow up with a v2 to correct the above statement in the commit log and
to squash with these fol
eflect its
purpose (async event notifications) and to avoid confusion with
VNIC default receive completion rings.
Allow rxq 0 to be stopped when not being used for async events.
Signed-off-by: Lance Richardson
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
t;net/bnxt: support thor controller")
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Signed-off-by: Lance Richardson
---
drivers/net/bnxt/bnxt_ethdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnx
; to indicate L3 and L4 error.
Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode")
Signed-off-by: Kalesh AP
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 47
1 file changed, 47 insertion
/bnxt: fix traffic stall on Rx queue stop/start")
Signed-off-by: Lance Richardson
---
drivers/net/bnxt/bnxt_ethdev.c | 2 +-
drivers/net/bnxt/bnxt_ring.c | 3 ++-
drivers/net/bnxt/bnxt_rxq.c| 5 -
drivers/net/bnxt/bnxt_txq.c| 1 -
drivers/net/bnxt/bnxt_txr.c| 1 +
5 files
When freeing pending transmit mbufs, use rte_pktmbuf_free_seg()
instead of rte_pktmbuf_free(), otherwise linked mbufs may be freed
more than once.
Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code")
Reviewed-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
drivers/net/bnxt/
k.org
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_rxq.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c
index ab889c10e..e82eda9d7
nable RSS for thor-based controllers")
Cc: sta...@dpdk.org
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/d
started.
- When stopping the last (or only) receive queue for a given
VNIC, ensure that no packets can reach the default receive
ring by temporarily setting the VNIC MRU to zero.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Cc: sta...@dpdk.org
Signed-off-by: Lance
lso ensure that vnic->rx_queue_cnt is initialized to zero when
reinitializing the VNIC array.
Fixes: 36024b2e7fe5 ("net/bnxt: allow dynamic creation of VNIC")
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt
This patch set fixes several problems involving stopping/starting
receive queues in the bnxt PMD.
Lance Richardson (4):
net/bnxt: fix RSS table update for start/stop rxq
net/bnxt: keep consistent rxq start/stop state
net/bnxt: release hwrm lock before returning
net/bnxt: fix rxq start
This patch set depends on the "bnxt patchset with bug fixes" series:
http://patchwork.dpdk.org/project/dpdk/list/?series=7216
It is based on current dpdk-next-net-brcm.
Lance
On Mon, Nov 4, 2019 at 3:27 PM Lance Richardson
wrote:
>
>
> This patch set fixes several
- Include list of supported adapters.
- Include list of supported features.
- Document requirements for vector mode PMD.
- Remove obsolete limitation (scatter rx has been supported for
some time).
- Fixed broken links.
Acked-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
doc/guides
Hi Bill,
This is just a guess, but perhaps the transmit drops are due to MAC
anti-spoofing checks?
You could probably prove/disprove by making the packet source MAC
match the transmit VF's MAC.
Lance
On Tue, Oct 15, 2019 at 10:01 AM Bill Michalowski wrote:
>
> I'm trying run testpmd with
On Thu, May 23, 2019 at 8:21 AM Maxime Coquelin
wrote:
...
> Isn't it fixing patch 2?
> If so, Fixes line is wrong, and it should be squashed directly into
> patch 2.
Yes... thanks, will fix in v2.
Lance
Hi Maxime, thanks for taking the time to review this.
On Thu, May 23, 2019 at 8:18 AM Maxime Coquelin
wrote:
...
> How do we enable it with Meson build? It seems to be missing.
Ah, thanks for pointing that out, I had completely missed the Meson
piece. Will fix in v2.
>
> I think we would better
for bnxt
Lance Richardson (5):
net/bnxt: move tx bd checking to header file
net/bnxt: compute and store scattered RX status
net/bnxt: implement vector mode driver
net/bnxt: use reta update mask and translate qid to grp id
net/bnxt: fix reta query op
config/common_base
To allow sharing of tx_bds_in_hw() and bnxt_tx_avail() between
vector-mode and non-vector transmit functions, move these functions
into bnxt_txr.h.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_txr.c | 15
In preparation for a bnxt vector-mode driver, compute and store
scattered_rx status for the device when started.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_ethdev.c | 23 +++
1 file changed, 23
Introduce vector mode support for the bnxt pmd.
Signed-off-by: Lance Richardson
Signed-off-by: Ajit Khaparde
---
v2:
* Squashed with v1 patch 4 ("fix double counting VLAN tags").
* Dropped two unnecessary coding style changes from bnxt_txr.h.
config/common_base
-by: Rahul Gupta
Reviewed-by: Lance Richardson
---
drivers/net/bnxt/bnxt_ethdev.c | 18 ++
drivers/net/bnxt/bnxt_hwrm.c | 1 +
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 52a6b94e0..2d892c
Fix the reta update function to only update table entries that are
selected by the update mask. Translate queue number to firmware
group ID when updating an entry.
Fixes: d819382543f3 ("net/bnxt: add RSS redirection table operations")
Signed-off-by: Lance Richardson
Reviewed-by: Aji
Fix reta query op to only return table entries as identfied by the
provided mask. Translate firmware group IDs to queue numbers.
Removed extraneous code from bnxt_reta_query_op().
Fixes: d819382543f3 ("net/bnxt: add RSS redirection table operations")
Signed-off-by: Lance Richardson
R
From: Ajit Khaparde
Update HWRM API to version 1.10.0.19
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3112 +++-
1 file changed, 2514 insertions(+), 598 deletions(-)
diff --git a/drivers/net/bnxt
From: Ajit Khaparde
Update HWRM version to 1.10.0.48
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3156 +---
1 file changed, 2874 insertions(+), 282 deletions(-)
diff --git a/drivers/net/bnxt
From: Ajit Khaparde
Update release doc briefly describing updates to bnxt PMD.
Signed-off-by: Ajit Khaparde
---
doc/guides/rel_notes/release_19_08.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes/release_19_08.rst
inde
From: Ajit Khaparde
Update HWRM API to version 1.10.0.74
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 1399
1 file changed, 1168 insertions(+), 231 deletions(-)
diff --git a/drivers/net/bnxt
Apologies for the confusion.
Regards,
Lance
On Mon, May 27, 2019 at 11:24 AM Ferruh Yigit wrote:
>
> On 5/27/2019 10:36 AM, Ferruh Yigit wrote:
> > On 5/24/2019 3:49 PM, Lance Richardson wrote:
> >> To allow sharing of tx_bds_in_hw() and bnxt_tx_avail() between
>
On Tue, May 28, 2019 at 5:08 AM Ferruh Yigit wrote:
>
> On 5/24/2019 3:49 PM, Lance Richardson wrote:
> > @@ -1597,6 +1659,8 @@
> >
> > bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
> >
> > static int bnxt_mtu_set_op(struct rt
WIll do.
Thanks,
Lance
On Tue, May 28, 2019 at 5:12 AM Ferruh Yigit wrote:
>
> On 5/24/2019 3:49 PM, Lance Richardson wrote:
> > From: Ajit Khaparde
> >
> > Update HWRM API to version 1.10.0.74
>
> There are three commits related:
> "update HWRM API&
On Tue, May 28, 2019 at 5:19 AM Ferruh Yigit wrote:
...
> There are warnings from
> "./devtools/checkpatches.sh" & "./devtools/check-git-log.sh"
> Can you please address them in next version?
>
> It is acceptable to have some level of "checkpatches.sh" in the base code
> update
> (HWRM update cod
net/bnxt: update HWRM API to version 1.10.0.19
net/bnxt: update HWRM API to version 1.10.0.48
net/bnxt: update HWRM API to version 1.10.0.74
Lance Richardson (3):
net/bnxt: move Tx bd checking to header file
net/bnxt: compute and store scattered Rx status
net/bnxt: implement vector mode
To allow sharing of tx_bds_in_hw() and bnxt_tx_avail() between
vector-mode and non-vector transmit functions, move these functions
into bnxt_txr.h.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_txr.c | 15
In preparation for a bnxt vector-mode driver, compute and store
scattered_rx status for the device when started.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_ethdev.c | 23 +++
1 file changed, 23
Introduce SSE vector mode support for the bnxt pmd.
Signed-off-by: Lance Richardson
Signed-off-by: Ajit Khaparde
---
v2:
* Squashed with v1 patch 4 ("fix double counting VLAN tags").
* Dropped two unnecessary coding style changes from bnxt_txr.h.
v3:
* Eliminated vector mode configr
Signed-off-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
doc/guides/rel_notes/release_19_08.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes/release_19_08.rst
index 5ebb564b1..2b66f41f5 100644
--- a/doc/guides/rel
de
Signed-off-by: Lance Richardson
Reviewed-by: Rahul Gupta
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Cc: sta...@dpdk.org
---
v3:
* Squashed three RSS RETA fix commits into one.
drivers/net/bnxt/bnxt_ethdev.c | 92 +-
drivers/net/bnxt/bnxt_hwr
From: Ajit Khaparde
Update HWRM API to version 1.10.0.19
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3112 +++-
1 file changed, 2514
From: Ajit Khaparde
Update HWRM version to 1.10.0.48
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3156 +---
1 file changed, 2874 insertions
From: Ajit Khaparde
Update HWRM API to version 1.10.0.74
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
doc/guides/rel_notes/release_19_08.rst |1 +
drivers/net/bnxt/hsi_struct_def_dpdk.h | 1399
On Wed, May 29, 2019 at 2:48 AM Maxime Coquelin
wrote:
>
>
>
> On 5/28/19 9:23 PM, Lance Richardson wrote:
> > diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
> > index 5b3932b7b..bccba445a 100644
> > --- a/drivers/net/bnxt/bnxt_ethde
):
net/bnxt: update release notes for bnxt
net/bnxt: fix RSS RETA indirection table ops
net/bnxt: update HWRM API to version 1.10.0.19
net/bnxt: update HWRM API to version 1.10.0.48
net/bnxt: update HWRM API to version 1.10.0.74
Lance Richardson (3):
net/bnxt: move Tx bd checking to
Signed-off-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
doc/guides/rel_notes/release_19_08.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes/release_19_08.rst
index 5ebb564b1..2b66f41f5 100644
--- a/doc/guides/rel
To allow sharing of tx_bds_in_hw() and bnxt_tx_avail() between
vector-mode and non-vector transmit functions, move these functions
into bnxt_txr.h.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_txr.c | 15
de
Signed-off-by: Lance Richardson
Reviewed-by: Rahul Gupta
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Cc: sta...@dpdk.org
---
v3:
* Squashed three RSS RETA fix commits into one.
drivers/net/bnxt/bnxt_ethdev.c | 92 +-
drivers/net/bnxt/bnxt_hwr
In preparation for a bnxt vector-mode driver, compute and store
scattered_rx status for the device when started.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
v4:
* Moved a fix to bnxt_scattered_rx(), which is introduced in this patch,
from patch
Introduce SSE vector mode support for the bnxt pmd.
Signed-off-by: Lance Richardson
Signed-off-by: Ajit Khaparde
---
v2:
* Squashed with v1 patch 4 ("fix double counting VLAN tags").
* Dropped two unnecessary coding style changes from bnxt_txr.h.
v3:
* Eliminated vector mode configr
From: Ajit Khaparde
Update HWRM API to version 1.10.0.19
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3112 +++-
1 file changed, 2514
From: Ajit Khaparde
Update HWRM version to 1.10.0.48
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3156 +---
1 file changed, 2874 insertions
From: Ajit Khaparde
Update HWRM API to version 1.10.0.74
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
doc/guides/rel_notes/release_19_08.rst |1 +
drivers/net/bnxt/hsi_struct_def_dpdk.h | 1399
This page gives a "proposal deadline" of June 3 for the 19.08 release:
https://core.dpdk.org/roadmap/
Apologies if this is a faq, but is the "proposal" simply a v1 patch
set implementing the proposed change, or is some other mechanism to be
used?
Thanks,
Lance
On Wed, May 29, 2019 at 2:16 PM Kevin Traynor wrote:
>
> On 29/05/2019 16:02, Lance Richardson wrote:
> > From: Ajit Khaparde
> >
> > Update release doc briefly describing updates to bnxt PMD,
> > including transmit optimization changes in the following
> > co
On Wed, May 29, 2019 at 4:28 PM Lance Richardson
wrote:
>
> On Wed, May 29, 2019 at 2:16 PM Kevin Traynor wrote:
> >
> > On 29/05/2019 16:02, Lance Richardson wrote:
> > > From: Ajit Khaparde
> > >
> > > Update release doc briefly describing
I see now that you had fixed them up... sorry for the noise.
On Wed, May 29, 2019 at 4:35 PM Lance Richardson
wrote:
>
> On Wed, May 29, 2019 at 4:28 PM Lance Richardson
> wrote:
> >
> > On Wed, May 29, 2019 at 2:16 PM Kevin Traynor wrote:
> > >
> > >
nxt: optimize Tx batching")
Signed-off-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
v5:
* Corrected commit IDs and added Fixes: tags to commit log.
doc/guides/rel_notes/release_19_08.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_
To allow sharing of tx_bds_in_hw() and bnxt_tx_avail() between
vector-mode and non-vector transmit functions, move these functions
into bnxt_txr.h.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
drivers/net/bnxt/bnxt_txr.c | 15
In preparation for a bnxt vector-mode driver, compute and store
scattered_rx status for the device when started.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Reviewed-by: Maxime Coquelin
---
v4:
* Moved a fix to bnxt_scattered_rx(), which is introduced in this patch,
from patch
Lance Richardson (3):
net/bnxt: move Tx bd checking to header file
net/bnxt: compute and store scattered Rx status
net/bnxt: implement vector mode driver
doc/guides/rel_notes/release_19_08.rst |6 +
drivers/net/bnxt/Makefile |3 +
drivers/net/bnxt/bnxt_ethdev.c
Introduce SSE vector mode support for the bnxt pmd.
Signed-off-by: Lance Richardson
Signed-off-by: Ajit Khaparde
---
v2:
* Squashed with v1 patch 4 ("fix double counting VLAN tags").
* Dropped two unnecessary coding style changes from bnxt_txr.h.
v3:
* Eliminated vector mode configr
de
Signed-off-by: Lance Richardson
Reviewed-by: Rahul Gupta
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Cc: sta...@dpdk.org
---
v3:
* Squashed three RSS RETA fix commits into one.
drivers/net/bnxt/bnxt_ethdev.c | 92 +-
drivers/net/bnxt/bnxt_hwr
From: Ajit Khaparde
Update HWRM API to version 1.10.0.19
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3112 +++-
1 file changed, 2514
From: Ajit Khaparde
Update HWRM version to 1.10.0.48
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
drivers/net/bnxt/hsi_struct_def_dpdk.h | 3156 +---
1 file changed, 2874 insertions
From: Ajit Khaparde
Update HWRM API to version 1.10.0.74
Signed-off-by: Ajit Khaparde
Reviewed-by: Lance Richardson
Signed-off-by: Lance Richardson
---
v3:
* Fixed headline in commit log.
doc/guides/rel_notes/release_19_08.rst |1 +
drivers/net/bnxt/hsi_struct_def_dpdk.h | 1399
ch 11 adds thor-specific support for RSS.
Lance Richardson (11):
net/bnxt: endianness conversions in cp ring macros
net/bnxt: fix ring type macro name usage
net/bnxt: fix width in stats ctx endian conversion
net/bnxt: use consistent values for vnic RSS rule
net/bnxt: reset function earli
Use consistent values for vnic->rss_rule. No functional change,
these all equate to uint16_t 0x.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/b
Descriptor fields in CP ring are in little-endian form, convert
to CPU endian before performing arithmetic operations.
Also use more general comparison when checking for ring
index wrap.
Fixes: f2a768d4d186 ("net/bnxt: add completion ring")
Cc: sta...@dpdk.org
Signed-off-by: Lance
Use consistent macro names for ring type values. (There is no
functional change, the "alloc" and "free" values are identical.)
Fixes: 6371b91fb66d ("net/bnxt: add ring alloc/free")
Cc: sta...@dpdk.org
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar K
Move function reset to beginnng of initialization sequence.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt
Reduce code duplication and prepare for newer controllers that
use different doorbell protocols by refactoring doorbell handling
code.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_cpr.h | 27 --
drivers/net/bnxt/bnxt_irq.c
Enable support for extended request sizes.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt.h | 1 +
drivers/net/bnxt/bnxt_hwrm.c | 31 ++-
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/drivers/net
Use 32-bit conversion width when converting to 32-bit
values.
Fixes: 6371b91fb66d ("net/bnxt: add ring alloc/free")
Cc: sta...@dpdk.org
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 8
1 file changed, 4 insertions(+), 4
This commit adds support to the bnxt PMD for devices
based on the BCM57508 "thor" Ethernet controller.
Signed-off-by: Ajit Kumar Khaparde
Signed-off-by: Kalesh AP
Signed-off-by: Lance Richardson
---
drivers/net/bnxt/bnxt.h| 98 +++-
drivers/net/bnxt/bnxt_cpr.
Reduce code duplication and prepare for supporting hardware with
different ring allocation requirements by refactoring ring
allocation code.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_ring.c | 167 ++-
1 file
Enable completion coalescing for Thor-based adapters.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 42 +---
1 file changed, 39 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b
Enable rss support for thor-based adapters.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 69 ++--
drivers/net/bnxt/bnxt_hwrm.c | 190 +++--
drivers/net/bnxt/bnxt_hwrm.h | 6 +-
drivers/net/bnxt
Make changes needed to support rss for thor-based controllers.
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 69 ++--
drivers/net/bnxt/bnxt_hwrm.c | 190 +++--
drivers/net/bnxt/bnxt_hwrm.h | 6
bnxt/rte_pmd_bnxt.c | 32 ++--
> 8 files changed, 74 insertions(+), 74 deletions(-)
>
Acked-by: Lance Richardson
From: Ajit Khaparde
Add support for the Broadcom NetXtreme-E (BCM57500) family of controllers
(aka Thor). The BCM57500 device is a 200G Ethernet controller with
50G PAM-4 and PCIe 4.0
Signed-off-by: Ajit Khaparde
Signed-off-by: Lance Richardson
---
doc/guides/nics/bnxt.rst | 6
On Fri, Jun 7, 2019 at 6:52 AM Ferruh Yigit wrote:
>
> On 6/7/2019 11:48 AM, Ferruh Yigit wrote:
> > On 6/2/2019 6:42 PM, Lance Richardson wrote:
> >> NOTE: This patch series has dependencies on the "bnxt patchset"
> >> series that is currently under
On Tue, Jun 11, 2019 at 4:54 PM Stephen Hemminger
wrote:
>
> On Mon, 10 Jun 2019 10:51:48 -0700
> Stephen Hemminger wrote:
>
> > While testing KNI with netvsc, saw lots of places more code
> > could be safely removed from KNI kernel driver.
> >
> > This is still mostly "putting lipstick on a pig"
On Tue, Jun 11, 2019 at 5:30 PM Stephen Hemminger
wrote:
>
> On Tue, 11 Jun 2019 17:18:42 -0400
> Lance Richardson wrote:
>
> > On Tue, Jun 11, 2019 at 4:54 PM Stephen Hemminger
> > wrote:
> > >
> > > On Mon, 10 Jun 2019 10:51:48 -0700
> > > St
OK, thanks.
On Thu, Jun 13, 2019 at 8:34 PM Ajit Khaparde
wrote:
>
> On Fri, Jun 14, 2019 at 7:47 AM Thomas Monjalon wrote:
>>
>> Hi,
>>
>> The line below makes compilation failing on master branch with some
>> compilers.
>>
>> 03/06/2019 02:
The current TQM backing store size isn't sufficient to allow 512
transmit rings. Fix by correcting TQM SP queue size calculation.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bn
oller")
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_ring.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/bnxt/bnxt_ring.c b/drivers/net/bnxt/bnxt_ring.c
index ec17783cf..bc8b92b04 100644
--- a/drivers/net/bnxt/bnxt_ring.c
+++ b/d
Fixes and enhancements for adapters based on the BCM57500
controller and the bnxt vector PMD.
Patch set is against dpdk-next-net.
**Note** this patch series is dependent on the "bnxt patchset to support
device error recovery" series.
Lance Richardson (7):
net/bnxt: fix thor
Thor queue scaling is currently limited by the number of NQs that
can be allocated. Fix by using a common NQ for all receive/transmit
rings instead of allocating a separate NQ for each ring.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Signed-off-by: Lance Richardson
R
Add support for LRO for adapters based on Thor (BCM57500).
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
doc/guides/rel_notes/release_19_11.rst | 6 +++
drivers/net/bnxt/bnxt.h| 16 ++
drivers/net/bnxt/bnxt_ethdev.c | 4 ++
drivers/net/bnxt
Use first receive queue assigned to VNIC as the default receive queue
when configuring Thor VNICs. This is necessary e.g. in order for flow
redirection to a specific receive queue to work correctly.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Signed-off-by: Lance
Scattered receive is supported but not included in receive offload
capabilities. Fix by adding it and including in scattered receive
calculation.
Fixes: 9c1507d96ab8 ("net/bnxt: switch to the new offload API")
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
d
/bnxt: implement SSE vector mode")
Signed-off-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
---
drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 26 --
1 file changed, 4 insertions(+), 22 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_rxtx_vec_sse.c
b/driver
From: Lance Richardson
Receive checksum offload status flags in the mbuf
ol_flags field should include inner/outer status
only when outer checksum offload is enabled, which
currently isn't the case for the bnxt PMD. Fix by
using a hw-to-ol_flags mapping table that is constructed
bas
From: Lance Richardson
Refactor offload flags mapping table to be dynamic and
per-ring instead of static and global.
Signed-off-by: Lance Richardson
Cc: sta...@dpdk.org
---
drivers/net/bnxt/bnxt_rxr.c | 34 +--
drivers/net/bnxt/bnxt_rxr.h | 12
From: Lance Richardson
The setting of the mbuf ol_flags field for tunneled packets
should be different depending upon whether DEV_RX_OFFLOAD_OUTER_*
offloads are enabled. Initialize ol_flags mappings based on
the receive offload configuration when the receive ring is
initialized.
Signed-off-by
101 - 200 of 270 matches
Mail list logo