aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/device.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-01-20 02:24:53 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-01-20 21:01:03 +0000
commit3235382f23074e7f5b413b862f8cfed37142dbcd (patch)
tree13bd34d93a9334314469134addd5a57dd14d792c /src/plugins/avf/device.c
parentb67196d8233ee89e79e0e6b05c3fa95a5fb6a579 (diff)
buffers: remove VLIB_BUFFER_DEFAULT_FREE_LIST macro and fl->n_data_bytes
Change-Id: I0ba5175be077c40556f2a3ce629c5bbcd71e0a81 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/device.c')
-rw-r--r--src/plugins/avf/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c
index 38af1cbcf8b..ff893056de9 100644
--- a/src/plugins/avf/device.c
+++ b/src/plugins/avf/device.c
@@ -590,7 +590,7 @@ avf_op_config_vsi_queues (vlib_main_t * vm, avf_device_t * ad)
{
avf_rxq_t *q = vec_elt_at_index (ad->rxqs, i);
rxq->ring_len = q->size;
- rxq->databuffer_size = VLIB_BUFFER_DEFAULT_FREE_LIST_BYTES;
+ rxq->databuffer_size = VLIB_BUFFER_DATA_SIZE;
rxq->dma_ring_addr = avf_dma_addr (vm, ad, (void *) q->descs);
avf_reg_write (ad, AVF_QRX_TAIL (i), q->size - 1);
}