Cover Detail
Show a cover letter.
GET /api/covers/127989/?format=api
http://patchwork.dpdk.org/api/covers/127989/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20230604000051.7877-1-ivan.malov@arknetworks.am/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230604000051.7877-1-ivan.malov@arknetworks.am>", "list_archive_url": "https://inbox.dpdk.org/dev/20230604000051.7877-1-ivan.malov@arknetworks.am", "date": "2023-06-04T00:00:17", "name": "[v2,00/34] net/sfc: support HW conntrack assistance", "submitter": { "id": 2962, "url": "http://patchwork.dpdk.org/api/people/2962/?format=api", "name": "Ivan Malov", "email": "ivan.malov@arknetworks.am" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20230604000051.7877-1-ivan.malov@arknetworks.am/mbox/", "series": [ { "id": 28334, "url": "http://patchwork.dpdk.org/api/series/28334/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28334", "date": "2023-06-04T00:00:17", "name": "net/sfc: support HW conntrack assistance", "version": 2, "mbox": "http://patchwork.dpdk.org/series/28334/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/127989/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6E79F42BDE;\n\tSun, 4 Jun 2023 02:00:54 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F35EF40EE7;\n\tSun, 4 Jun 2023 02:00:53 +0200 (CEST)", "from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80])\n by mails.dpdk.org (Postfix) with ESMTP id 8404040395\n for <dev@dpdk.org>; Sun, 4 Jun 2023 02:00:52 +0200 (CEST)", "from localhost.localdomain (unknown [78.109.69.101])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by agw.arknetworks.am (Postfix) with ESMTPSA id C72E1E117F;\n Sun, 4 Jun 2023 04:00:51 +0400 (+04)" ], "From": "Ivan Malov <ivan.malov@arknetworks.am>", "To": "dev@dpdk.org", "Cc": "Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Ferruh Yigit <ferruh.yigit@amd.com>", "Subject": "[PATCH v2 00/34] net/sfc: support HW conntrack assistance", "Date": "Sun, 4 Jun 2023 04:00:17 +0400", "Message-Id": "<20230604000051.7877-1-ivan.malov@arknetworks.am>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20230601195538.8265-1-ivan.malov@arknetworks.am>", "References": "<20230601195538.8265-1-ivan.malov@arknetworks.am>", "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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "On EF100 hardware, match-action engine (MAE) can be equipped\nwith an assistance table for connection tracking (CT). In it,\nan entry key is a set of exact match fields: an EtherType, a\npair of IP addresses, a L4 protocol ID and a pair of L4 port\nnumbers. An entry response can provide matching packets with\na mark value and additional data to be plumbed to NAT action.\nIn addition, an update to mark-and-sweep counter can be done.\n\nThis table was designed with larger capacity in mind,\nso moving the above match criteria out of an action\nrule (AR) specification to a CT entry increases the\nlikelihood of reusing AR entries and improves the\ntotal flow engine capacity. Make use of that.\n\nChanges in v2:\n* Found and fixed my own mistake in [15/34]\n* Fixed [16/34] as per 0-day robot report\n* Added missing release notes to [27/34]\n* Added missing release notes to [30/34]\n\nDenis Pryazhennikov (11):\n common/sfc_efx/base: update MCDI headers\n common/sfc_efx/base: detect MCDI Table Access API support\n common/sfc_efx/base: add API to list HW tables\n common/sfc_efx/base: add macro to get indexed QWORD field\n common/sfc_efx/base: add API to get HW table desc\n common/sfc_efx/base: add API to insert data to HW table\n common/sfc_efx/base: add API to delete entry from HW table\n net/sfc: add MCDI wrappers for BCAM tables\n net/sfc: add functions to manipulate MCDI table fields\n net/sfc: attach to HW table API\n net/sfc: add API to manage HW Conntrack table\n\nIvan Malov (23):\n net/sfc: make entry pointer optional in MAE resource helpers\n net/sfc: turn flow create/destroy methods into lock wrappers\n net/sfc: let driver-internal flows use VF representor action\n net/sfc: extend generic flow API to allow for internal flows\n net/sfc: switch driver-internal flows to use generic methods\n net/sfc: move MAE flow parsing method to MAE-specific source\n net/sfc: move MAE counter stream start to action set handler\n net/sfc: prepare MAE outer rules for action rule indirection\n net/sfc: turn MAE flow action rules into shareable resources\n common/sfc_efx/base: provide an API to clone MAE match specs\n common/sfc_efx/base: add API to read back MAE match criteria\n common/sfc_efx/base: match on conntrack mark in action rules\n common/sfc_efx/base: add API to request MAE conntrack lookup\n net/sfc: make use of conntrack assistance for transfer flows\n common/sfc_efx/base: support NAT edits in MAE\n net/sfc: add support for IPv4 NAT offload to MAE backend\n net/sfc: rename SW structures used by transfer flow counters\n net/sfc: rework MAE action rule counter representation in SW\n net/sfc: support indirect count action in transfer flows\n common/sfc_efx/base: rework MAE counter provisioning helpers\n net/sfc: indicate MAE counter type in use for transfer flows\n common/sfc_efx/base: support conntrack assistance counters\n net/sfc: use conntrack assistance counters in transfer flows\n\n doc/guides/nics/features/sfc.ini | 5 +\n doc/guides/nics/sfc_efx.rst | 10 +\n doc/guides/rel_notes/release_23_07.rst | 18 +\n drivers/common/sfc_efx/base/efx.h | 198 +-\n drivers/common/sfc_efx/base/efx_impl.h | 5 +-\n drivers/common/sfc_efx/base/efx_mae.c | 383 ++-\n drivers/common/sfc_efx/base/efx_mcdi.h | 4 +\n drivers/common/sfc_efx/base/efx_regs_mcdi.h | 2557 ++++++++++++++++++-\n drivers/common/sfc_efx/base/efx_table.c | 506 ++++\n drivers/common/sfc_efx/base/hunt_nic.c | 2 +\n drivers/common/sfc_efx/base/medford2_nic.c | 2 +\n drivers/common/sfc_efx/base/medford_nic.c | 2 +\n drivers/common/sfc_efx/base/meson.build | 1 +\n drivers/common/sfc_efx/base/rhead_nic.c | 9 +\n drivers/common/sfc_efx/base/siena_nic.c | 2 +\n drivers/common/sfc_efx/version.map | 14 +\n drivers/net/sfc/meson.build | 6 +-\n drivers/net/sfc/sfc.c | 27 +-\n drivers/net/sfc/sfc.h | 3 +\n drivers/net/sfc/sfc_flow.c | 246 +-\n drivers/net/sfc/sfc_flow.h | 45 +-\n drivers/net/sfc/sfc_mae.c | 1899 ++++++++++----\n drivers/net/sfc/sfc_mae.h | 131 +-\n drivers/net/sfc/sfc_mae_counter.c | 146 +-\n drivers/net/sfc/sfc_mae_counter.h | 16 +-\n drivers/net/sfc/sfc_mae_ct.c | 201 ++\n drivers/net/sfc/sfc_mae_ct.h | 68 +\n drivers/net/sfc/sfc_repr.c | 20 +-\n drivers/net/sfc/sfc_repr_proxy.c | 53 +-\n drivers/net/sfc/sfc_repr_proxy.h | 2 +-\n drivers/net/sfc/sfc_repr_proxy_api.h | 3 +\n drivers/net/sfc/sfc_switch.c | 7 +-\n drivers/net/sfc/sfc_switch.h | 10 +\n drivers/net/sfc/sfc_tbl_meta.c | 71 +\n drivers/net/sfc/sfc_tbl_meta.h | 37 +\n drivers/net/sfc/sfc_tbl_meta_cache.c | 253 ++\n drivers/net/sfc/sfc_tbl_meta_cache.h | 25 +\n drivers/net/sfc/sfc_tbls.c | 200 ++\n drivers/net/sfc/sfc_tbls.h | 285 +++\n 39 files changed, 6602 insertions(+), 870 deletions(-)\n create mode 100644 drivers/common/sfc_efx/base/efx_table.c\n create mode 100644 drivers/net/sfc/sfc_mae_ct.c\n create mode 100644 drivers/net/sfc/sfc_mae_ct.h\n create mode 100644 drivers/net/sfc/sfc_tbl_meta.c\n create mode 100644 drivers/net/sfc/sfc_tbl_meta.h\n create mode 100644 drivers/net/sfc/sfc_tbl_meta_cache.c\n create mode 100644 drivers/net/sfc/sfc_tbl_meta_cache.h\n create mode 100644 drivers/net/sfc/sfc_tbls.c\n create mode 100644 drivers/net/sfc/sfc_tbls.h" }{ "id": 127989, "url": "