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 1C0D943B38; Wed, 14 Feb 2024 17:19:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5C794026A; Wed, 14 Feb 2024 17:19:03 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9F01D40261 for ; Wed, 14 Feb 2024 17:19:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707927541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8AWpsnGS2sOQTMMUiuh4ZxdkqfPQsPd2YDLON9gh0yw=; b=Ey0q9wrGfqIWo6J4bXYF2QTqTDb4DHl8L0f4Ci0mc/puG+Ty2ZTBTX6XQRABiqQ2gp+Q3h CIXel69Xqt54wOs1Kvsr1T596J2LPq1E6Db+zIb4aY3I66yShXP5uidY88hu0dgvWw0V4Z Jg9lWQIiue8bHGVVyXiVv0sdB+oh5po= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-587-sWEdIgTnPJ6sqm2Y5U35iA-1; Wed, 14 Feb 2024 11:19:00 -0500 X-MC-Unique: sWEdIgTnPJ6sqm2Y5U35iA-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-781d8e14fd8so284320785a.3 for ; Wed, 14 Feb 2024 08:19:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707927539; x=1708532339; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8AWpsnGS2sOQTMMUiuh4ZxdkqfPQsPd2YDLON9gh0yw=; b=Kl4iVErCrmTfRRZhVFr0izWV3CEspecv5v5kgMJED9QzyGkGG1JJUZ9YcsLJ2hbvEq FLiEvWwGGPHRLnpou/8oMf0G4xHP1/eTukJwtHinKbbLmPOX1EnPTSc3HK8heup+NOCA jp/tqo8ew+r2vA/2KbceISehIADJ8RvlZ5ya8PgWwg6yhOhre26zkdczocs/S9oHmxPp LMyE7X/6jd6bkv7KverhIEfKCKqZRcYxiKhGpaGFxwJQiYqQX0E4/BIZ69FSTNvSeyjs J45JDL4A+PZj8VMD2ZZvN1wRiOXp2EnzN/QK3pVBoClDI5CPF3wCxxmxdIo1zzw/pLbB hccg== X-Gm-Message-State: AOJu0YwA2RcKWKdwgn/AvWZleH0jo7gs/pwD+3+wY0VhOLeoPOisMwTm gM9JotKlVaOg6nin1TSGpIzN6w23Hgk9U+SBILg/0juidFtrnPYCizpHjv62VDtHnIgJWrvth/Q j9WpjTZgVjs115NHf6Roy2j/m0S48CLpUnNM12yT5 X-Received: by 2002:a05:622a:1ca:b0:42c:7641:6d62 with SMTP id t10-20020a05622a01ca00b0042c76416d62mr3397808qtw.12.1707927539596; Wed, 14 Feb 2024 08:18:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0byPLDAGkGgFPlB0LKjE7Rsn6JKK/DBEdIuMsHEQiSiISDK/G1ZVG29Qa1MftX+gE5RSTSA== X-Received: by 2002:a05:622a:1ca:b0:42c:7641:6d62 with SMTP id t10-20020a05622a01ca00b0042c76416d62mr3397772qtw.12.1707927539286; Wed, 14 Feb 2024 08:18:59 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWNIpa2pHTrTkeDjmmFzcjsF/qHAFV+nZQedsC72iHq94s9W1o03aCJLwKhLL6cG4mZSuLb/R5b7ug+3hLuNY5UlXrRy1nVQkZu8117pDKlL4bKSCtHP+SYA1wDKRHDwmRF8GzUvKZqaPCpxM1kbfu4ss+RS5Uqc4SyCY4nvY2J3PcRKJ1ivNbvMu3TJ77UN7CoWNOEj5Jl9+i8vHIxY23sqK2dqJ6RbOPgO6HjfbrICeATrqiXj+GbqtXo/H0hIZr1UkSNXDjSYBne6I+n/q4HZvz/s5LGdhsTy9zJD59LnK2siKcs Received: from [192.168.0.12] ([78.18.30.42]) by smtp.gmail.com with ESMTPSA id ke20-20020a05622a289400b0042c6ae89193sm2124178qtb.93.2024.02.14.08.18.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 08:18:58 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2024 16:18:56 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [v8 0/3] net/af_xdp: fix multi interface support for K8s To: ferruh.yigit@amd.com, stephen@networkplumber.org, lihuisong@huawei.com, fengchengwen@huawei.com, liuyonglong@huawei.com, david.marchand@redhat.com, shibin.koikkara.reeny@intel.com, ciara.loftus@intel.com Cc: dev@dpdk.org References: <20240214160716.2391286-1-mtahhan@redhat.com> From: Maryam Tahhan In-Reply-To: <20240214160716.2391286-1-mtahhan@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Sorry folks Just spotted the checkpatch warnings :( I will fix these now. BR Maryam On 14/02/2024 16:06, Maryam Tahhan wrote: > The original `use_cni` implementation was limited to > supporting only a single netdev in a DPDK pod. This patchset > aims to fix this limitation transparently to the end user. > It will also enable compatibility with the latest AF_XDP > Device Plugin. > > Signed-off-by: Maryam Tahhan > --- > v8: > * Go back to using `use_cni` vdev argument > * Introduce `use_map_pinning` vdev param. > * Rename `uds_path` to `dp_path` so that it can be used > with map pinning as well as `use_cni`. > * Set `dp_path` internally in the AF_XDP PMD if it's > not configured by the user. > * Clean up the original `use_cni` documentation separately > to coding changes. > > v7: > * Give a more descriptive commit msg headline. > * Fixup typos in documentation. > > v6: > * Add link to PR 81 in commit message > * Add release notes changes to this patchset > > v5: > * Fix alignment for ETH_AF_XDP_USE_DP_UDS_PATH_ARG > * Remove use_cni references in af_xdp.rst > > v4: > * Rename af_xdp_cni.rst to af_xdp_dp.rst > * Removed all incorrect references to CNI throughout af_xdp > PMD file. > * Fixed Typos in af_xdp_dp.rst > > v3: > * Remove `use_cni` vdev argument as it's no longer needed. > * Update incorrect CNI references for the AF_XDP DP in the > documentation. > * Update the documentation to run a simple example with the > AF_XDP DP plugin in K8s. > > v2: > * Rename sock_path to uds_path. > * Update documentation to reflect when CAP_BPF is needed. > * Fix testpmd arguments in the provided example for Pods. > * Use AF_XDP API to update the xskmap entry. > --- > Maryam Tahhan (3): > docs: AF_XDP Device Plugin > net/af_xdp: fix multi interface support for K8s > net/af_xdp: support AF_XDP DP pinned maps > > doc/guides/howto/af_xdp_cni.rst | 253 ------------------ > doc/guides/howto/af_xdp_dp.rst | 349 +++++++++++++++++++++++++ > doc/guides/howto/index.rst | 2 +- > doc/guides/nics/af_xdp.rst | 44 +++- > doc/guides/rel_notes/release_24_03.rst | 17 ++ > drivers/net/af_xdp/rte_eth_af_xdp.c | 162 ++++++++---- > 6 files changed, 527 insertions(+), 300 deletions(-) > delete mode 100644 doc/guides/howto/af_xdp_cni.rst > create mode 100644 doc/guides/howto/af_xdp_dp.rst >