From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5CB3ECF7A for ; Fri, 11 May 2018 03:35:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 18:35:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,387,1520924400"; d="scan'208";a="48346390" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 10 May 2018 18:35:53 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 18:35:53 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 18:35:53 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by shsmsx102.ccr.corp.intel.com ([169.254.2.79]) with mapi id 14.03.0319.002; Fri, 11 May 2018 09:35:51 +0800 From: "Zhang, Qi Z" To: "Wu, Yanglong" , "dev@dpdk.org" CC: "Dai, Wei" Thread-Topic: [PATCH v2] net/i40e: fix missing VLAN offload capability Thread-Index: AQHT6CxDBJDOfUHvV0i6eSZhPmfYN6QpwBZw Date: Fri, 11 May 2018 01:35:50 +0000 Message-ID: <039ED4275CED7440929022BC67E70611531B0F83@SHSMSX103.ccr.corp.intel.com> References: <20180510024513.75072-1-yanglong.wu@intel.com> <20180510065038.4011-1-yanglong.wu@intel.com> In-Reply-To: <20180510065038.4011-1-yanglong.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzhmMzdlNjktZTllOC00NDY1LWIwNDctYTg3MTBlZTBmMTJiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiIweWlQTGd1WG1BU2FKbENcLzRcL29ObHhXc3VIdFR2cDc1ZWNGb1BOaFBFM0Y5V2J6TzNSUkM0aFBcLzBrajZyVlhTIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix missing VLAN offload capability X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 01:35:56 -0000 Hi Yanglong The patch is OK, could you rebase to dpdk-next-net ?=20 Thanks Qi > -----Original Message----- > From: Wu, Yanglong > Sent: Thursday, May 10, 2018 2:51 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Dai, Wei ; Wu, > Yanglong > Subject: [PATCH v2] net/i40e: fix missing VLAN offload capability >=20 > VLAN offload capability should be exposed in VF since i40e does support i= t. >=20 > Fixes: c3ac7c5b0b8a ("net/i40e: convert to new Rx offloads API") > Signed-off-by: Yanglong Wu > --- > v2: > rework as comments required > --- > drivers/net/i40e/i40e_ethdev_vf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev_vf.c > b/drivers/net/i40e/i40e_ethdev_vf.c > index b9dea2e5b..2a37b31b2 100644 > --- a/drivers/net/i40e/i40e_ethdev_vf.c > +++ b/drivers/net/i40e/i40e_ethdev_vf.c > @@ -2200,7 +2200,8 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct > rte_eth_dev_info *dev_info) > DEV_RX_OFFLOAD_TCP_CKSUM | > DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM | > DEV_RX_OFFLOAD_CRC_STRIP | > - DEV_RX_OFFLOAD_SCATTER; > + DEV_RX_OFFLOAD_SCATTER | > + DEV_RX_OFFLOAD_VLAN_FILTER; >=20 > dev_info->tx_queue_offload_capa =3D 0; > dev_info->tx_offload_capa =3D > -- > 2.11.0