OSDN Git Service

bnxt: add flag to denote that an xdp program is currently attached
authorAndy Gospodarek <gospo@broadcom.com>
Fri, 8 Apr 2022 07:58:57 +0000 (03:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:52:47 +0000 (11:52 +0100)
commitee536dcbdce4966009b4ea15f03cba045161249a
tree47f1205cf12e714b4bb832a2c0608e1f8f566b89
parentb231c3f3414cfc7bf8fb1e246ed5a3d523616520
bnxt: add flag to denote that an xdp program is currently attached

This will be used to determine if bnxt_rx_xdp should be called
rather than calling it every time.

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