<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 04/12/2023 17:18, Koikkara Reeny,
Shibin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM6PR11MB399509DABAB363FCE86CEA4AA286A@DM6PR11MB3995.namprd11.prod.outlook.com">
<pre><blockquote type="cite" style="color: #007cff;"><pre
class="moz-quote-pre" wrap=""> Prerequisites
@@ -223,8 +224,7 @@ Howto run dpdk-testpmd with CNI plugin:
securityContext:
capabilities:
add:
- - CAP_NET_RAW
- - CAP_BPF
+ - NET_RAW
</pre></blockquote><pre class="moz-quote-pre" wrap="">Need to update the 1.3. Prerequisites.</pre></pre>
</blockquote>
<p><br>
</p>
<p>Sorry, what are you referring to?<br>
</p>
<blockquote type="cite"
cite="mid:DM6PR11MB399509DABAB363FCE86CEA4AA286A@DM6PR11MB3995.namprd11.prod.outlook.com">
<pre><pre class="moz-quote-pre" wrap="">
</pre><blockquote type="cite" style="color: #007cff;"><pre
class="moz-quote-pre" wrap=""> resources:
requests:
hugepages-2Mi: 2Gi
@@ -239,14 +239,20 @@ Howto run dpdk-testpmd with CNI plugin:
.. _pod.yaml: <a class="moz-txt-link-freetext"
href="https://github.com/intel/afxdp-plugins-for"
moz-do-not-send="true">https://github.com/intel/afxdp-plugins-for</a>-
kubernetes/blob/v0.0.2/test/e2e/pod-1c1d.yaml
+.. note::
+
+ For Kernel versions older than 5.19 `CAP_BPF` is also required in
+ the container capabilities stanza.
+
* Run DPDK with a command like the following:
.. code-block:: console
kubectl exec -i <Pod name> --container <containers name> -- \
- /<Path>/dpdk-testpmd -l 0,1 --no-pci \
- --vdev=net_af_xdp0,use_cni=1,iface=<interface name> \
- -- --no-mlockall --in-memory
+ /<Path>/dpdk-testpmd -l 0-2 --no-pci --main-lcore=2 \
+ --vdev net_af_xdp0,iface=<interface
name>,use_cni=1,uds_path=<i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>tmp/afxdp_dp<span class="moz-txt-tag">/</span></i><interface name>/afxdp.sock
\
+ --vdev net_af_xdp1,iface=e<interface
name>,use_cni=1,uds_path=<i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>tmp/afxdp_dp<span class="moz-txt-tag">/</span></i><interface name>/afxdp.sock
</pre></blockquote><pre class="moz-quote-pre" wrap="">There is a typo " iface=e<interface " == "iface=<interface"</pre></pre>
</blockquote>
<p><br>
</p>
<p>Ack<br>
</p>
<p><br>
</p>
</body>
</html>