[PATCH v2] net/bnxt: add support for queue size of 16384
Mohammad Shuab Siddique
mohammad-shuab.siddique at broadcom.com
Thu Sep 24 00:46:35 CEST 2026
Hi Stephen,
Agreed. Since it gates nothing, I will delete it rather than document a
no-op constant.
On Mon, Sep 21, 2026 at 9:54 AM Stephen Hemminger <
stephen at networkplumber.org> wrote:
> On Sun, 20 Sep 2026 20:59:03 -0600
> Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com> wrote:
>
> > From: Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com>
> >
> > The driver only supported queue sizes up to 4096 for Tx and 8192 for
> > Rx. Raise both to 16384. The completion ring for a Rx ring is sized
> > at 2x the Rx ring size, further multiplied by 4 when the aggregation
> > ring is in use (8x total), so at 16384 it can reach 131072, above
> > uint16_t range - widen the ring index/counter variables touched by
> > that path to uint32_t.
> >
> > Signed-off-by: Keegan Freyhof <keegan.freyhof at broadcom.com>
> > Signed-off-by: Mohammad Shuab Siddique <
> mohammad-shuab.siddique at broadcom.com>
> > ---
> [PATCH v2] net/bnxt: add support for queue size of 16384
>
> Warning: the change of BNXT_MAX_MTU and BNXT_NUM_VLANS to UL is
> unrelated to queue size and is not described. It changes the type of
> BNXT_MAX_PKT_LEN to unsigned long. Drop it, or split it out with a
> reason.
>
> Warning: MAX_CP_DESC_CNT is bumped to 32K and gains a comment saying
> it is unused and the real worst case is 131072. If it is unused,
> delete it.
>
--
Regards,
Shuab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260923/cbb8f5e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5513 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mails.dpdk.org/archives/dev/attachments/20260923/cbb8f5e2/attachment.bin>
More information about the dev
mailing list