Thread (7 messages) flat view 7 messages, 4 authors, 2021-10-08

Re: [PATCH net-next v2 1/2] net: enetc: declare NETIF_F_HW_CSUM and do it in software

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2021-10-07 20:41:41

On Thu, Oct 07, 2021 at 06:30:42PM +0300, Ioana Ciornei wrote:
This is just a preparation patch for software TSO in the enetc driver.
Unfortunately, ENETC does not support Tx checksum offload which would
normally render TSO, even software, impossible.

Declare NETIF_F_HW_CSUM as part of the feature set and do it at driver
level using skb_csum_hwoffload_help() so that we can move forward and
The comment is still referencing the other function you were calling in v1.
Anyway, not a big deal, in the end everything ends up in skb_checksum_help().
also add support for TSO in the next patch.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help