Skip to content
Commit db849faa authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5e: Rx, Fix checksum calculation for new hardware



CQE checksum full mode in new HW, provides a full checksum of rx frame.
Covering bytes starting from eth protocol up to last byte in the received
frame (frame_size - ETH_HLEN), as expected by the stack.

Fixing up skb->csum by the driver is not required in such case. This fix
is to avoid wrong checksum calculation in drivers which already support
the new hardware with the new checksum mode.

Fixes: 85327a9c ("net/mlx5: Update the list of the PCI supported devices")
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 914adbb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment