DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [dpdk-next-net] [PATCH] net/af_packet: fix docs guide
@ 2018-12-18  7:10 Rami Rosen
  2018-12-20 18:54 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2018-12-18  7:10 UTC (permalink / raw)
  To: dev; +Cc: tiago.lam, ferruh.yigit, Rami Rosen

The framecnt option represents a counter (integer) that does not 
reflect size. It is somewhat parallel in this sense to the framecount
member of pkt_rx_queue/pkt_tx_queue (or tp_frame_nr in tpacket_req).
This patch removes the size indicator of bytes ("B") from framecnt in 
the af_packet guide. 

Fixes: c8dba1ee6cde ("doc: add af_packet PMD guide")

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 doc/guides/nics/af_packet.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/nics/af_packet.rst b/doc/guides/nics/af_packet.rst
index 188a6efe1..1260bb2c6 100644
--- a/doc/guides/nics/af_packet.rst
+++ b/doc/guides/nics/af_packet.rst
@@ -28,7 +28,7 @@ Some of these, in turn, will be used to configure the PAKET_MMAP settings.
 *   ``blocksz`` - PACKET_MMAP block size (optional, default 4096);
 *   ``framesz`` - PACKET_MMAP frame size (optional, default 2048B; Note: multiple
     of 16B);
-*   ``framecnt`` - PACKET_MMAP frame count (optional, default 512B).
+*   ``framecnt`` - PACKET_MMAP frame count (optional, default 512).
 
 Because this implementation is based on PACKET_MMAP, and PACKET_MMAP has its
 own pre-requisites, it should be noted that the inner workings of PACKET_MMAP
@@ -60,7 +60,7 @@ Set up an af_packet interface
 
 The following example will set up an af_packet interface in DPDK with the
 default options described above (blocksz=4096B, framesz=2048B and
-framecnt=512B):
+framecnt=512):
 
 .. code-block:: console
 
-- 
2.17.1

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

* Re: [dpdk-dev] [dpdk-next-net] [PATCH] net/af_packet: fix docs guide
  2018-12-18  7:10 [dpdk-dev] [dpdk-next-net] [PATCH] net/af_packet: fix docs guide Rami Rosen
@ 2018-12-20 18:54 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2018-12-20 18:54 UTC (permalink / raw)
  To: Rami Rosen, dev; +Cc: tiago.lam

On 12/18/2018 7:10 AM, Rami Rosen wrote:
> The framecnt option represents a counter (integer) that does not 
> reflect size. It is somewhat parallel in this sense to the framecount
> member of pkt_rx_queue/pkt_tx_queue (or tp_frame_nr in tpacket_req).
> This patch removes the size indicator of bytes ("B") from framecnt in 
> the af_packet guide. 
> 
> Fixes: c8dba1ee6cde ("doc: add af_packet PMD guide")
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

(Squashed into relevant commit in next-net, thanks.)

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

end of thread, other threads:[~2018-12-20 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18  7:10 [dpdk-dev] [dpdk-next-net] [PATCH] net/af_packet: fix docs guide Rami Rosen
2018-12-20 18:54 ` Ferruh Yigit

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).