On 19/06/2017 8:04 PM, Davide Caratti wrote:
hello Tariq,
On Sun, 2017-06-18 at 14:10 +0300, Tariq Toukan wrote:
@@ -624,12 +632,13 @@ static int check_csum(struct mlx4_cqe *cqe, struct
sk_buff *skb, void *va,
hdr += sizeof(struct vlan_hdr);
}
- if (cqe->statu
hello Tariq,
On Sun, 2017-06-18 at 14:10 +0300, Tariq Toukan wrote:
> > @@ -624,12 +632,13 @@ static int check_csum(struct mlx4_cqe *cqe, struct
> > sk_buff *skb, void *va,
> > hdr += sizeof(struct vlan_hdr);
> > }
> >
> > - if (cqe->status & cpu_to_be16(MLX4_CQE_STAT
On 16/06/2017 5:01 PM, Davide Caratti wrote:
if the NIC fails to validate the checksum on TCP/UDP, and validation of IP
checksum is successful, the driver subtracts the pseudo-header checksum
from the value obtained by the hardware and sets CHECKSUM_COMPLETE. Don't
do that if protocol is IPPROT
if the NIC fails to validate the checksum on TCP/UDP, and validation of IP
checksum is successful, the driver subtracts the pseudo-header checksum
from the value obtained by the hardware and sets CHECKSUM_COMPLETE. Don't
do that if protocol is IPPROTO_SCTP, otherwise CRC32c validation fails.
Repor