]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa474bd8213c6d792dc1764cca431054bf675f9b
treea0fdc5aa68b8671ba9de88d8a06b6994ba9cc049
parente7ece040b09958f5f7386d8c1f662e57e57439c4
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