]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt: set xdp_buff pfmemalloc flag if needed
authorAndy Gospodarek <gospo@broadcom.com>
Fri, 8 Apr 2022 07:59:01 +0000 (03:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:52:47 +0000 (11:52 +0100)
commita0c0db51d282ab675b3064bfa41f92fd65252411
tree71ac5e6c8d23360a7e36376bf70a7bc997435b44
parentaa474bd8213c6d792dc1764cca431054bf675f9b
bnxt: set xdp_buff pfmemalloc flag if needed

Set the pfmemaloc flag in the xdp buff so that this can be
copied to the skb if needed for an XDP_PASS action.

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