From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2B55D95DC for ; Fri, 5 Feb 2016 01:20:37 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 04 Feb 2016 16:20:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,397,1449561600"; d="scan'208";a="908853829" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 04 Feb 2016 16:20:19 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Feb 2016 16:20:18 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Feb 2016 16:20:18 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Fri, 5 Feb 2016 08:20:16 +0800 From: "Zhang, Helin" To: Julien Meunier Thread-Topic: [PATCH v3] i40e: fix vlan filtering Thread-Index: AQHRXzufYQULZ3WC8k+cRbFgm5xXqZ8cl0Kg Date: Fri, 5 Feb 2016 00:20:15 +0000 Message-ID: References: <1454421057-6602-1-git-send-email-julien.meunier@6wind.com> <1454583736-20244-1-git-send-email-julien.meunier@6wind.com> In-Reply-To: <1454583736-20244-1-git-send-email-julien.meunier@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_PUBLIC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWM3OWI3MTQtZDQxNS00Y2NiLWJlOGItZmY0NzE5NzE4OWMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS40LjEwLjE5IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjUrdXNUXC9kZEJzVUVJbmpXQU5wb3JWSHEzREVYVXQ1eEt5eGo3SWtzUWRJPSJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3] i40e: fix vlan filtering X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 00:20:38 -0000 > -----Original Message----- > From: Julien Meunier [mailto:julien.meunier@6wind.com] > Sent: Thursday, February 4, 2016 7:02 PM > To: Zhang, Helin > Cc: dev@dpdk.org > Subject: [PATCH v3] i40e: fix vlan filtering >=20 > 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). >=20 > 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. >=20 > Signed-off-by: Julien Meunier Acked-by: Helin Zhang