From 8934a04596d1421c35b194949b2027ca1fe71aef Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 9 Feb 2019 23:29:26 +0100 Subject: buffers: fix typo Change-Id: I4e836244409c98739a13092ee252542a2c5fe259 Signed-off-by: Damjan Marion --- src/plugins/avf/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/avf') diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c index ede4cda69bf..248e3c173bd 100644 --- a/src/plugins/avf/device.c +++ b/src/plugins/avf/device.c @@ -594,7 +594,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_bufer_get_default_size (vm); + rxq->databuffer_size = vlib_buffer_get_default_data_size (vm); rxq->dma_ring_addr = avf_dma_addr (vm, ad, (void *) q->descs); avf_reg_write (ad, AVF_QRX_TAIL (i), q->size - 1); } -- cgit 1.2.3-korg