mbox series

[net-next,v2,00/11] bnxt: Support XDP multi buffer

Message ID 1647806284-8529-1-git-send-email-michael.chan@broadcom.com (mailing list archive)
Headers show
Series bnxt: Support XDP multi buffer | expand

Message

Michael Chan March 20, 2022, 7:57 p.m. UTC
This series adds XDP multi buffer support, allowing MTU to go beyond
the page size limit.

v2: Fix uninitialized variable warnings in patch 1 and 10.

Dave, please don't apply these patches too quickly so that others can
review them first.  Thanks.

Andy Gospodarek (11):
  bnxt: refactor bnxt_rx_xdp to separate xdp_init_buff/xdp_prepare_buff
  bnxt: add flag to denote that an xdp program is currently attached
  bnxt: refactor bnxt_rx_pages operate on skb_shared_info
  bnxt: rename bnxt_rx_pages to bnxt_rx_agg_pages_skb
  bnxt: adding bnxt_rx_agg_pages_xdp for aggregated xdp
  bnxt: set xdp_buff pfmemalloc flag if needed
  bnxt: change receive ring space parameters
  bnxt: add page_pool support for aggregation ring when using xdp
  bnxt: adding bnxt_xdp_build_skb to build skb from multibuffer xdp_buff
  bnxt: support transmit and free of aggregation buffers
  bnxt: XDP multibuffer enablement

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 304 +++++++++++++-----
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     |   8 +-
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |   2 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 204 ++++++++++--
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h |  15 +-
 5 files changed, 420 insertions(+), 113 deletions(-)

Comments

Jakub Kicinski March 22, 2022, 6:11 a.m. UTC | #1
On Sun, 20 Mar 2022 15:57:53 -0400 Michael Chan wrote:
> This series adds XDP multi buffer support, allowing MTU to go beyond
> the page size limit.
> 
> v2: Fix uninitialized variable warnings in patch 1 and 10.
> 
> Dave, please don't apply these patches too quickly so that others can
> review them first.  Thanks.

Please widen the CC list on v3. People who had been involved in XDP
mbuf discussions would be good to CC.