Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127873/?format=api
http://patches.dpdk.org/api/patches/127873/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230601195538.8265-1-ivan.malov@arknetworks.am/", "project": { "id": 1, "url": "http://patches.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": "<20230601195538.8265-1-ivan.malov@arknetworks.am>", "list_archive_url": "https://inbox.dpdk.org/dev/20230601195538.8265-1-ivan.malov@arknetworks.am", "date": "2023-06-01T19:55:04", "name": "[00/34] net/sfc: support HW conntrack assistance", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 2962, "url": "http://patches.dpdk.org/api/people/2962/?format=api", "name": "Ivan Malov", "email": "ivan.malov@arknetworks.am" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230601195538.8265-1-ivan.malov@arknetworks.am/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/127873/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/127873/checks/", "tags": {}, "related": [], "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 2B48942C07;\n\tThu, 1 Jun 2023 21:55:42 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9DFB440EF0;\n\tThu, 1 Jun 2023 21:55:41 +0200 (CEST)", "from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80])\n by mails.dpdk.org (Postfix) with ESMTP id 64A1640DDC\n for <dev@dpdk.org>; Thu, 1 Jun 2023 21:55:40 +0200 (CEST)", "from localhost.localdomain (unknown [78.109.69.146])\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 C9DBAE003C;\n Thu, 1 Jun 2023 23:55:39 +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 00/34] net/sfc: support HW conntrack assistance", "Date": "Thu, 1 Jun 2023 23:55:04 +0400", "Message-Id": "<20230601195538.8265-1-ivan.malov@arknetworks.am>", "X-Mailer": "git-send-email 2.30.2", "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\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 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 | 233 +-\n drivers/net/sfc/sfc_flow.h | 45 +-\n drivers/net/sfc/sfc_mae.c | 1897 ++++++++++----\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 38 files changed, 6574 insertions(+), 865 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", "diff": null, "prefixes": [ "00/34" ] }{ "id": 127873, "url": "