From e3efd85bf98652106f4b8cb08fb2d5df689124da Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Wed, 1 Mar 2017 15:45:29 +0100 Subject: [PATCH] net/i40e: fix error log in descriptor done function It's not queue identifier but a descriptor identifier. Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Olivier Matz --- drivers/net/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index d5e6453470..9b3b39ede6 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c @@ -1900,7 +1900,7 @@ i40e_dev_rx_descriptor_done(void *rx_queue, uint16_t offset) int ret; if (unlikely(offset >= rxq->nb_rx_desc)) { - PMD_DRV_LOG(ERR, "Invalid RX queue id %u", offset); + PMD_DRV_LOG(ERR, "Invalid RX descriptor id %u", offset); return 0; } -- 2.20.1