net/i40e: fix error log in descriptor done function
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 1 Mar 2017 14:45:29 +0000 (15:45 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:39 +0000 (18:59 +0200)
It's not queue identifier but a descriptor identifier.

Fixes: 4861cde46116 ("i40e: new poll mode driver")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
drivers/net/i40e/i40e_rxtx.c

index d5e6453..9b3b39e 100644 (file)
@@ -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;
        }