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 0A9414380E; Thu, 4 Jan 2024 01:26:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ECA43402BF; Thu, 4 Jan 2024 01:26:43 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2929740266 for ; Thu, 4 Jan 2024 01:26:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704328002; x=1735864002; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=TW+FP8NTc804QnahVL2y8muh3UNH6hbk36pCP+OMbA0=; b=igvixXolEfZUeSN/yEmdTXmID045vKdGkAMb3nHXcDyjd1N/QqoSk/+2 YQ0RSjexQRV8DococUf1oeN1tAC7tWMm+2RruuTHnvbU4DtXFFao+dTYJ shciqk7GMEdeKB67a7Hdwy7IMZcJpQNhJbKNUZXUd0Vgxt4sOcpGS793R aCtaEJSi57LJbSbiWqip1lffT8sN0h5xUr2dTGBKjUKLT+2h5Dx0jLXie JfydaZVuCIES45zpnTePFtjEkJtErb69PCHDXsaHG0esI6GXvzpuRkqT1 ujjLPVXkYIJZT68tpT7XC8t9bj3siQ01Gx0wAzh0C+wNIXINW5e49mGl3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="463495518" X-IronPort-AV: E=Sophos;i="6.04,329,1695711600"; d="scan'208";a="463495518" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2024 16:26:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="729949362" X-IronPort-AV: E=Sophos;i="6.04,329,1695711600"; d="scan'208";a="729949362" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Jan 2024 16:26:41 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.35; Wed, 3 Jan 2024 16:26:40 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 3 Jan 2024 16:26:40 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 3 Jan 2024 16:26:40 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 3 Jan 2024 16:26:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VzhufX5n2nOOq8L6wKkx/YhFYlOi/3nemsNfMEMDRxanrSTMzwMcnyulE4V+sbhlqj7l1vA0LiWHqBR7UPrhT5BBUyY540Cem/i037fhkHovWyUXmpy0ycTNQk4/s8StaUccSi7iqMRdUOvI+A+5Yu9Zjqdzts3+woTjv27IGVlYLIKbxkm8azrYRYUzPaMKADIar8ssq1TmzMWTrCOK82jNKoQB1E0S+azUEp0akleuPMILfTn6Q0y6WWKft2qBEvmS0G0tQW2essNEM50wP7t8pchPTQ5bvAHuh8B/xGiHZIBJxCdM4OlxiJbbgWzYx+/Ykn8qEGfJlzCvu7rNFw== 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=nr5UiUMtegyTEpXuDI5EI80MXL/+vpBRu13XtZrANMY=; b=AkSM3G05YU2vexvMoxui8SDUb9GVOZCup7phlfqDbHBYeckMbtma1JIzUM53R8BSZpQ8/9E0K8R+I1qvubyvSUGPLOJQeIL1ksmPByHZVvbRBXH+0QYotHeNLiefOu/QJjvk2gIW9Fy+uQUz10a9eYgZxOn4r/5n7ia5DWdGT9+rL0P2sXMcbTzgDH5XX6x/GGBB/tY49xXVlPGFIth/FW5fnL74ahqQCUSM7JEMeBDOX5W9J2DgSF/MvUmFbwAaRFNybIla7utD50mtmGF2tFQOMLZk//EH3e0BabltYMgI6TZetdIDdJwkEnx/0HykDaHDxEHqqhUGA2dUW8ub9g== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DS0PR11MB7357.namprd11.prod.outlook.com (2603:10b6:8:136::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Thu, 4 Jan 2024 00:26:38 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fc91:526:bead:4f73]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fc91:526:bead:4f73%4]) with mapi id 15.20.7135.023; Thu, 4 Jan 2024 00:26:38 +0000 From: "Zhang, Qi Z" To: "Zeng, ZhichaoX" , "dev@dpdk.org" Subject: RE: [PATCH v5 0/3] net/iavf: support Tx LLDP on scalar and AVX512 Thread-Topic: [PATCH v5 0/3] net/iavf: support Tx LLDP on scalar and AVX512 Thread-Index: AQHaOTvAZMyAbhT/m0iYpvmLq4+G7bDI1sEg Date: Thu, 4 Jan 2024 00:26:38 +0000 Message-ID: References: <20231225031451.4002181-1-zhichaox.zeng@intel.com> <20231228032211.1127554-1-zhichaox.zeng@intel.com> In-Reply-To: <20231228032211.1127554-1-zhichaox.zeng@intel.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: DM4PR11MB5994:EE_|DS0PR11MB7357:EE_ x-ms-office365-filtering-correlation-id: ab92851c-2c78-4ef4-ad79-08dc0cbbd0ce x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QVrPqWAqhsQylKrYcM/3yQHOVPUU1N/oHlyixMPNA7eKtuWKmgLor7EhpPNabfZPfmw+3auTOdVScDXeODJJnZwHZhmym7gbNnycw/nxEdvMYoTSWga0C/3iOQE+TKxyB+N0y6KdM1+L0SpbEvE18zq6eNWYf+2PspTpc83aPH4GCd76pq10Z2EptbbXpvYn8OiVwoIjgc99Zc/tyrGdUxEX/DGx3Xen1IcOy4a4kiufPrOUfoS+X615FLgPlnfqj1fcqDqXK/Y0gvB3uoXTfs6nYZQ7HqP8cUh6i98PlBYJ3+jBNIxiGJT5CHxFJSt/5kQtUwjx9oiNrbjf/Aofj0rSYJHmVGSefyqd7DHVIkQbJQVOAEOAtmGqn64uh2O4CWJrO9jOpg6lc3GBVZP4S89jMq+nbGO0mUzi6UZlbaa9I7cfn1JAbJH5LTlgWzs+GT+kwfE4oJerUjxXsYZUoG/YR+zKVmJDH/0dF59j5Uw/xh645jCFYyXZpdlZhG0NDmGQR23aLa7YPvj1FdI1OaCQ4lToJdEYbiX+WFhO5R0SKh36JcO1df06Mw80y9PEVgeRQ4YoJvHZnULlJhhwE9bnPdfBOc8mNVop0bogjL1Ka2bUEfy6sByPsfhIrOGY x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39860400002)(346002)(376002)(136003)(366004)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(55016003)(6506007)(53546011)(71200400001)(7696005)(9686003)(478600001)(38100700002)(122000001)(86362001)(82960400001)(2906002)(26005)(38070700009)(52536014)(83380400001)(8936002)(316002)(66446008)(66946007)(66556008)(8676002)(64756008)(41300700001)(76116006)(110136005)(5660300002)(66476007)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zvazz6/ThRTWqMsz2N3bgvD3L15Z/P/li7WCU+Z6mw6lpPpNEX/tdjrG4tCx?= =?us-ascii?Q?MfJ05HL+0UXDJAvi5a0XjOEd0uVfQr8nhq9z14gPHeJfrZhIc5IfBkF1PVFb?= =?us-ascii?Q?HMch/9f7pUaGP6Pw8/QuMPbKktucxOnDWZRGD9yITK+H3ChKhYi/VO5Ee/5B?= =?us-ascii?Q?2uQSzUhm0O/CQY/FsRnFKpBpha6ztcS3ktOxG1lUb7YSSHdFFCbe0zDtHUgi?= =?us-ascii?Q?Jrsa//73DJUusyFZ0TAj4RG+7oItJdohtro3MnNJYMFeQDHd1sgRCDsPJ06O?= =?us-ascii?Q?8L2hEO/sAtlUoGD2aS43cG78YQwmttC2u+CqsddCZvw9HmtvkbshP5XlfJWD?= =?us-ascii?Q?QPct/K9tgWFUssVpFVrZLpHdV9DuEmhd3JH8ZwRJuwH0ZS0nkjvSnU8Jaq3A?= =?us-ascii?Q?1nf993AmoxxHz9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ii?Q?Oi21EKo/czjZOpUAt0zkst8jNmwMF2m71GpPQDqpAOcNa0Z0iYTPO2nNpkIh?= =?us-ascii?Q?i7LUGwYmAhkGsw+/X3dgKLBA955d+m3ZGrOR2y7tGSTCIxjIFy9ZwjirgObi?= =?us-ascii?Q?snhG0KP3Rlt8Jcmdnag+mA4JOKMt5fC2ojfE5DH/mvvJfkUxkwvIpvCaHouw?= =?us-ascii?Q?9W7fSmAJvigt8CT7J1WeT1W2qCpuQ0/u3nii8AsRwk16oFAaW0jRfeAsIg/d?= =?us-ascii?Q?+p7Bp4xpnSdhQuYyskz7ChnKX0C5o07BU2Al8n5G?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab92851c-2c78-4ef4-ad79-08dc0cbbd0ce X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2024 00:26:38.1185 (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: LKM5KES9soDOjqHOOv270TYkO1zaHsiMacWRYTgH/VY00ZlwqUYHkg5LQGGwexGdGsTO5L5V6La+VLd4CesCHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7357 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: Zeng, ZhichaoX > Sent: Thursday, December 28, 2023 11:22 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Zeng, ZhichaoX > > Subject: [PATCH v5 0/3] net/iavf: support Tx LLDP on scalar and AVX512 >=20 > This patch set adds an IAVF testpmd command "set tx lldp on|off" which wi= ll > register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD to indicate the need to > send LLDP packet. It needs to close the Tx port first, then "set tx lldp = on", and > reopen the port to select correct Tx path, only supports turning on for n= ow. >=20 > IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on= the > mbuf dynfield to send the LLDP packet. >=20 > --- > v5: check dynfield at dev_start > v4: fix compile error > v3: non-lldp packet do not use the context descriptor > v2: split into patch set, refine commit log >=20 > Zhichao Zeng (3): > net/iavf: support Tx LLDP on scalar > net/iavf: support Tx LLDP on AVX512 > net/iavf: add Tx LLDP command >=20 > doc/guides/rel_notes/release_24_03.rst | 3 + > drivers/net/iavf/iavf_ethdev.c | 5 ++ > drivers/net/iavf/iavf_rxtx.c | 21 ++++++- > drivers/net/iavf/iavf_rxtx.h | 6 ++ > drivers/net/iavf/iavf_rxtx_vec_avx512.c | 19 ++++++ > drivers/net/iavf/iavf_rxtx_vec_common.h | 5 ++ > drivers/net/iavf/iavf_testpmd.c | 81 +++++++++++++++++++++++++ > drivers/net/iavf/meson.build | 3 + > 8 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 > drivers/net/iavf/iavf_testpmd.c >=20 > -- > 2.34.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi