From: Mats Liljegren
Current test relies on the fact that pcap_sendpacket is a macro. Since it is
a function, the test fails, causing loss of sending ability when using pcap.
Signed-off-by: Mats Liljegren
---
lib/librte_pmd_pcap/rte_eth_pcap.h |4
1 file changed, 4 deletions(-)
diff
> I guess something is still wrong:
> testpmd application is reporting "PMD: pcap library cannot send packets,
> please rebuild with a more up to date libpcap" message when I try creating
> a bridge between two network cards.
> I am more than sure that older version of pcap is not installed:
> c
From: Mats Liljegren
Use command line parameters to get the name of the interface.
This name is converted into if_index, which is provided as
device info.
Signed-off-by: Mats Liljegren
---
lib/librte_pmd_pcap/rte_eth_pcap.c | 36
lib/librte_pmd_pcap/rte_e
From: Mats Liljegren
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 ap
Changes since v1:
- Split into two patches: Generic and pcap specific.
- Changed interface name to interface index
Changes since v2:
- Interface index is now unsigned
- Value 0 used as error rather than 0
- Added missing include of net/if.h in rte_eth_pcap.c
- Declared struct args_dict in rte_eth_
From: Mats Liljegren
Signed-off-by: Mats Liljegren
---
lib/librte_pmd_pcap/rte_eth_pcap.c | 36
lib/librte_pmd_pcap/rte_eth_pcap.h |9 +++--
2 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c
b/lib/
From: Mats Liljegren
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 ap
Changes since v1:
- Split into two patches: Generic and pcap specific.
- Changed interface name to interface index
Changes since v2:
- Interface index is now unsigned
- Value 0 used as error rather than 0
- Added missing include of net/if.h in rte_eth_pcap.c
- Declared struct args_dict in rte_eth_
8 matches
Mail list logo