From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 087E9A00C5; Thu, 27 Oct 2022 13:09:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A191642670; Thu, 27 Oct 2022 13:09:43 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 6451B41153; Thu, 27 Oct 2022 13:09:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666868981; x=1698404981; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=TDHsTLxFZEWCbZ4HRQQe9FyvuDhWeWvbwn18UxkKl5M=; b=hguMO56g4Fh5VQ2bXvUze5eXbkk6QuZKYa1YHiopA1+jzMoq/9GI/1IO nm9ET/LCsTUsHQE0oAdX02kcEtlEB/Au4NCbShBWO0+xA9XmWse/GxT7R J+wfdhhT9Hx6ngu+QRkJfxUNCRX2CM/2cq2RGLXDfUmZIQ0TCKGVb+VGt Q3ec4zxjS2Yym0n5coUKZv/6MAskn/qHT4+D9pOpxpHKnAyLV6o2giiuK 07/8de5VZ3l0zLqeWXsWUpOE4RfEMj9tIe+EJzC/1YbcIxQ+sbpTJACQZ oGqtWDhFI6qUGXyKbtxMuHUBH0azyj2itPtpNAiJ3zrgATYrkfhjRiHbV w==; X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="287910289" X-IronPort-AV: E=Sophos;i="5.95,217,1661842800"; d="scan'208";a="287910289" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 04:09:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="807415852" X-IronPort-AV: E=Sophos;i="5.95,217,1661842800"; d="scan'208";a="807415852" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga005.jf.intel.com with ESMTP; 27 Oct 2022 04:09:34 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 27 Oct 2022 04:09:34 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 27 Oct 2022 04:09:33 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 27 Oct 2022 04:09:33 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 27 Oct 2022 04:09:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RpnEytqB3bFsk/HpTK++5+dOSfI4hsLVcFm2y8UvXpZYv8Vv0Q6H11Cyu0LExkHDTMLosQpyZFbKPINaSITDzDBxbgYgKVNHLbK9Y10MD+Cp15qF5Uu14vlXEQClPIBKXHgZmmgyoR8NNAe3BbhfGFOOgQSXwZc5y90BaY+cgluzQHjnAEPTWx4GLjkUwd0UzHvIbzjoZXMgORJJwvrOt855gnLj0ObtB6qWYyPebioyHVpaSx8ys6JPdG5EZkPkbOw9jn4Trb7d340QkuKUhr0cd2wgOJJjpT7uM8rMyRLaOiuA30OEmiLaauxpuCIY9L696DE+VkPCOu5MeFGdNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yi0Cktl7X3VeLv4l3VXgJfDL60qsgf8Eg2fCE7bYvYI=; b=jX29lH1YtpFuQvcC43jft18xc9C4SXG7raPK7sbeRzEzG8DrY0f6dk09qVhLK0xDZr8mfu8RyQ75sgAiajriEq20JQR5bblnxXozjfT6OIafldhV9ZIY9mejFw8+W9ZFU1M5G4IJBp3AiDnrsb8PCY6asRX/VAgNiC5Sp8VJaKnQFejPp+MlPw+MfT/Bhqd6z72nAbmynnHgOHzrf8ZaEJBm7htZFkFatSEaaorQA4jfXDJWNc9r/Y1dqXk5n52Cs5OJh6dwEdjHG+H7cGk3Q0VDPjlNHMTAy7n37lPDiW2poCPPQslPk8ymugOz1o61ozVfOrOwqH7fDtM7aI5ejQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7139.namprd11.prod.outlook.com (2603:10b6:806:2a2::14) by CY8PR11MB6818.namprd11.prod.outlook.com (2603:10b6:930:62::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 11:09:28 +0000 Received: from SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::10d6:ef9:4e14:bab9]) by SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::10d6:ef9:4e14:bab9%3]) with mapi id 15.20.5746.021; Thu, 27 Oct 2022 11:09:28 +0000 From: "Ye, MingjinX" To: "dev@dpdk.org" , "Yang, Qiming" , "Zhang, Qi Z" , "Lu, Wenzhuo" , "Rong, Leyi" CC: "stable@dpdk.org" , "Zhou, YidingX" , "Singh, Aman Deep" , "Zhang, Yuying" Subject: RE: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq Thread-Topic: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq Thread-Index: Adjp9E6ArI1RKbMpQteu6dnbEmKtfg== Date: Thu, 27 Oct 2022 11:09:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7139:EE_|CY8PR11MB6818:EE_ x-ms-office365-filtering-correlation-id: 068eb956-f183-4dea-e7b2-08dab80bb749 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6VCRY3uzCz0sKsgCaXGzcvONquqRYR/JCRLOWpvsihW3N3+0Wp2RFZ6Ok2r+Cu/rXb6+KDqd2/uX4cStFvnEBSVtFK7AyPb0jXYdx5D1eFGsBRGtoY2PHjzsDsB0G6d6c9GctYiWCEjWoN+uNSfl19he5drxa2VVC7U2s52/bjEfgMqlJnzM7v34PGTpeJ7DXUHR8GQ+v724V85ZUMjF31DH0H1yCa+U9nqcDYvbY04iDRkvJA/ap+2kbNyyUcDdFZKnJQvTWCkH3O1VWehao+9ctiBdwZ5asV7fp5otQVOTTkLVDzBqjtPvqVmMHs80ILB3MKOqA6Cz6XGLENvhzo8Ou2ZCdGQ736CQaCyyjInDSrGtcpOF25Tkcg7fZCnt5kHDZFD+oRnQxKSsq3gu1mjDForgbsP0C7VinslOMk7MntbbUpSh46Wukz/V4trQLhoALYArVzrPCXyBrUP6UJrzOxf1w9azIPlpO4fGLrHng6kLtrMy78YrdLV7iZT/l1RdRlygOZOI/VNsYx0cg9KnQLCkFMYuhwt9gaypCOqUQ9X3v51Dnkig4/o68+MUiT62+tZyNVy4A/hwGh4vvdXLwFRABPzqOwXFOIQgeeTxLFRrGwt4z/MLovvrFlGQtZJI9S0QMit7wQrDR3t0E+y8B21WTZJ5GmavMSS/d9Jj047LnB4FVTFWxi1SaIKRtTWsve6n3a/pJn10lP2ma4woGka/tXPEtBkSpklsMpumHZMhQlsVy0U2WOmJvFUwjVJcYVihbp6zng8CgLOOYA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7139.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(366004)(136003)(346002)(376002)(451199015)(82960400001)(71200400001)(38100700002)(38070700005)(122000001)(478600001)(54906003)(6636002)(64756008)(53546011)(110136005)(8676002)(7696005)(33656002)(2906002)(186003)(6506007)(316002)(4326008)(450100002)(66946007)(55016003)(76116006)(107886003)(41300700001)(8936002)(26005)(52536014)(9686003)(86362001)(83380400001)(5660300002)(66476007)(66556008)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?SUJIQjVzTXFhcnFnTmhUWjdSZU1NbTVBaUF3UkYxTzVzaFZxWFdUTVhp?= =?iso-2022-jp?B?YTgwT205VkRkdncxcjcvdG9kbnRWRkxPb0VIMnpudjUzQnR2TExoNCtw?= =?iso-2022-jp?B?UUJYeEw4LzBHaHcrMTJrTWZPaVBIUXR5b0VrU01nMlFnaXRjcGp2SFNX?= =?iso-2022-jp?B?TDVKUEZjR3Q3aDJtWjRyVFdIaHlScFYyand3RGtBVm1TTFA5VEJmMU9h?= =?iso-2022-jp?B?Mi9rRlRMbDQzTlRIeHYxTEJJbFVzV0c1aG9kcGpIUWZNeExEanRYOGlL?= =?iso-2022-jp?B?dmJpVzRhZzdLWWhxaVhhSkxId2NOT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iso-2022-jp?B?UEFnMFMrMDROc1VMVnpvYUVGN3paL3ljV3piSGhkMUs1dGNSNmd2TmRG?= =?iso-2022-jp?B?VzNJV1BJRjBVN1VhY2kxRXlnS1VJT2VnRDVzcEl3RDZGaG15a0NiZzRj?= =?iso-2022-jp?B?TEZrWksrakdLVlVqVklTelhDdkU3eWNLY095a20zWERUQzV5QXVCZUwz?= =?iso-2022-jp?B?QVlLdQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 068eb956-f183-4dea-e7b2-08dab80bb749 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2022 11:09:28.4946 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9bLuPLmGS9vaEr7p3tFT/ds9JP+KPsyCz54SHtLCYEz3ny3j1IvsoGZHcegKeTPyQ7Km+wtqstP+4fNIH+ZTSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6818 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi All, Could you please review and provide suggestions if any. Thanks, Mingjin > -----Original Message----- > From: Ye, MingjinX > Sent: 2022=1B$BG/=1B(B10=1B$B7n=1B(B25=1B$BF|=1B(B 1:27 > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Singh, Aman Deep > ; Zhang, Yuying > Subject: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq >=20 > After setting vlan offload in testpmd, the result is not updated to rxq. > Therefore, the queue needs to be reconfigured after executing the "vlan > offload" related commands. >=20 > Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye > --- > app/test-pmd/cmdline.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index > 17be2de402..ce125f549f 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -4133,6 +4133,7 @@ cmd_vlan_offload_parsed(void *parsed_result, > else > vlan_extend_set(port_id, on); >=20 > + cmd_reconfig_device_queue(port_id, 1, 1); > return; > } >=20 > -- > 2.34.1