diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-10-07 18:30:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-08 18:59:08 +0300 |
commit | acede3c5dad5b83c75c624514bd57171062b4c46 (patch) | |
tree | 70a6c578818dff4ced04142f54fb19af160aa006 /drivers/net/ethernet/cadence/macb_ptp.c | |
parent | 36ee7281c586eca7bd1c9ce2cc1530059518df06 (diff) | |
download | linux-acede3c5dad5b83c75c624514bd57171062b4c46.tar.xz |
net: enetc: declare NETIF_F_HW_CSUM and do it in software
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
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb_ptp.c')
0 files changed, 0 insertions, 0 deletions