From: Ido Shamay Date: Thu, 25 Jun 2015 08:29:43 +0000 (+0300) Subject: net/mlx4_en: Fix wrong csum complete report when rxvlan offload is disabled X-Git-Tag: omap-for-v4.2/fixes-rc1^2~57^2~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a258526ce1051cb9684018c25a89d51ac21be8;p=pandora-kernel.git net/mlx4_en: Fix wrong csum complete report when rxvlan offload is disabled The check_csum() function relied on hwtstamp_rx_filter to know if rxvlan offload is disabled. This is wrong since rxvlan offload can be switched on/off regardless of hwtstamp_rx_filter. Also moved check_csum to query CQE information to identify VLAN packets and removed the check of IP packets, since it has been validated before. Fixes: f8c6455bb04b ('net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE') Signed-off-by: Ido Shamay Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed