mbox series

[net-next,0/2] bnxt_en: Increase maximum RX ring size when jumbo ring is unused

Message ID 1627915959-1648-1-git-send-email-michael.chan@broadcom.com (mailing list archive)
Headers show
Series bnxt_en: Increase maximum RX ring size when jumbo ring is unused | expand

Message

Michael Chan Aug. 2, 2021, 2:52 p.m. UTC
The RX jumbo ring is automatically enabled when HW GRO/LRO is enabled or
when the MTU exceeds the page size.  The RX jumbo ring provides a lot
more RX buffer space when it is in use.  When the RX jumbo ring is not
in use, some users report that the current maximum of 2K buffers is
too limiting.  This patchset increases the maximum to 8K buffers when
the RX jumbo ring is not used.  The default RX ring size is unchanged
at 511.

Michael Chan (2):
  bnxt_en: Don't use static arrays for completion ring pages.
  bnxt_en: Increase maximum RX ring size if jumbo ring is not used.

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 75 ++++++++++++++++++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     | 17 +++--
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  9 ++-
 3 files changed, 90 insertions(+), 11 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 3, 2021, 11:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Mon,  2 Aug 2021 10:52:37 -0400 you wrote:
> The RX jumbo ring is automatically enabled when HW GRO/LRO is enabled or
> when the MTU exceeds the page size.  The RX jumbo ring provides a lot
> more RX buffer space when it is in use.  When the RX jumbo ring is not
> in use, some users report that the current maximum of 2K buffers is
> too limiting.  This patchset increases the maximum to 8K buffers when
> the RX jumbo ring is not used.  The default RX ring size is unchanged
> at 511.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] bnxt_en: Don't use static arrays for completion ring pages
    https://git.kernel.org/netdev/net-next/c/03c7448790b8
  - [net-next,2/2] bnxt_en: Increase maximum RX ring size if jumbo ring is not used
    https://git.kernel.org/netdev/net-next/c/c1129b51ca0e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html