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 267CF43719; Wed, 20 Dec 2023 10:23:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10E4B42E7E; Wed, 20 Dec 2023 10:23:19 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mails.dpdk.org (Postfix) with ESMTP id E509040266 for ; Wed, 20 Dec 2023 10:23:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703064197; x=1734600197; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=orAnS6QAkyE9+tcGS/F124lWCi93T+seJ10lOXYJWlY=; b=ltk8+f6w4RuRazIePHIdmh2o1HxitT6jlygSO171N4Btl213HAJGB0+W SM7sPE3CToQqGKqLuI4T7pusuF9DYx1Odw1io83+fUtXqDfrjHZeMfG7d bfER6xuuF0AWTHLsXVYfvw7BLcK3N8/r6E4PIKBIlc40oH4RYAHtKxp4u yOqR8EIMA4z/SJLZSBVs85Vfn70RbsvaQLfLqJBq7rvwPLMjqsoYaL0zt gBnoUBBphr8XzDcXewHn+k4+z5hCeGm89TYARqXhguRsp+z+EuqV/wUcI TPXnMnm+mCg84fcdbZ84M5zSxZMTZoPVsRN17S8wKLEYKv2CXCXU3OGfw Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="3007848" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="3007848" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 01:23:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="769525063" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="769525063" Received: from unknown (HELO zhichao-dpdk..) ([10.239.252.103]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 01:23:13 -0800 From: Zhichao Zeng To: dev@dpdk.org Cc: qi.z.zhang@intel.com, Zhichao Zeng Subject: [PATCH v3 0/3] net/iavf: support Tx LLDP on scalar and AVX512 Date: Wed, 20 Dec 2023 17:32:36 +0800 Message-Id: <20231220093239.1148174-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214065857.2142565-1-zhichaox.zeng@intel.com> References: <20231214065857.2142565-1-zhichaox.zeng@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This patch set adds an IAVF testpmd command "set tx lldp on|off" which will register an mbuf dynfield IAVF_TX_LLDP_DYNFIELD, currently only supported turning on. IAVF will fill the SWTCH_UPLINK bit in the Tx context descriptor based on the mbuf dynfield to send the LLDP packet. For avx512, need to close the Tx port first, then "set tx lldp on", and reopen the port to select correct Tx path. --- v3: non-lldp packet do not use the context descriptor v2: split into patch set, refine commit log Zhichao Zeng (3): net/iavf: support Tx LLDP on scalar net/iavf: support Tx LLDP on AVX512 net/iavf: add Tx LLDP command doc/guides/rel_notes/release_24_03.rst | 3 + drivers/net/iavf/iavf_rxtx.c | 23 ++++++- drivers/net/iavf/iavf_rxtx.h | 3 + drivers/net/iavf/iavf_rxtx_vec_avx512.c | 20 +++++++ drivers/net/iavf/iavf_rxtx_vec_common.h | 6 ++ drivers/net/iavf/iavf_testpmd.c | 80 +++++++++++++++++++++++++ drivers/net/iavf/meson.build | 3 + drivers/net/iavf/rte_pmd_iavf.h | 4 ++ 8 files changed, 140 insertions(+), 2 deletions(-) create mode 100644 drivers/net/iavf/iavf_testpmd.c -- 2.34.1