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 06232425D0; Mon, 18 Sep 2023 13:25:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A6EC40263; Mon, 18 Sep 2023 13:25:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 75E964021F for ; Mon, 18 Sep 2023 13:25:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695036305; x=1726572305; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=B0eVrENg749KUbPYQwEQnfz4QzKPQRM+2Z78WdoKERQ=; b=GJcJQ+15WHPIhgLEXEfVRjp34KxJdd1e8fnSJChNLKZiVCTl8UMsLlW5 8Ba3N16YGs/YiIgSQ5d2qKThErExnFSg6HT6Uj8FXOdAoxOWtxA+u6R9T 99Mv93c/55cdCBPF9+M+P5Tk/Mhx6tPOeK1G2H1AfqG4N6EG5yFTEPGrx 8M132F+tWh0eidSuswPa03+XYZvNaWM1FReos+IUPiwSdltXmXi+StFvM 1AWZE8YDw/Gyz+3D5UEervS+W7lBIBfgqQCj80nIwB2meKDMXZX6gip98 zuYK145CSbzdV4O9ww+XzNL1eUyNJSD/OOl7V/fTAzUqS++8eBvzjFvul g==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="359047051" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="359047051" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 04:25:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="722433057" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="722433057" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Sep 2023 04:25:03 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.2507.32; Mon, 18 Sep 2023 04:25:03 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Mon, 18 Sep 2023 04:25:03 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 18 Sep 2023 04:24:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CyM9hxsL/Zxl2nFPGTvhRYaqfiN3e1Qu7g4ZVPOMScCjakaAtAjV3BR6nuPEXVMy49RpSVaiP/KeoZxhUtyejOIBm0R4985VlKlwXD2F8To977VhyDl5ggIilIA2obSakXIsd3lL1CQTdcaROljR0WAqtZStx2hhi+SXpeFAncDtxz88YW9ufJHRJEqb2S7U1BW3hbQSfHsF8Q1zqRTmjpKgpBNJcggIhoZhBaPRo1m6eZprGCRnwtLYbbU1cIZeqKxFs24vaky6EQMfcbnjqQt4Tk7/ERmaJfyTY+Tzp2tNIpDPRGgDV1efDPqzKxRJUyEj8e5/k1+O+awlB3eQWg== 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=B0eVrENg749KUbPYQwEQnfz4QzKPQRM+2Z78WdoKERQ=; b=gsriRQHvppbVMIcSaBBmb0JQi97eL82tLey23OMpYNvL5WtvS9KbS1sz3b3g9CTOT76ww2adBw8cyH/j4aTAKpiqSFWD4ifFcMDKgu4dh47J1h8ow99RHd4XYB19whxuRm5j0Z0jPu01UnTCLs8TCcz9PQXb1SNGaZcUE4eAX2KBfJ30TTlJJHi1NXfdQqHv6uuJwxXYqOAoWiilKWDRw3Bf/gQw+pEoiL6WJfG9GEbboW7HK2pNB9j+LRpMQK2R/+ePBwpR2LBdnGXDIr7cQgEdpJs35TfbTPwpudFvudm3sMeZiUtlJTx0oQ/ORVCdPtXIVQY9ibHyPP3IbHvE2w== 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 DS0PR11MB7442.namprd11.prod.outlook.com (2603:10b6:8:14d::22) by PH8PR11MB7071.namprd11.prod.outlook.com (2603:10b6:510:215::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Mon, 18 Sep 2023 11:24:50 +0000 Received: from DS0PR11MB7442.namprd11.prod.outlook.com ([fe80::d480:4435:2089:dd78]) by DS0PR11MB7442.namprd11.prod.outlook.com ([fe80::d480:4435:2089:dd78%4]) with mapi id 15.20.6792.023; Mon, 18 Sep 2023 11:24:50 +0000 From: "Dumitrescu, Cristian" To: Jie Hai , "dev@dpdk.org" , Lijun Ou , Konstantin Ananyev <"konstantin.v.ananyev@yandex.rukonstantin.ananyev"@huawei.com>, "Thomas Monjalon" , Ferruh Yigit , Chengwen Feng CC: "lihuisong@huawei.com" Subject: RE: [PATCH 31/36] net/softnic: fix Rx and Tx queue state Thread-Topic: [PATCH 31/36] net/softnic: fix Rx and Tx queue state Thread-Index: AQHZ4kg2+SSDAzDs7kOBjzBR4A9YzbAggLIQ Date: Mon, 18 Sep 2023 11:24:50 +0000 Message-ID: References: <20230908112901.1169869-1-haijie1@huawei.com> <20230908112901.1169869-32-haijie1@huawei.com> In-Reply-To: <20230908112901.1169869-32-haijie1@huawei.com> 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: DS0PR11MB7442:EE_|PH8PR11MB7071:EE_ x-ms-office365-filtering-correlation-id: e9281dbb-7251-4eca-f8f0-08dbb839df38 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AdMx06QZl8JUhgxYBBXsaABo4jCz4/j+suCB5GB8ESxK8nuP30Lxu+XjW9ICMpcE2XAGQ987I61T5hx9xWn8EIMaob2BMfTk25vaNiiZ/AIpAa++p02sjNVjDgV4sK8ZAvrIg8KtPvP5+1D5V9eMGVuZ2qMKA2+mI+Sjj2PWhGeVJM8fLAVd+sCY9BZdzrwRuNmshEUFJ7wKZDBiswmrGWomNphVqvn6ZlcsUgSns5y8eyoZKztx1jWZRo/zeEynnWh9xCF16Qm3sFoHq2VWbpO/EnrXXoIrUsHaAq2PgWRDPS5t1nOV1bOyEJpwEPEXYMoDZOm0OCyf+98+4TUy7mgiYOamBLiryBm/vI2klo1CjBuJoIVqkQ2Zq5kySTNljayc35WjB6NomvVQ+m1QQU76c2G8eA9F8ipeH5uHUdaE6JUNina+Q5LylZ/xytX4OKVu4v0HZlKfUs/y6hi9c2MhmdFB1D+gXWtcsCRd2uX0aDGh5HniRlfP4+T9/SRq//L6J/mXoo1FfMY4bJVbq2WiFLvnKYmKqhDAZM3LBY2bng5k/+iy8oIGEvEGkteP9gQpGl+qFCkJddVXVMHgyZlCaaNd1QXILMV2+lBN0JKjRHOta2suHheLo8nzQoId x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7442.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(366004)(136003)(376002)(39860400002)(346002)(1800799009)(186009)(451199024)(26005)(52536014)(82960400001)(8936002)(8676002)(4326008)(122000001)(83380400001)(33656002)(2906002)(4744005)(55016003)(5660300002)(86362001)(53546011)(7696005)(6506007)(478600001)(71200400001)(316002)(9686003)(76116006)(110136005)(66946007)(66446008)(64756008)(66476007)(38070700005)(41300700001)(66556008)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?++lhJvPOeas6j2df99eKlPW8G3v2U0lblp9zvxYy42zWSMLGbqeUxqiVyiBG?= =?us-ascii?Q?4HZUpNJ2uxEjzqTF9q274ZqphUOB/A2kfMzmm2AVFKCjSJIzvUheupVkK09e?= =?us-ascii?Q?xbQaEN6ZDTombjLJf/V6ZbcAsIdlp2mnw8y9dW88e+kMmgKMPGX5jSNbbuFS?= =?us-ascii?Q?uRiMQAEp3exoCMshcsMROeOGKDExjLJPKSV4jLj9+qJPqmOCTsDovJzIJQsq?= =?us-ascii?Q?qoqwafnYNr0QlxOvqF5i3m34fPDfPfZq9SZGQM/t248CYFJAnY253B+2HoWU?= =?us-ascii?Q?jWjrfEft/4h6mLlRYvJ7T99lzUdWq7Fv6yNsZ+bt2csUOO1k82CgfHeqgtV8?= =?us-ascii?Q?FT9dnRZZQgcgFHA3MI8WICWaBsWpPaxo2z+5Zgx2+xjQ8xfKYD2hOoKYxtsZ?= =?us-ascii?Q?u5iSGG5ohJmi8J1XzlCPGxMmLMYtVn9N8ANWwIAsrb9vop0ZV9+3/Lyf2xzX?= =?us-ascii?Q?IhTY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psSdoAsppgaKEKvXs8ovbF?= =?us-ascii?Q?zJNG9ZEDNzaIrb+DETsl0A3frpKeHZ6aEpjALyIW29s7JStTxMmUybXLbZXs?= =?us-ascii?Q?2B8lQcFd4KUL/A6orQgGYcV/MjEtlXC0Stkd1xru/1O8H76kob81rBeAZuXp?= =?us-ascii?Q?VLtaNaY2PNbL503ss0qq5My5paQKQ7LykxNqCOkmOKtyTI0A/i8hWDVRK7Rv?= =?us-ascii?Q?gppCEigjTDO4MUwDuC7HvxZj36Yw4nc5I+dx+uugYYHuVginfstlKWeeb1/W?= =?us-ascii?Q?FA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7442.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9281dbb-7251-4eca-f8f0-08dbb839df38 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2023 11:24:50.0584 (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: qwkpsPqyhQUsMLfGv37XmKMcwsQlsJV+seonH9PJtfXHB9mAgnJwz+VuIHXrmVnFklqjkljjbkXF4A4Fu02Lhc8kyECczAlymzqvycTvEZ0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7071 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 > -----Original Message----- > From: Jie Hai > Sent: Friday, September 8, 2023 12:29 PM > To: dev@dpdk.org; Dumitrescu, Cristian ; > Lijun Ou ; Konstantin Ananyev > <"konstantin.v.ananyev@yandex.rukonstantin.ananyev"@huawei.com>; > Thomas Monjalon ; Ferruh Yigit > ; Chengwen Feng > Cc: haijie1@huawei.com; lihuisong@huawei.com > Subject: [PATCH 31/36] net/softnic: fix Rx and Tx queue state >=20 > The DPDK framework reports the queue state, which is stored in > dev->data->tx_queue_state and dev->data->rx_queue_state. The > state is maintained by the driver. Users may determine whether > a queue participates in packet forwarding based on the state. > Therefore, the driver needs to modify the queue state in time > according to the actual situation. >=20 > Fixes: 9ad9ff476cac ("ethdev: add queue state in queried queue informatio= n") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jie Hai > --- Acked-by: Cristian Dumitrescu