Thread (14 messages) 14 messages, 6 authors, 2016-02-24

Re: [PATCH v3] i40e: fix vlan filtering

From: Zhang, Helin <hidden>
Date: 2016-02-05 00:20:37

-----Original Message-----
From: Julien Meunier [mailto:julien.meunier@6wind.com]
Sent: Thursday, February 4, 2016 7:02 PM
To: Zhang, Helin <redacted>
Cc: dev@dpdk.org
Subject: [PATCH v3] i40e: fix vlan filtering

VLAN filtering was always performed, even if hw_vlan_filter was disabled.
During device initialization, default filter RTE_MACVLAN_PERFECT_MATCH
was applied. In this situation, all incoming VLAN frames were dropped by the
card (increase of the register RUPP - Rx Unsupported Protocol).

In order to restore default behavior, if HW VLAN filtering is activated, set a
filter to match MAC and VLAN. If not, set a filter to only match MAC.

Signed-off-by: Julien Meunier <redacted>
Acked-by: Helin Zhang <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help