dpdk: improve rx burst count per loop 20/35620/3
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 10 Mar 2022 14:49:19 +0000 (14:49 +0000)
committerDamjan Marion <dmarion@me.com>
Mon, 14 Mar 2022 16:58:16 +0000 (16:58 +0000)
commita9fe20f4b8f7a9bd65cc8ee1b6a0204af7fc3627
tree4c61ee4c6a3ec69cdcfdd05fe13d115466ee5f08
parente41fa7790f9a88fb55df6ed017fda75c6343becc
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 <roy.fan.zhang@intel.com>
Change-Id: I804dce6d9121ab21b02e53dd0328dc52ac49d80f
src/plugins/dpdk/device/node.c