diff options
| author | 2022-02-16 16:30:14 +0200 | |
|---|---|---|
| committer | 2022-02-17 14:06:51 +0000 | |
| commit | 29940ce32a2da2f3857d5fc459c6df6e47adb67e (patch) | |
| tree | 3820a0b33aeba63c2c6527abc01e33d042d1ca02 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | net: dsa: felix: update destinations of existing traps with ocelot-8021q (diff) | |
| download | linux-dev-29940ce32a2da2f3857d5fc459c6df6e47adb67e.tar.xz linux-dev-29940ce32a2da2f3857d5fc459c6df6e47adb67e.zip | |
net: dsa: tag_ocelot_8021q: calculate TX checksum in software for deferred packets
DSA inherits NETIF_F_CSUM_MASK from master->vlan_features, and the
expectation is that TX checksumming is offloaded and not done in
software.
Normally the DSA master takes care of this, but packets handled by
ocelot_defer_xmit() are a very special exception, because they are
actually injected into the switch through register-based MMIO. So the
DSA master is not involved at all for these packets => no one calculates
the checksum.
This allows PTP over UDP to work using the ocelot-8021q tagging
protocol.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
