]> git.baikalelectronics.ru Git - kernel.git/commit
net/funeth: Tx handling of XDP with fragments.
authorDimitris Michailidis <d.michailidis@fungible.com>
Fri, 29 Jul 2022 07:32:57 +0000 (00:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2022 11:38:57 +0000 (12:38 +0100)
commit2121d60c32f86f3e43ffdd49cbbba063ba9fb701
tree0f059de6115b75d8c9381c1f386ee9d01b1eb1c9
parentb1210635cce5534b682ab88776c2aaaa9950da68
net/funeth: Tx handling of XDP with fragments.

By now all the functions fun_xdp_tx() calls are shared with the skb path
and thus are fragment-capable. Update fun_xdp_tx(), that up to now has
been passing just one buffer, to check for fragments and call
accordingly.  This makes XDP_TX and ndo_xdp_xmit fragment-capable.

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