dpdk: improve rx burst count per loop 10/36410/1
authorFan Zhang <[email protected]>
Thu, 10 Mar 2022 14:49:19 +0000 (14:49 +0000)
committerFan Zhang <[email protected]>
Wed, 15 Jun 2022 07:30:38 +0000 (07:30 +0000)
commit73fdb095b36ce6b780cf6d1a6c20effe2e9a684a
treea8bd15a361baf636c502d7e17b54f5a10abfa381
parent3159d1c2107698b2bdc17dc889088058540f9e10
dpdk: improve rx burst count per loop

Type: improvement

This patch improves the per dpdk-input loop number of packets
received from the port. The change mimics how packets rx happened
before VPP 22.02/DPDK 21.11: instead of trying to rx huge number
of packets (256) in one go, rx more times with up to 32 packets
max each time.

Signed-off-by: Fan Zhang <[email protected]>
Change-Id: I804dce6d9121ab21b02e53dd0328dc52ac49d80f
(cherry picked from commit a9fe20f4b8f7a9bd65cc8ee1b6a0204af7fc3627)
src/plugins/dpdk/device/node.c