Cover Detail
Show a cover letter.
GET /api/covers/848/?format=api
http://patches.dpdk.org/api/covers/848/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20240408130924.232154-1-mtahhan@redhat.com/", "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": "<20240408130924.232154-1-mtahhan@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240408130924.232154-1-mtahhan@redhat.com", "date": "2024-04-08T13:09:19", "name": "[v14,0/3] net/af_xdp: fix multi interface support for K8s", "submitter": { "id": 3236, "url": "http://patches.dpdk.org/api/people/3236/?format=api", "name": "Maryam Tahhan", "email": "mtahhan@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20240408130924.232154-1-mtahhan@redhat.com/mbox/", "series": [ { "id": 31704, "url": "http://patches.dpdk.org/api/series/31704/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31704", "date": "2024-04-08T13:09:19", "name": "net/af_xdp: fix multi interface support for K8s", "version": 14, "mbox": "http://patches.dpdk.org/series/31704/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/848/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 9EAD443DA3;\n\tMon, 8 Apr 2024 15:09:34 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 14BB5402C9;\n\tMon, 8 Apr 2024 15:09:34 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 4A18540041\n for <dev@dpdk.org>; Mon, 8 Apr 2024 15:09:32 +0200 (CEST)", "from mail-qt1-f197.google.com (mail-qt1-f197.google.com\n [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-653-qb8Q4KbsPASoqP-rkfx9NQ-1; Mon, 08 Apr 2024 09:09:29 -0400", "by mail-qt1-f197.google.com with SMTP id\n d75a77b69052e-430d32a0a64so47825091cf.3\n for <dev@dpdk.org>; Mon, 08 Apr 2024 06:09:29 -0700 (PDT)", "from nfvsdn-06.redhat.com (nat-pool-232-132.redhat.com.\n [66.187.232.132]) by smtp.gmail.com with ESMTPSA id\n kg18-20020a05622a761200b00434c9e59ab4sm20945qtb.25.2024.04.08.06.09.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 08 Apr 2024 06:09:27 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1712581771;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=aoGU0hkbmSqtkK37Rq1+ihDOG1QlbXPY1TLwp7N6g2s=;\n b=J7kBS/6Ti6mnqLXCvSQN+u7E3WUpsdCWZIRE5AhQKuuaneAfGI7ALMsWqUlBkbwMP8xxFs\n E0or8UA3kVmfwDbnFnOWbd9iETihSbNmNUhff+fdSKNfoZD34PJqo63ekPlbxieUml3mVM\n Xe4GIiLmuSenLVDku5NUyAADX0UF5CE=", "X-MC-Unique": "qb8Q4KbsPASoqP-rkfx9NQ-1", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712581769; x=1713186569;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=aoGU0hkbmSqtkK37Rq1+ihDOG1QlbXPY1TLwp7N6g2s=;\n b=ZtQNXms7gZqCXCoYp6A6EQOtKM15uXkWYltzvsYBv1sw7NV/T0SAPS8UEYULAOluAm\n qYy64vuz7iSyUTP0lt+kgNY3d4CaVRReVLlGfzRKkTKR752c387RjcZjg/gOzM87abYv\n cT2znQNQCAbT0UzRywekG3e4TY6MKtXtJe5s80YUbbgYcuVtLDT9d228iPcwaXfcORrr\n zcgB+ruQpL4beVxhPw1VK1KIUx2jijSd12TrpC7EHwp0Dg6VcmZa9xdl7Z2tZ/49+yGY\n vrOKWO24LaOvxWvZlp6tBgIN199qaPiKXoQt+eR7hAby9/LkYuN1U6xGD1LzLXYjLMHR\n 8aFA==", "X-Gm-Message-State": "AOJu0YxLpFNX2w7vTVRD8c7/cTmW6aohuN57ETxx5uuruX0pDCStGCGA\n 380vNC3KqMCkH1omtveZhVOP/qTjrwwfERu0j0rSNn1NE3DrQXs5INHeC5npOE9fzYgQzdkybMa\n Y450WIdE6Eu/0rsc3vxE6DgDrPxSXYZNZV5kmYLch", "X-Received": [ "by 2002:a05:622a:60b:b0:432:e8c4:2e6b with SMTP id\n z11-20020a05622a060b00b00432e8c42e6bmr11246122qta.19.1712581769123;\n Mon, 08 Apr 2024 06:09:29 -0700 (PDT)", "by 2002:a05:622a:60b:b0:432:e8c4:2e6b with SMTP id\n z11-20020a05622a060b00b00432e8c42e6bmr11246097qta.19.1712581768807;\n Mon, 08 Apr 2024 06:09:28 -0700 (PDT)" ], "X-Google-Smtp-Source": "\n AGHT+IG/0pYN/h7yb8ixgZqbaJtEtdjIoJUN6IuJM49GCZQbA2KgS5I7Ak8p1G5D2Wv82UJSZYLBeg==", "From": "Maryam Tahhan <mtahhan@redhat.com>", "To": "ferruh.yigit@amd.com, stephen@networkplumber.org, lihuisong@huawei.com,\n fengchengwen@huawei.com, liuyonglong@huawei.com, david.marchand@redhat.com,\n shibin.koikkara.reeny@intel.com, ciara.loftus@intel.com", "Cc": "dev@dpdk.org,\n\tMaryam Tahhan <mtahhan@redhat.com>", "Subject": "[v14 0/3] net/af_xdp: fix multi interface support for K8s", "Date": "Mon, 8 Apr 2024 09:09:19 -0400", "Message-ID": "<20240408130924.232154-1-mtahhan@redhat.com>", "X-Mailer": "git-send-email 2.41.0", "MIME-Version": "1.0", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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": "The original `use_cni` implementation was limited to\nsupporting only a single netdev in a DPDK pod. This patchset\naims to fix this limitation transparently to the end user.\nIt will also enable compatibility with the latest AF_XDP\nDevice Plugin.\n\nSigned-off-by: Maryam Tahhan <mtahhan@redhat.com>\n---\nv14:\n* Fixup bpf_map_update_elem() in compat.h to use xsk fd as the\n third argument.\n\nv13:\n* Fixup checkpatch issues.\n\nv12:\n* Ensure backwards compability with libbpf versions that don't support\n xsk_socket__update_xskmap().\n\nv11:\n* Fixed up typos picked up by checkpatch.\n\nv10:\n* Add UDS acronym\n* Update `use_cni` in docs with ``use_cni``\n* Remove reference to limitations and simply document behaviour\n before and after DPDK 23.11.\n\nv9:\n* Fixup checkpatch issues.\n\nv8:\n* Go back to using `use_cni` vdev argument\n* Introduce `use_map_pinning` vdev param.\n* Rename `uds_path` to `dp_path` so that it can be used\n with map pinning as well as `use_cni`.\n* Set `dp_path` internally in the AF_XDP PMD if it's\n not configured by the user.\n* Clean up the original `use_cni` documentation separately\n to coding changes.\n\nv7:\n* Give a more descriptive commit msg headline.\n* Fixup typos in documentation.\n\nv6:\n* Add link to PR 81 in commit message\n* Add release notes changes to this patchset\n\nv5:\n* Fix alignment for ETH_AF_XDP_USE_DP_UDS_PATH_ARG\n* Remove use_cni references in af_xdp.rst\n\nv4:\n* Rename af_xdp_cni.rst to af_xdp_dp.rst\n* Removed all incorrect references to CNI throughout af_xdp\n PMD file.\n* Fixed Typos in af_xdp_dp.rst\n\nv3:\n* Remove `use_cni` vdev argument as it's no longer needed.\n* Update incorrect CNI references for the AF_XDP DP in the\n documentation.\n* Update the documentation to run a simple example with the\n AF_XDP DP plugin in K8s.\n\nv2:\n* Rename sock_path to uds_path.\n* Update documentation to reflect when CAP_BPF is needed.\n* Fix testpmd arguments in the provided example for Pods.\n* Use AF_XDP API to update the xskmap entry.\n---\n\nMaryam Tahhan (3):\n docs: AF_XDP Device Plugin\n net/af_xdp: fix multi interface support for K8s\n net/af_xdp: support AF_XDP DP pinned maps\n\n doc/guides/howto/af_xdp_cni.rst | 253 ------------------\n doc/guides/howto/af_xdp_dp.rst | 340 +++++++++++++++++++++++++\n doc/guides/howto/index.rst | 2 +-\n doc/guides/nics/af_xdp.rst | 44 +++-\n doc/guides/rel_notes/release_24_07.rst | 17 ++\n drivers/net/af_xdp/compat.h | 15 ++\n drivers/net/af_xdp/meson.build | 4 +\n drivers/net/af_xdp/rte_eth_af_xdp.c | 170 +++++++++----\n 8 files changed, 543 insertions(+), 302 deletions(-)\n delete mode 100644 doc/guides/howto/af_xdp_cni.rst\n create mode 100644 doc/guides/howto/af_xdp_dp.rst\n\n--\n2.41.0" }{ "id": 848, "url": "