DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] docs/bpf: fix formatting and link
@ 2022-05-27 13:45 Harry van Haaren
  2022-05-27 13:45 ` [PATCH 2/2] docs: improve ordering and remove old header titles Harry van Haaren
  2022-05-28 11:09 ` [PATCH 1/2] docs/bpf: fix formatting and link Konstantin Ananyev
  0 siblings, 2 replies; 4+ messages in thread
From: Harry van Haaren @ 2022-05-27 13:45 UTC (permalink / raw)
  To: dev; +Cc: Harry van Haaren, konstantin.v.ananyev

Small improvements to the documentation based on Sphinx HTML doc output.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>

---

Cc: konstantin.v.ananyev@yandex.ru

---
 doc/guides/prog_guide/bpf_lib.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guides/prog_guide/bpf_lib.rst b/doc/guides/prog_guide/bpf_lib.rst
index 1feb7734a3..1cf2d59429 100644
--- a/doc/guides/prog_guide/bpf_lib.rst
+++ b/doc/guides/prog_guide/bpf_lib.rst
@@ -10,7 +10,7 @@ user-space dpdk application.
 
 It supports basic set of features from eBPF spec.
 Please refer to the
-`eBPF spec <https://www.kernel.org/doc/Documentation/networking/filter.txt>`
+`eBPF spec <https://www.kernel.org/doc/Documentation/networking/filter.txt>`_
 for more information.
 Also it introduces basic framework to load/unload BPF-based filters
 on eth devices (right now only via SW RX/TX callbacks).
@@ -48,9 +48,9 @@ For example, ``(BPF_IND | BPF_W | BPF_LD)`` means:
 .. code-block:: c
 
     uint32_t tmp;
-    R0 = rte_pktmbuf_read((const struct rte_mbuf *)R6,  src_reg + imm32,
-	sizeof(tmp), &tmp);
-    if (R0 == NULL) return FAILED;
+    R0 = rte_pktmbuf_read((const struct rte_mbuf *)R6,  src_reg + imm32, sizeof(tmp), &tmp);
+    if (R0 == NULL)
+        return FAILED;
     R0 = ntohl(*(uint32_t *)R0);
 
 and ``R1-R5`` were scratched.
-- 
2.32.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-08  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 13:45 [PATCH 1/2] docs/bpf: fix formatting and link Harry van Haaren
2022-05-27 13:45 ` [PATCH 2/2] docs: improve ordering and remove old header titles Harry van Haaren
2022-05-28 11:09 ` [PATCH 1/2] docs/bpf: fix formatting and link Konstantin Ananyev
2022-06-08  8:13   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).