Skip to content
Commit 8452a05b authored by Rohan G Thomas's avatar Rohan G Thomas Committed by David S. Miller
Browse files

net: stmmac: Tx coe sw fallback



Add sw fallback of tx checksum calculation for those tx queues that
don't support tx checksum offloading. DW xGMAC IP can be synthesized
such that it can support tx checksum offloading only for a few
initial tx queues. Also as Serge pointed out, for the DW QoS IP, tx
coe can be individually configured for each tx queue.

So when tx coe is enabled, for any tx queue that doesn't support
tx coe with 'coe-unsupported' flag set will have a sw fallback
happen in the driver for tx checksum calculation when any packets to
be transmitted on these tx queues.

Signed-off-by: default avatarRohan G Thomas <rohan.g.thomas@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6fb8c20a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment