doc: fix ring based driver guide
authorBernard Iremonger <bernard.iremonger@intel.com>
Sat, 28 Nov 2015 11:01:54 +0000 (11:01 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 03:10:16 +0000 (04:10 +0100)
commit231e30b2cd575c2b59ae2cc04dc5e68f76c559a9
tree4b0a25d09eb6f7bd50eaa36feeb5878f6be535cd
parent4ea3801b3222976fab359fb51a2dd831335fd026
doc: fix ring based driver guide

Correct the sample code in the pcap_ring.rst file to match the latest
rte_eth_ring.c code.

The parameters to the rte_eth_from_rings() function have changed since
the documentation was written.
The API change occurred before DPDK 1.8 when the rst files were added.
The original documentation on which the pcap_ring.rst file was based was
not correct.

Fixes: fc1f2750a3ec ("doc: programmers guide")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/guides/nics/pcap_ring.rst