Re: [net 1/2] net/mlx5e: When RXFCS is set, add FCS data into checksum calculation

2018-10-29 Thread Eric Dumazet
On 05/24/2018 02:53 PM, Saeed Mahameed wrote: > From: Eran Ben Elisha > > When RXFCS feature is enabled, the HW do not strip the FCS data, > however it is not present in the checksum calculated by the HW. > > Fix that by manually calculating the FCS checksum and adding it to the SKB >

[net 1/2] net/mlx5e: When RXFCS is set, add FCS data into checksum calculation

2018-05-24 Thread Saeed Mahameed
From: Eran Ben Elisha When RXFCS feature is enabled, the HW do not strip the FCS data, however it is not present in the checksum calculated by the HW. Fix that by manually calculating the FCS checksum and adding it to the SKB checksum field. Add helper function to find the