summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/enetc/enetc.h
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-10-07 18:30:42 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-08 16:59:08 +0100
commitacede3c5dad5b83c75c624514bd57171062b4c46 (patch)
tree70a6c578818dff4ced04142f54fb19af160aa006 /drivers/net/ethernet/freescale/enetc/enetc.h
parent36ee7281c586eca7bd1c9ce2cc1530059518df06 (diff)
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/freescale/enetc/enetc.h')
0 files changed, 0 insertions, 0 deletions