Technically in Linux ifindex is unsigned 32 bit value. And 0 is
reserved as a marker.
Therefore why not use that semantic.
On Wed, Jan 8, 2014 at 1:46 AM, Mats Liljegren
wrote:
> This field is intended for pcap to describe the name of the interface
> as known to Linux. It is an interface index, b
The rx and tx functions are safe only if a queue is not shared by
multiple threads (or the threads synchronize through some other
mechanism). The safest design is to only use a queue on a single core.
You will see different architectures in the examples. Some use one
queue per core, and others use
I'm evaluating DPDK using dpdk-1.5.1r1. I have been playing around with the
test-pmd sample app. I'm having a hard time to get RSS to work. I have a
2-port 82599 Intel X540-DA2 NIC. I'm running the following command to start
the app.
sudo ./testpmd -c 0x1f -n 2 -- -i --portmask=0x3 --nb-cores=4 --
Hi,
Just to let you know that the invalid instruction error above went away
when AVX was enabled using host model cpu mode in the VM.
Thanks,
Pepe
On Mon, Jan 6, 2014 at 2:03 PM, Jose Gavine Cueto wrote:
> Hi Thomas,
>
> On Sun, Jan 5, 2014 at 10:54 PM, Thomas Monjalon <
> thomas.monjalon at 6
Signed-off-by: Mats Liljegren
---
lib/librte_pmd_pcap/rte_eth_pcap.c | 39 ++
lib/librte_pmd_pcap/rte_eth_pcap.h | 6 --
2 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c
b/lib/librte_pmd_pcap/rte_eth_pcap.
This field is intended for pcap to describe the name of the interface
as known to Linux. It is an interface index, but can be translated into
an interface name using if_indextoname() function.
When using pcap, interrupt affinity becomes important, and this field
gives the application a chance to e
This is my second attempt. I have now splitted the patch into a
generic and a pcap-specific.
I also use interface index instead of interface name.
Mats Liljegren (2):
Introduce if_index field to struct rte_eth_dev_info
pcap: Fill in if_index field for rte_eth_dev_info_get() calls
lib/librte
7 matches
Mail list logo