This series adds XDP multi buffer support, allowing MTU to go beyond the page size limit. v3: Simplify page mode buffer size calculation Check to make sure XDP program supports multipage packets v2: Fix uninitialized variable warnings in patch 1 and 10. 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 | 16 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 2 +- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 191 +++++++++-- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h | 16 +- 5 files changed, 416 insertions(+), 113 deletions(-) -- 2.18.1
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature