From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2 1/2] app/testpmd: fix tx vlan and qinq dependency Date: Thu, 21 Mar 2019 17:11:12 +0000 Message-ID: <2df6ee75-8330-7e3e-673c-71b030a57416@intel.com> References: <20190219064840.12046-1-ndabilpuram@marvell.com> <20190318095613.28167-1-ndabilpuram@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "xiao.w.wang@intel.com" To: Nithin Kumar Dabilpuram , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 36D7D1B512 for ; Thu, 21 Mar 2019 18:11:16 +0100 (CET) In-Reply-To: <20190318095613.28167-1-ndabilpuram@marvell.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/18/2019 9:56 AM, Nithin Kumar Dabilpuram wrote: > Tx VLAN & QinQ insert enable need not depend on > Rx VLAN offload ETH_VLAN_EXTEND_OFFLOAD. > > Fixes: 6a34f91690d0 ("app/testpmd: fix error message when setting Tx VLAN") > Cc: xiao.w.wang@intel.com > > Signed-off-by: Nithin Dabilpuram <...> > @@ -2963,11 +2962,6 @@ tx_vlan_set(portid_t port_id, uint16_t vlan_id) > if (vlan_id_is_invalid(vlan_id)) > return; > > - vlan_offload = rte_eth_dev_get_vlan_offload(port_id); > - if (vlan_offload & ETH_VLAN_EXTEND_OFFLOAD) { > - printf("Error, as QinQ has been enabled.\n"); > - return; > - } It looks like you didn't take account comment on this in previous version, can you please check it?