|WARNING| pw107108 [PATCH] [v4] net/af_xdp: re-enable secondary process support

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Feb 9 16:08:57 CET 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/107108

_apply patch failure_

Submitter: Ciara Loftus <ciara.loftus at intel.com>
Date: Wednesday, February 09 2022 09:48:08 
Applied on: CommitID:0dff3f26d6faad4e51f75e5245f0387ee9bb0c6d
Apply patch set 107108 failed:

Checking patch doc/guides/nics/af_xdp.rst...
error: while searching for:
  NAPI context from a watchdog timer instead of from softirqs. More information
  on this feature can be found at [1].

  [1] https://lwn.net/Articles/837010/

error: patch failed: doc/guides/nics/af_xdp.rst:141
Checking patch doc/guides/nics/features/af_xdp.ini...
Checking patch doc/guides/rel_notes/release_22_03.rst...
error: while searching for:
* **Updated AF_XDP PMD**

  * Added support for libxdp >=v1.2.2.

* **Updated Cisco enic driver.**


error: patch failed: doc/guides/rel_notes/release_22_03.rst:72
Checking patch drivers/net/af_xdp/rte_eth_af_xdp.c...
Hunk #1 succeeded at 81 (offset 1 line).
Hunk #2 succeeded at 160 (offset 1 line).
Hunk #3 succeeded at 812 (offset 1 line).
Hunk #4 succeeded at 833 (offset 1 line).
Hunk #5 succeeded at 903 (offset 1 line).
Hunk #6 succeeded at 946 (offset 1 line).
Hunk #7 succeeded at 1371 (offset 1 line).
Hunk #8 succeeded at 1410 (offset 1 line).
Hunk #9 succeeded at 1713 (offset 1 line).
Hunk #10 succeeded at 1779 (offset 1 line).
Hunk #11 succeeded at 1798 (offset 1 line).
Hunk #12 succeeded at 1809 (offset 1 line).
Hunk #13 succeeded at 1820 (offset 1 line).
Hunk #14 succeeded at 1942 (offset 1 line).
Hunk #15 succeeded at 2009 (offset 1 line).
Hunk #16 succeeded at 2042 (offset 1 line).
Applying patch doc/guides/nics/af_xdp.rst with 1 reject...
Rejected hunk #1.
Applied patch doc/guides/nics/features/af_xdp.ini cleanly.
Applying patch doc/guides/rel_notes/release_22_03.rst with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/af_xdp/rte_eth_af_xdp.c cleanly.
diff a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst	(rejected hunks)
@@ -141,4 +141,13 @@ Limitations
   NAPI context from a watchdog timer instead of from softirqs. More information
   on this feature can be found at [1].
 
+- **Secondary Processes**
+
+  Rx and Tx are not supported for secondary processes due to memory mapping of
+  the AF_XDP rings being assigned by the kernel in the primary process only.
+  However other operations including statistics retrieval are permitted.
+  The maximum number of queues permitted for PMDs operating in this model is 8
+  as this is the maximum number of fds that can be sent through the IPC APIs as
+  defined by RTE_MP_MAX_FD_NUM.
+
   [1] https://lwn.net/Articles/837010/
diff a/doc/guides/rel_notes/release_22_03.rst b/doc/guides/rel_notes/release_22_03.rst	(rejected hunks)
@@ -72,6 +72,7 @@ New Features
 * **Updated AF_XDP PMD**
 
   * Added support for libxdp >=v1.2.2.
+  * Re-enabled secondary process support. RX/TX is not supported.
 
 * **Updated Cisco enic driver.**
 

https://lab.dpdk.org/results/dashboard/patchsets/20976/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list