total count on its own.
Next, I have added a counter for the case when mbuf could not be
allocated.
Signed-off-by: Stefan Laesser
---
v3:
* Introduced function for querying socket dropped counter and use it also
to reset internal state when stats are reset.
* Combined the for-loops in in
total count on its own.
Next, I have added a counter for the case when mbuf could not be
allocated.
Signed-off-by: Stefan Laesser
---
v2:
* Limited scope of tpacket_stats and socklen_t variables and moved them
inside the for-loop in function eth_stats_get.
* Removed q_errors counting as dropped
total count on its own.
Next, I have added a counter for the case when mbuf couldn't be
allocated.
Signed-off-by: Stefan Laesser
---
drivers/net/af_packet/rte_eth_af_packet.c | 32 +--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/drivers/net/af_p
Add the packet timestamp from TPACKET_V2 to the mbuf
dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
is enabled.
TPACKET_V2 provides the timestamp with nanosecond resolution
and UNIX origo, i.e. time since 1-JAN-1970 UTC.
Signed-off-by: Stefan Laesser
Acked-by: Morten
Add the packet timestamp from TPACKET_V2 to the mbuf
dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
is enabled.
TPACKET_V2 provides the timestamp with nanosecond resolution
and UNIX origo, i.e. time since 1-JAN-1970 UTC.
Signed-off-by: Stefan Laesser
Acked-by: Morten
Add the packet timestamp from TPACKET_V2 to the mbuf
dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
is enabled.
TPACKET_V2 provides the timestamp with nanosecond resolution.
Signed-off-by: Stefan Laesser
---
.mailmap | 1 +
doc/guides
6 matches
Mail list logo