aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_iavf/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dev_iavf/port.c')
-rw-r--r--src/plugins/dev_iavf/port.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/dev_iavf/port.c b/src/plugins/dev_iavf/port.c
index c2dd13b476e..982436d9b45 100644
--- a/src/plugins/dev_iavf/port.c
+++ b/src/plugins/dev_iavf/port.c
@@ -145,7 +145,9 @@ iavf_port_init_vsi_queues (vlib_main_t *vm, vnet_dev_port_t *port)
for (u16 i = 0; i < ap->num_qp; i++)
ci->qpair[i] = (virtchnl_queue_pair_info_t){
- .rxq = { .vsi_id = vsi_id, .queue_id = i },
+ .rxq = { .vsi_id = vsi_id,
+ .queue_id = i,
+ .max_pkt_size = ETHERNET_MIN_PACKET_BYTES },
.txq = { .vsi_id = vsi_id, .queue_id = i },
};