]> git.baikalelectronics.ru Git - kernel.git/commit
net/funeth: Support UDP segmentation offload
authorDimitris Michailidis <d.michailidis@fungible.com>
Wed, 22 Jun 2022 22:37:03 +0000 (15:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Jun 2022 23:21:05 +0000 (16:21 -0700)
commit092e655f745968d419babd1d123ffdac39158ba6
tree8225009f3d56f90b9daecedea8927c08527ee26a
parent70b45c3ec1cd8aed56ef659b86df281d64a76174
net/funeth: Support UDP segmentation offload

Handle skbs with SKB_GSO_UDP_L4, advertise the offload in features, and
add an ethtool counter for it. Small change to existing TSO code due to
UDP's different header length.

Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20220622223703.59886-1-dmichail@fungible.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c
drivers/net/ethernet/fungible/funeth/funeth_main.c
drivers/net/ethernet/fungible/funeth/funeth_tx.c
drivers/net/ethernet/fungible/funeth/funeth_txrx.h