]> git.baikalelectronics.ru Git - kernel.git/commit
net: mana: Reuse XDP dropped page
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 29 Jan 2022 02:03:38 +0000 (18:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2022 15:39:58 +0000 (15:39 +0000)
commita6bf5703f17bdbd775c0e6837dd2d5b1c344e28c
treeefe4a10c13242abc0e09af9bb0b817ec063c2758
parentd356abb95b9883198b1ba0db678659369701e17d
net: mana: Reuse XDP dropped page

Reuse the dropped page in RX path to save page allocation
overhead.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana.h
drivers/net/ethernet/microsoft/mana/mana_en.c