[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c658ea46-7d67-3218-f565-9b9c1a6b4ee2@solarflare.com>
Date: Wed, 15 Apr 2020 19:13:36 +0100
From: Edward Cree <ecree@...arflare.com>
To: Vladimir Oltean <olteanv@...il.com>, Jiri Pirko <jiri@...nulli.us>,
netdev <netdev@...r.kernel.org>
Subject: Re: Correct tc-vlan usage
On 15/04/2020 18:59, Vladimir Oltean wrote:
> My problem is that the VLAN tags are discarded by the network
> interface's RX filter:
>
> # ethtool -S eno2
> SI VLAN nomatch u-cast discards: 1280
>
> and this is because nobody calls .ndo_vlan_rx_add_vid for these VLANs
> (only the 8021q driver does).
You could try creating the VLAN interfaces anyway; no traffic will hit
them, because the tc rule popped the VLAN, but they'll call the ndo.
Idk if that'll actually work though... and it'd still be possible to
TX through the VLAN devices, which you don't want.
-ed
Powered by blists - more mailing lists