From: Yaroslav Brustinov Date: Mon, 3 Dec 2018 09:54:04 +0000 (+0200) Subject: ethdev: fix typo in queue setup error log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b4b896fcfe9bc9f079698442697aa8e1d4a6dc3f;p=dpdk.git ethdev: fix typo in queue setup error log '=' should be '>=" for '[rt]x_desc_lim.nb_min' check. Fixes: 386c993e95f1 ("ethdev: add a missing sanity check for Tx queue setup") Fixes: 80a1deb4c77a ("ethdev: add API to retrieve queue information") Cc: stable@dpdk.org Signed-off-by: Yaroslav Brustinov Reviewed-by: Ferruh Yigit --- diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 5f858174b2..9d5107dce3 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -1594,7 +1594,7 @@ rte_eth_rx_queue_setup(uint16_t port_id, uint16_t rx_queue_id, nb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) { RTE_ETHDEV_LOG(ERR, - "Invalid value for nb_rx_desc(=%hu), should be: <= %hu, = %hu, and a product of %hu\n", + "Invalid value for nb_rx_desc(=%hu), should be: <= %hu, >= %hu, and a product of %hu\n", nb_rx_desc, dev_info.rx_desc_lim.nb_max, dev_info.rx_desc_lim.nb_min, dev_info.rx_desc_lim.nb_align); @@ -1698,7 +1698,7 @@ rte_eth_tx_queue_setup(uint16_t port_id, uint16_t tx_queue_id, nb_tx_desc < dev_info.tx_desc_lim.nb_min || nb_tx_desc % dev_info.tx_desc_lim.nb_align != 0) { RTE_ETHDEV_LOG(ERR, - "Invalid value for nb_tx_desc(=%hu), should be: <= %hu, = %hu, and a product of %hu\n", + "Invalid value for nb_tx_desc(=%hu), should be: <= %hu, >= %hu, and a product of %hu\n", nb_tx_desc, dev_info.tx_desc_lim.nb_max, dev_info.tx_desc_lim.nb_min, dev_info.tx_desc_lim.nb_align);