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 66960A0544 for ; Tue, 4 Oct 2022 16:30:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5988B427EE; Tue, 4 Oct 2022 16:30:40 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id EEB3840DDC; Tue, 4 Oct 2022 16:30:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664893838; x=1696429838; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=BJ1VKVcPnvQwicGdU980FMlGYxePef0YBrTlyJKB6dw=; b=V6eu4UWeyCTxTm9hhJNWktJwPDBKNKWGqdD0iGG7CEzdQzAZWuc2K8HX wE0dCYLor9togjhjdidIqavWJNiqdrmWcNtPmcNDgrpxXlCY4QBqMfo5+ u/9bbOfB7yq07NW6n/WrIic3IRLeVVSQpX7YQrKSrUK7ZskP+IO14szvJ IbT86//oosXhl3+WW2Eb2ICXLPLIYEeIz2jDNvc27gvXTWVmHt9FHIkY4 xG5mlhLfGPNdm77EQQAqWSIgPUz3fczY8TVgWuu6jckP62Rjscwp0DIBf QrJuIChGegBYtmMk9c/cuKmrMOkkb/BKivCiSonQJF+Mj/6Tpqu15l/ZS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="367019112" X-IronPort-AV: E=Sophos;i="5.95,158,1661842800"; d="scan'208";a="367019112" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2022 07:30:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="601638714" X-IronPort-AV: E=Sophos;i="5.95,158,1661842800"; d="scan'208";a="601638714" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP; 04 Oct 2022 07:30:36 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 4 Oct 2022 07:30:36 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 4 Oct 2022 07:30:36 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 4 Oct 2022 07:30:36 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 4 Oct 2022 07:30:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dg6ixIFfUevaHfPqant3ZAlVRrA/sRKj92Q9xyv+fWfVODngkx+v+CK2lLCsNzY66hWrxKZBO4wmpqd5ecq8kAx4CfuZFSvtjsR2zI/fo3RpOql7kRKb6xwAykMaXo85XZAp/YfdbtV0DX2lWHYSa+xAnThsc5pwBJebtRJIlbARDk4iTHDP+FwK/WwANPgzoAOq1Vu8p6OPcWNflOusQ5Wzm54UaCtKkWbnEI8ihTv6xUn40cGP43hgLMqW6rpNFuk81t9eYsOayxVv0wUg0E1ISBNstR0XDiyPYJl2S9hVhH/eKvd/28fAK7u9f18Iv2dlGHdxxRpB5HrqZMk6kA== 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=cLAamRfeEMKeBtR2+DolWRaevwajEiKPxc7qOlToAk0=; b=XYRFuBNtO9s1VSjLgHqoSI2+WoQAZVXtEuq/4c3/UXOXvhhHh1n8AyYvJvJ4bkaHd9ZZVvVm6ea7MjU6g1Ptwy1p7IcA35RfHbcSDB52WJk2ZoUOEeaf7NX2oz3MXa9g8wTvEOw7uR98wxoEd3T98gcEN+wZ4VpFDytUnwkd7dL8M0xBfPSBoLkHljU4PktLFUtO10fz1cCwR9IE+hFqmB454QKb0oE8XjhbdztI/2mo2QtUT1iVNWvzDCV33SL5Eq3E7K1s7yoGWKRgz/lYUXz2QIL9dKYQUBUQRcMhqQ1U4pkUExte0+7Rlr3koo+KesKOzRcHqC1AJN+vq5mwDA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by DM4PR11MB6552.namprd11.prod.outlook.com (2603:10b6:8:8f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Tue, 4 Oct 2022 14:30:33 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2%4]) with mapi id 15.20.5676.028; Tue, 4 Oct 2022 14:30:33 +0000 Message-ID: <2e54cbdc-0eed-f86d-af01-60d96ad21795@intel.com> Date: Tue, 4 Oct 2022 20:00:22 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH] app/testpmd: fix vlan offload of rxq To: Mingjin Ye , CC: , , Yuying Zhang References: <20220930154557.216141-1-mingjinx.ye@intel.com> Content-Language: en-US From: "Singh, Aman Deep" In-Reply-To: <20220930154557.216141-1-mingjinx.ye@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN0PR01CA0054.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:49::15) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|DM4PR11MB6552:EE_ X-MS-Office365-Filtering-Correlation-Id: bf76bd34-8841-4646-c350-08daa614ff01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P7yQu6uGyCmTUzli9atICXw2h7TWyPbqqmSiJus5x6ybES7KGSvjbIYs1nmp3MJMsqGj1RclFaIMmBctcl187LGRfPJWuD+u4KHoAiHLaXmMEttWGaWpqAWPJSE3w0grkfbAJ8jj8JzcBbiXndJZZAa5fGR9i2TWCZx6gLIcgRBWxJsoW7FdUKLu8FT3Py5Aoe0zsyAC87qzxN2GmdbQfI09VX+91gVFC+o40jBFGuxQhD2AJCf/UCU2Uh2y/0c+AlThz1i7R21WoUDh4MkxZg/rkDA+E+c9Q1u/+Ab6s8ZpXDglwDERBWwIumpb6xVdqDKoYsdHQm9pMqsUSgeFvgTvijzrsi0/k2VtZqbmA1pcJfeDfpzXIiE3wQ1rrY94LJc/tAgyhnE3YORve2bhTXwSv/MPWSp+EOei3W28KoKL7APyVyJLpqqAQQID0s+djPQzsW9hc/7+DPWy9FMOaN2fH/wygJCNLykcIxYEp14dJ9okFdNOMD7gLYA3T1I7FDtTRJvg/qb+HwssBSQcgcWCKItyQ25h76NkMslzzhy2Z7sU6eJPhWiXMAbFLitj7EkSNyDHHR9YmTyKsjOGfEIh09rD4eKtDyBp8HlLvX3bJ32QbT/yOuR3qE/5bnBiHiQxHsZgA9XSD16jdkSL0ZKwhSzUtRHDDqdP9FwyOb7w+oYalLRG31x49QAx86SXhDi764kIp0uVMgWNYYEjRJjHCWh9RiFG+AhsLUUdUl4gyBTUV4s3nHvUG6JOgZSXaRs1Mk4SZSrSnCYjchnvjfmEAVxK5yyEMSebrYhHPTo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(396003)(39860400002)(376002)(346002)(366004)(451199015)(5660300002)(186003)(4744005)(4326008)(6512007)(26005)(36756003)(450100002)(66556008)(8676002)(66946007)(8936002)(316002)(6506007)(53546011)(41300700001)(2616005)(82960400001)(38100700002)(2906002)(83380400001)(66476007)(478600001)(86362001)(31696002)(6486002)(31686004)(107886003)(6666004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dzRkdGVsVzkrN09NbTkxTE5OQk9Ka0tqeTNydUs1Z001MjhpdmZPWUJGYkV3?= =?utf-8?B?N3J2ODJnY2dLaWdVMnFaOWNocWtqdW9OR1pmR3U3dEhJazF1UUpDNERmQ2F1?= =?utf-8?B?USs5VlpIMWVWV2Z5ZStLc3FHS2kvWm44ZUU4MlhoaTlwMURVbGcxajRBc2Zo?= =?utf-8?B?V01scWNtL1hQMEdTRXVtOU1iKzN6T3p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cG5OMUg3R1p4OVVlR0NLZkF1MkIvcG1uTU8xQTVoRC9uWEtSVjlC?= =?utf-8?B?dUs4K3QrZENxd0prdjJHUk5tTnd5Nm54UW50MGVwV2U3VGZabHpIdmY2cDNS?= =?utf-8?B?SUEybkQrQmc2TjVOdmxRVU15S0tjR3JLU1BYaXlWWVhrd21sZHhvaDBiNWE5?= =?utf-8?B?WFE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: bf76bd34-8841-4646-c350-08daa614ff01 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2022 14:30:33.7021 (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: uP3rk5Uic8MYk3JjDW+WbJzaITS+/3VGiyAtqg/F6Dc/7ns+VbCv0+3l3dN+RCJ4loCLS3FQlRAzJNXcX61dshVyS1jrPtdniXx6qqbSgZA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6552 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 9/30/2022 9:15 PM, Mingjin Ye wrote: > After setting "vlan offload" in testpmd, the result does not > update the rxq queues configuration. > > Therefore, this patch is to reconfigure rxq queues after > executing the "vlan offload" command. > > Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") > Cc: stable@dpdk.org > > Signed-off-by: Mingjin Ye > Acked-by: Aman Singh > --- > app/test-pmd/cmdline.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c > index b4fe9dfb17..066a482fb5 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -4076,6 +4076,7 @@ cmd_vlan_offload_parsed(void *parsed_result, > else > vlan_extend_set(port_id, on); > > + cmd_reconfig_device_queue(port_id, 1, 1); > return; > } >