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 2FFBD4375D; Fri, 22 Dec 2023 11:09:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB0B34025D; Fri, 22 Dec 2023 11:09:33 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id C60A34003C for ; Fri, 22 Dec 2023 11:09:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703239772; x=1734775772; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=LA4vADd/AvYfO/YwKycKVSt0jLQC67ovkaHvG587MnM=; b=iiz+JFidbNYDi1KZXcohl3mmwVW1MMgCeojxL7aA/gL7piMalRUJU2B+ yZVcDgUBEzHRmI7NCqTdq/XcCE4p9iKtOvdSssRT3MF231cN4noOSbxHe FymjQBvgeLIUZ6K7GY8mU3z8U5O+vYHouAzfGVbZAikJxL763PHEWcVsQ KJGODDnGMWmDgyXtNnpRfLzC3rFwJh3crKA33mRrJ2u4UFxtg8a5/P+7O 3hZGUccMJRs4B3fVQZuOQhQ3aOo6kbLGdST/MJaaI8R9JjktcZg4b7R3O Fute9OJ73RLor0ODKScpkfGpbVWoUZ3NEw/5ic/hY9o7l7Bye50ujL/MC A==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="386525267" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="386525267" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 02:09:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="920605199" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="920605199" Received: from dpdk-wenjing-02.sh.intel.com ([10.67.118.228]) by fmsmga001.fm.intel.com with ESMTP; 22 Dec 2023 02:09:29 -0800 From: wenjing.qiao@intel.com To: jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, Wenjing Qiao Subject: [PATCH 0/2] net/cpfl: support flow offloading for P4 Date: Fri, 22 Dec 2023 10:08:36 +0000 Message-Id: <20231222100837.260493-1-wenjing.qiao@intel.com> X-Mailer: git-send-email 2.34.1 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 From: Wenjing Qiao Enable TDI flow engine which can program hardware offloading rules for a P4 programmable network controller. Wenjing Qiao (2): net/cpfl: parse flow offloading hint from P4 context file net/cpfl: add TDI to flow engine doc/guides/nics/cpfl.rst | 10 + doc/guides/nics/features/cpfl.ini | 1 + drivers/net/cpfl/cpfl_ethdev.h | 17 +- drivers/net/cpfl/cpfl_flow.c | 13 +- drivers/net/cpfl/cpfl_flow.h | 1 + drivers/net/cpfl/cpfl_flow_engine_fxp.c | 21 +- drivers/net/cpfl/cpfl_flow_parser.c | 68 +- drivers/net/cpfl/cpfl_flow_parser.h | 2 +- drivers/net/cpfl/cpfl_fxp_rule.h | 12 + drivers/net/cpfl/cpfl_tdi.c | 1244 ++++++++++++++++ drivers/net/cpfl/cpfl_tdi.h | 123 ++ drivers/net/cpfl/cpfl_tdi_parser.c | 1715 +++++++++++++++++++++++ drivers/net/cpfl/cpfl_tdi_parser.h | 293 ++++ drivers/net/cpfl/meson.build | 2 + 14 files changed, 3488 insertions(+), 34 deletions(-) create mode 100644 drivers/net/cpfl/cpfl_tdi.c create mode 100644 drivers/net/cpfl/cpfl_tdi.h create mode 100644 drivers/net/cpfl/cpfl_tdi_parser.c create mode 100644 drivers/net/cpfl/cpfl_tdi_parser.h -- 2.34.1