OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane
https://opendataplane.org
Other
176 stars 133 forks source link

test: dmafwd: packet cleanup counter add #2078

Closed AmitShukla87622 closed 2 months ago

AmitShukla87622 commented 3 months ago

dmafwd sends the packets in multiple of burst size. If the number of packets to be sent are not in multiple of burst size, (num pkts to send % burst size) packets are not sent.

This patch adds a stats counter "pkt_cleanup" for the packets that are not sent.

Signed-off-by: Amit Prakash Shukla amitprakashs@marvell.com Reviewed-by: Tuomas Taipale tuomas.taipale@nokia.com

MatiasElo commented 2 months ago

Hi @AmitShukla87622, please add the reviewed-by tag and address Tuomas' commit message comment so this PR can be merged.

MatiasElo commented 2 months ago

Ping @AmitShukla87622

AmitShukla87622 commented 2 months ago

Apologies for delayed reply. I was out of office for few days. I will address the comment and push the change.