From e1480a2c12ff764622dd2ae1bc9bce6cd25bcbdd Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Thu, 14 Jan 2021 10:25:02 +0000 Subject: avf: use write combining store for queues tail update Performance improvement: on supported platforms, currently only Intel Tremont, use a write combining store to update the tail pointers. Also, Tremont node variant is added for all. Type: improvement Signed-off-by: Radu Nicolau Change-Id: Ie9606e403b7d9655184f778e3ffee3027c8c9edd --- src/plugins/avf/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/avf/input.c') diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c index 5041f6ef4e7..221b54b19a9 100644 --- a/src/plugins/avf/input.c +++ b/src/plugins/avf/input.c @@ -125,7 +125,7 @@ avf_rxq_refill (vlib_main_t * vm, vlib_node_runtime_t * node, avf_rxq_t * rxq, n_alloc -= 8; } - clib_atomic_store_rel_n (rxq->qrx_tail, slot); + avf_tail_write (rxq->qrx_tail, slot); } -- cgit 1.2.3-korg