[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d736b816ca21ee3fc466f2705f3d85448bd922f9.1541718583.git.mirq-linux@rere.qmqm.pl>
Date: Fri, 09 Nov 2018 00:18:05 +0100
From: Michał Mirosław <mirq-linux@...e.qmqm.pl>
To: netdev@...r.kernel.org
Cc: Tariq Toukan <tariqt@...lanox.com>, linux-rdma@...r.kernel.org,
Ajit Khaparde <ajit.khaparde@...adcom.com>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
bridge@...ts.linux-foundation.org,
Cong Wang <xiyou.wangcong@...il.com>, coreteam@...filter.org,
"David S. Miller" <davem@...emloft.net>,
Florian Westphal <fw@...len.de>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Mirko Lindner <mlindner@...vell.com>,
netfilter-devel@...r.kernel.org,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Sathya Perla <sathya.perla@...adcom.com>,
Somnath Kotur <somnath.kotur@...adcom.com>,
Sriharsha Basavapatna <sriharsha.basavapatna@...adcom.com>,
Stephen Hemminger <stephen@...workplumber.org>,
Steve Wise <swise@...lsio.com>
Subject: [PATCH net-next 8/9] mlx4: use __vlan_hwaccel helpers
Signed-off-by: Michał Mirosław <mirq-linux@...e.qmqm.pl>
---
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_rx.c b/drivers/net/ethernet/mellanox/mlx4/en_rx.c
index db00bf1c23f5..fd09ba98c0a6 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_rx.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_rx.c
@@ -875,7 +875,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
skb->data_len = length;
napi_gro_frags(&cq->napi);
} else {
- skb->vlan_tci = 0;
+ __vlan_hwaccel_clear_tag(skb);
skb_clear_hash(skb);
}
next:
--
2.19.1
Powered by blists - more mailing lists