net/virtio: remove redundant macro definitions for vector Rx
RTE_VIRTIO_VPMD_RX_BURST and RTE_VIRTIO_VPMD_RX_REARM_THRESH have been defined and used in virtio_rxtx_simple.h, but are defined again in virtio_rxtx_simple_*.c. It just happens to work. So remove the redundant definitions from the *.c files. Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
This commit is contained in:
parent
8786702e2d
commit
5b56d18d3b
@ -24,9 +24,7 @@
|
||||
|
||||
#include "virtio_rxtx_simple.h"
|
||||
|
||||
#define RTE_VIRTIO_VPMD_RX_BURST 32
|
||||
#define RTE_VIRTIO_DESC_PER_LOOP 8
|
||||
#define RTE_VIRTIO_VPMD_RX_REARM_THRESH RTE_VIRTIO_VPMD_RX_BURST
|
||||
|
||||
/* virtio vPMD receive routine, only accept(nb_pkts >= RTE_VIRTIO_DESC_PER_LOOP)
|
||||
*
|
||||
|
@ -25,9 +25,7 @@
|
||||
|
||||
#include "virtio_rxtx_simple.h"
|
||||
|
||||
#define RTE_VIRTIO_VPMD_RX_BURST 32
|
||||
#define RTE_VIRTIO_DESC_PER_LOOP 8
|
||||
#define RTE_VIRTIO_VPMD_RX_REARM_THRESH RTE_VIRTIO_VPMD_RX_BURST
|
||||
|
||||
/* virtio vPMD receive routine, only accept(nb_pkts >= RTE_VIRTIO_DESC_PER_LOOP)
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user