On some of the hardware e.g. DPAA, rx burst can only return
upto 16 packets, which causes the application to assume that
no more packets are present.
This patch modifies the application to use device published
packet burst size.
Signed-off-by: Nikhil Agarwal
---
examples/l3fwd-power/main.c
the lowest available max_burst_size value
for rte_eth_rx_burst.
Signed-off-by: Nikhil Agarwal
---
lib/librte_ether/rte_ethdev.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 341c2d6..3ab6f02 100644
--- a/lib/librte_ether/rt
Signed-off-by: Nikhil Agarwal
---
drivers/net/dpaa/dpaa_ethdev.c | 1 +
drivers/net/dpaa/dpaa_ethdev.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index cf5a2ec..79c6cc4 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b
The code assumes that the platform frequency is 2GHz.
This patch add support for dynamically detecting platform frequence.
Fixes: d7937e2e3d12 ("power: initial import")
Cc: sta...@dpdk.org
Signed-off-by: Nikhil Agarwal
---
examples/l3fwd-power/main.c | 8
1 file changed, 4
l3fwd-power: enable one-shot Rx interrupt and
polling switch")
Cc: sta...@dpdk.org
Cc: Danny Zhou
Cc: Cunming Liang
Signed-off-by: Nikhil Agarwal
---
examples/l3fwd-power/main.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l
This application does not need Link Status Interrupt.
It will cause failure for the platforms not supporting LSC.
Signed-off-by: Nikhil Agarwal
---
examples/l3fwd-power/main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index
HW queue based platforms may not support descriptor done API.
This patch changes the usages to rx_queue_count API, which
is more generic.
Signed-off-by: Nikhil Agarwal
---
examples/l3fwd-power/main.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/examples/l3fwd
7 matches
Mail list logo