[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <558BA15B.3030106@mellanox.com>
Date: Thu, 25 Jun 2015 09:36:11 +0300
From: Or Gerlitz <ogerlitz@...lanox.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: "David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
"Amir Vadai" <amirv@...lanox.com>, Ido Shamay <idos@...lanox.com>
Subject: Re: [PATCH net 3/4] net/mlx4_en: Fix wrong csum complete report when
rxvlan offload is disabled
On 6/25/2015 1:01 AM, Eric Dumazet wrote:
> On Wed, 2015-06-24 at 18:22 +0300, Or Gerlitz wrote:
>> From: Ido Shamay <idos@...lanox.com>
>>
>> + if (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_VLAN_PRESENT_MASK &&
>> + !(dev_features & NETIF_F_HW_VLAN_CTAG_RX)) {
>> hw_checksum = get_fixed_vlan_csum(hw_checksum, hdr);
>> hdr += sizeof(struct vlan_hdr);
> This is faster to use
>
> if (cqe->vlan_my_qpn & cpu_to_be32(MLX4_CQE_VLAN_PRESENT_MASK) &&
>
>
>
sure, will fix that and re-spin the series
Or.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists