[PATCH] doc: remove reference to pcapng init function

2022-05-27 Thread Cian Ferriter
The rte_pcapng_init function doesn't exist, so remove it from the docs. Also fix minor mistakes in the file. Signed-off-by: Cian Ferriter --- The rte_pcapng_init function existed in earlier versions of patches for this file on the mailing list, but was dropped in favour of RTE

[dpdk-dev] [PATCH] ring: fix comment for __rte_ring_move_cons_head()

2021-08-23 Thread Cian Ferriter
Change "enqueue" to "dequeue" because the __rte_ring_move_cons_head() function is updating the consumer head for dequeue. Fixes: 0dfc98c507b1 ("ring: separate out head index manipulation") Cc: bruce.richard...@intel.com Cc: sta...@dpdk.org Signed-off-by

[dpdk-dev] [PATCH 19.08 v2] doc: announce infinite Rx PCAP PMD feature

2019-07-03 Thread Cian Ferriter
This feature was added in the following commit: commit a3f5252e5cbd ("net/pcap: enable infinitely Rx a pcap file") Signed-off-by: Cian Ferriter --- doc/guides/rel_notes/release_19_08.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_19_08.

[dpdk-dev] [PATCH 19.08] doc: announce infinite Rx PCAP PMD feature

2019-07-03 Thread Cian Ferriter
Signed-off-by: Cian Ferriter --- doc/guides/rel_notes/release_19_08.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_19_08.rst b/doc/guides/rel_notes/release_19_08.rst index 60c258136..c5acfe028 100644 --- a/doc/guides/rel_notes/release_19_08.rst +++ b

[dpdk-dev] [PATCH 19.08 v3 2/2] net/pcap: enable infinitely rxing a pcap file

2019-06-14 Thread Cian Ferriter
f multi segment mbufs is checked for. The PMD will exit on detection of these multi segment mbufs. Signed-off-by: Cian Ferriter --- v3 changes: * Update PCAP docs: * State that 'infinite_rx' should only be provided once per device. * Drop use of tx_drop and mention its us

[dpdk-dev] [PATCH 19.08 v3 1/2] net/pcap: use a struct to pass user options

2019-06-14 Thread Cian Ferriter
The argument lists on some of the device creation functions are quite large. Using a struct to hold the user options parsed in 'pmd_pcap_probe' will allow for cleaner function calls and definitions. Adding user options will also be easier. Signed-off-by: Cian Ferriter --- driver

[dpdk-dev] [PATCH 19.08 v2] net/pcap: enable infinitely rxing a pcap file

2019-06-05 Thread Cian Ferriter
this mode. When filling the ring at rx queue setup time, the presence of multi segment mbufs is checked for. The PMD will exit on detection of these multi segment mbufs. Signed-off-by: Cian Ferriter --- doc/guides/nics/pcap_ring.rst | 19 +++ drivers/net/pcap/rte_e

[dpdk-dev] [PATCH 19.08] net/pcap: enable infinitely rxing a pcap file

2019-04-11 Thread Cian Ferriter
this mode. When filling the ring at rx queue setup time, the presence of multi segment mbufs is checked for. The PMD will exit on detection of these multi segment mbufs. Signed-off-by: Cian Ferriter --- doc/guides/nics/pcap_ring.rst | 15 +++ drivers/net/pcap/rte_e

[dpdk-dev] [PATCH v2] net/pcap: Generate unique MAC addresses for interfaces

2018-09-10 Thread Cian Ferriter
addresses. This method was chosen over randomly assigning MAC addresses to make the creation of pcaps, specifically matching the destination ethernet address field to an interface, easier. Signed-off-by: Cian Ferriter --- v1->v2: * Add a "struct ether_addr" to "pmd_internals"

[dpdk-dev] [PATCH] net/pcap: Generate unique MAC addresses for interfaces

2018-09-03 Thread Cian Ferriter
The MAC addresses are generated in the same manner as in the TAP PMD, where the address is based on the number of PCAP ports created. Signed-off-by: Cian Ferriter --- drivers/net/pcap/rte_eth_pcap.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/net/pcap

[dpdk-dev] [PATCH] mbuf: fix comment about vxlan destination port used

2017-07-07 Thread Cian Ferriter
IANA assigns a destination port of 4789 for the VXLAN in the Service Name and Transport Protocol Port Number Registry. This is mentioned in RFC 7348. Signed-off-by: Cian Ferriter --- lib/librte_mbuf/rte_mbuf_ptype.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib

[dpdk-dev] [PATCH] doc: fix typo in contributing guide

2017-07-07 Thread Cian Ferriter
Signed-off-by: Cian Ferriter --- doc/guides/contributing/patches.rst |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 84a5dab..7926c96 100644 --- a/doc/guides/contributing/patches.rst +++ b

[dpdk-dev] [PATCH] lib/librte_ether: change socket_id passed to rte_memzone_reserve

2015-01-22 Thread Cian Ferriter
Removes the dependency that this memzone reserve has on the socket currently running on. Following the socket of the master core will yield more predictable results when calling this function after initialisation. Signed-off-by: Cian Ferriter Reviewed-by: Maryam Tahhan Reviewed-by: Bruce

[dpdk-dev] [PATCH] lib/librte_ether: change socket_id passed to rte_memzone_reserve

2015-01-13 Thread Cian Ferriter
Change the socket id that is passed to rte_memzone_reserve from the socket id of current logical core to the socket id of the master_lcore. --- lib/librte_ether/rte_ethdev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) mode change 100644 => 100755 lib/librte_ether/rte_ethdev.c dif