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 96D7C43839; Fri, 5 Jan 2024 09:17:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FB52402C7; Fri, 5 Jan 2024 09:17:11 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9699F402AC for ; Fri, 5 Jan 2024 09:17:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704442629; x=1735978629; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BET5PjSIG3mJLRA2O02+ekSgqjn8No1ZNfivVKB8Tkg=; b=iFXpF6lO2SYzZvMrsSumgSnobK0fAl7GtvWTiysstkIsE1JF9ONVD2Uu X34vGyK4l2Ze9MWL3zGRzV4i4ha7ZBwDG1eh+HV6y4TNGp0BRbdjkZEdt IeXscHrP0eEyi7nQk8jVdkO8gh20kkbqY/nyI2/3JTDrc8e4+ye1MWKh4 jgWRnDLGNasz2Fk0f7tz032NKMzxjPwXwAiNtyFdujVJCuON4I9vllX0D kOrZAw2hDRvgMX06V02qM4JHCYOM7zn7CI2TEDA/JetpIES0Scp6ZiAng l7HxuLjnBvnnKldnr/XhcITUtSHqRVemfN3HbHOhGBg/cVuvPS9rKsz2W A==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="382436616" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="382436616" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2024 00:17:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="809484535" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="809484535" Received: from dpdk-wenjing-02.sh.intel.com ([10.67.118.228]) by orsmga008.jf.intel.com with ESMTP; 05 Jan 2024 00:17:06 -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 v2 0/2] net/cpfl: support flow offloading for P4 Date: Fri, 5 Jan 2024 08:16:48 +0000 Message-Id: <20240105081649.530384-1-wenjing.qiao@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231222100837.260493-2-wenjing.qiao@intel.com> References: <20231222100837.260493-2-wenjing.qiao@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 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 v2: - fix typos. - parse vsi id for key. 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 | 1282 +++++++++++++++++ drivers/net/cpfl/cpfl_tdi.h | 123 ++ drivers/net/cpfl/cpfl_tdi_parser.c | 1721 +++++++++++++++++++++++ drivers/net/cpfl/cpfl_tdi_parser.h | 294 ++++ drivers/net/cpfl/meson.build | 2 + 14 files changed, 3533 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