]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: make tx buffer array agnostic
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 19 Oct 2019 08:13:26 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 09:16:44 +0000 (11:16 +0200)
commitf2977b5dad53acad8bf3e4926eca2825f655594c
tree0cc6372cdc7c4958432f63ca324721866e8ddcb5
parent4e6fe6fc9693c9071d94e6818b50dd43c28697fe
net: mvneta: make tx buffer array agnostic

[ Upstream commit 6cd02ee893ada1edd29fc3605180cf05176eef08 ]

Allow tx buffer array to contain both skb and xdp buffers in order to
enable xdp frame recycling adding XDP_TX verdict support

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 2960a2d33b02 ("net: mvneta: fix potential double-frees in mvneta_txq_sw_deinit()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/mvneta.c