net/funeth: Unify skb/XDP gather list writing.
authorDimitris Michailidis <d.michailidis@fungible.com>
Fri, 29 Jul 2022 07:32:55 +0000 (00:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2022 11:38:57 +0000 (12:38 +0100)
commita3b461bbd1847e02bb83957bbba0a195bc274e7a
tree54c46d1c1935d7c375fcc46dcddeb7a5e132a140
parent16ead40812a08248c89268736b973c53cfe6e16e
net/funeth: Unify skb/XDP gather list writing.

Extract the Tx gather list writing code that skbs use into a utility
function and use it also for XDP.

Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/fungible/funeth/funeth_tx.c