bnxt: adding bnxt_rx_agg_pages_xdp for aggregated xdp
authorAndy Gospodarek <gospo@broadcom.com>
Fri, 8 Apr 2022 07:59:00 +0000 (03:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:52:47 +0000 (11:52 +0100)
commit4c6c123c9af9c94be4726134ca72ba5a0be0ebd0
treea0fdc5aa68b8671ba9de88d8a06b6994ba9cc049
parent23e4c0469ad03f695993cceccb50cbddf9ef8963
bnxt: adding bnxt_rx_agg_pages_xdp for aggregated xdp

This patch adds a new function that will read pages from the
aggregation ring and create an xdp_buff with frags based on
the entries in the aggregation ring.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c