From 3235382f23074e7f5b413b862f8cfed37142dbcd Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 20 Jan 2019 02:24:53 +0100 Subject: buffers: remove VLIB_BUFFER_DEFAULT_FREE_LIST macro and fl->n_data_bytes Change-Id: I0ba5175be077c40556f2a3ce629c5bbcd71e0a81 Signed-off-by: Damjan Marion --- src/plugins/avf/device.c | 2 +- src/plugins/marvell/pp2/pp2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') 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); } diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c index 016ad53cc96..ec35a0d92b7 100644 --- a/src/plugins/marvell/pp2/pp2.c +++ b/src/plugins/marvell/pp2/pp2.c @@ -244,7 +244,7 @@ mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args) /* FIXME bpool bit select per pp */ s = format (s, "pool-%d:%d%c", pp2_id, pp2_id + 8, 0); bpool_params.match = (char *) s; - bpool_params.buff_len = VLIB_BUFFER_DEFAULT_FREE_LIST_BYTES; + bpool_params.buff_len = VLIB_BUFFER_DATA_SIZE; /* FIXME +64 ? */ if (pp2_bpool_init (&bpool_params, &ppif->inqs[0].bpool)) { -- cgit 1.2.3-korg