Hello Levend,
The packet type is indeed filled by hw in case there is a support for
it. I think your application may be missing a ptype handling function
which checks the supported ptype handling of the hw and registers a
callback handling in case the hw does not support it.
Please see more detai
At the moment, PCAP interfaces use dummy MAC by default. This change
adds support for selecting PCAP physical interface MAC with phy_mac=1
devarg. This allows to setup packet flows using the physical interface
MAC.
Signed-off-by: Juhamatti Kuusisaari
---
v6:
* Review changes:
* Clarified
Support for PCAP physical interface MAC with phy_mac=1 devarg.
Signed-off-by: Juhamatti Kuusisaari
---
doc/guides/rel_notes/release_18_11.rst | 4 +
drivers/net/pcap/rte_eth_pcap.c| 119 +++--
2 files changed, 118 insertions(+), 5 deletions(-)
diff --git a/doc
Support for PCAP physical interface MAC with phy_mac=1 devarg.
Signed-off-by: Juhamatti Kuusisaari
---
doc/guides/rel_notes/release_18_11.rst | 4 +
drivers/net/pcap/rte_eth_pcap.c| 118 +++--
2 files changed, 117 insertions(+), 5 deletions(-)
diff --git a/doc
Support for PCAP physical interface MAC with phy_mac=1 devarg.
Signed-off-by: Juhamatti Kuusisaari
---
doc/guides/rel_notes/release_18_11.rst | 4 +
drivers/net/pcap/rte_eth_pcap.c| 117 +++--
2 files changed, 116 insertions(+), 5 deletions(-)
diff --git a/doc
Support for PCAP physical interface MAC with phy_mac=1 devarg.
Signed-off-by: Juhamatti Kuusisaari
---
doc/guides/rel_notes/release_18_11.rst | 4 +
drivers/net/pcap/rte_eth_pcap.c| 119 +++--
2 files changed, 118 insertions(+), 5 deletions(-)
diff --git a/doc
Support for PCAP physical interface MAC with phy_mac=1 devarg.
Signed-off-by: Juhamatti Kuusisaari
---
drivers/net/pcap/rte_eth_pcap.c | 64 ++---
1 file changed, 59 insertions(+), 5 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap
Handle properly a case where DPDK_PATCH_PATH is set
to point to a directory.
Signed-off-by: Juhamatti Kuusisaari
---
devtools/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 7676a6b..2bb5458 100755
Handle properly a case where DPDK_MAINTAINER_PATH is set
to point to a directory.
Signed-off-by: Juhamatti Kuusisaari
---
devtools/get-maintainer.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devtools/get-maintainer.sh b/devtools/get-maintainer.sh
index 1e9eabd
Handle properly a case where DPDK_PATCH_PATH is set
to point to a directory.
Signed-off-by: Juhamatti Kuusisaari
---
devtools/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 7676a6b..2bb5458 100755
Support for PCAP MAC address using physical interface MAC.
Support for getting proper link status, speed and duplex.
Signed-off-by: Juhamatti Kuusisaari
---
config/common_base | 1 +
drivers/net/pcap/rte_eth_pcap.c | 52 -
2 files changed
Support for PCAP MAC address using physical interface MAC.
Support for getting proper link status, speed and duplex.
Signed-off-by: Juhamatti Kuusisaari
---
v2:
* Fix whitespace
---
drivers/net/pcap/rte_eth_pcap.c | 39 ++-
1 file changed, 26 insertions
Support for PCAP MAC address using physical interface MAC.
Support for getting proper link status, speed and duplex.
Signed-off-by: Juhamatti Kuusisaari
---
config/common_base | 1 +
drivers/net/pcap/rte_eth_pcap.c | 52 -
2 files changed
Consumer queue dequeuing must be guaranteed to be done fully before
the tail is updated. This is not guaranteed with a read barrier,
changed to a write barrier just before tail update which in practice
guarantees correct order of reads and writes.
Signed-off-by: Juhamatti Kuusisaari
---
lib
ned-off-by: Juhamatti Kuusisaari
---
lib/librte_ring/rte_ring.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h
index eb45e41..a923e49 100644
--- a/lib/librte_ring/rte_ring.h
+++ b/lib/librte_ring/rte_ring.h
@@ -662
15 matches
Mail list logo