From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 4A6D11B6F6 for ; Thu, 10 May 2018 05:06:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2018 20:06:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,383,1520924400"; d="scan'208";a="198147359" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 09 May 2018 20:06:19 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 9 May 2018 20:06:19 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 9 May 2018 20:06:19 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.40]) with mapi id 14.03.0319.002; Thu, 10 May 2018 11:06:17 +0800 From: "Zhang, Qi Z" To: "Wu, Yanglong" , "dev@dpdk.org" CC: "Dai, Wei" Thread-Topic: [PATCH] net/i40e: fix missing VLAN offload capability Thread-Index: AQHT6Amn7gb/UF6IAEaSbf44dh+CpKQoR0Ow Date: Thu, 10 May 2018 03:06:16 +0000 Message-ID: <039ED4275CED7440929022BC67E70611531B063A@SHSMSX103.ccr.corp.intel.com> References: <20180510024513.75072-1-yanglong.wu@intel.com> In-Reply-To: <20180510024513.75072-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTc0NzIyZDMtMjVmNy00NmYwLTg2NGUtZjg0YmIyYmI1OGJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJKXC83TzV5UWl2M3lONmxDN3ZwM0kycGJScTNlaWIrbG9UdzhGT2JhWDY0XC9WT0RtTk9KM05oRjZlUEtyUmhqZHgifQ== 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] 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: Thu, 10 May 2018 03:06:21 -0000 > -----Original Message----- > From: Wu, Yanglong > Sent: Thursday, May 10, 2018 10:45 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Dai, Wei ; Wu, > Yanglong > Subject: [PATCH] net/i40e: fix missing VLAN offload capability >=20 > VLAN offload capability should be exposed both VF and PF since i40e does > support it. >=20 > Fixes: c3ac7c5b0b8a ("net/i40e: convert to new Rx offloads API") > Signed-off-by: Yanglong Wu > --- > drivers/net/i40e/i40e_ethdev.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde= v.c > index 894505f98..ad377f440 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -3299,7 +3299,9 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct > rte_eth_dev_info *dev_info) > DEV_RX_OFFLOAD_CRC_STRIP | > DEV_RX_OFFLOAD_VLAN_EXTEND | > DEV_RX_OFFLOAD_VLAN_FILTER | > - DEV_RX_OFFLOAD_JUMBO_FRAME; > + DEV_RX_OFFLOAD_JUMBO_FRAME | > + DEV_RX_OFFLOAD_VLAN_FILTER | > + DEV_RX_OFFLOAD_VLAN_EXTEND; This is duplicate. I guess want to add missing flags to i40evf_dev_info_get ? >=20 > dev_info->tx_queue_offload_capa =3D > DEV_TX_OFFLOAD_MBUF_FAST_FREE; > dev_info->tx_offload_capa =3D > -- > 2.11.0