diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-09 23:29:26 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2019-02-09 23:29:26 +0100 |
commit | 8934a04596d1421c35b194949b2027ca1fe71aef (patch) | |
tree | 9506a0f986a04112bcdae86a06834cc571c13841 /src/plugins/avf/device.c | |
parent | 54a51fd5869c3451096e6512a927ff864855a24f (diff) |
buffers: fix typo
Change-Id: I4e836244409c98739a13092ee252542a2c5fe259
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/device.c')
-rw-r--r-- | src/plugins/avf/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |