rte_ethdev: fix typos in error log message

Message ID 1554029208-26724-1-git-send-email-dekelp@mellanox.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • rte_ethdev: fix typos in error log message
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing fail Performance Testing issues
ci/intel-Performance-Testing success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Dekel Peled March 31, 2019, 10:46 a.m.
Correct minor typing mistake:
pre-queue ==> per-queue

Fixes: bea1e0c70cfc ("ethdev: convert static log type usage to dynamic")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
 lib/librte_ethdev/rte_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Andrew Rybchenko April 1, 2019, 8:52 a.m. | #1
On 3/31/19 1:46 PM, Dekel Peled wrote:
> Correct minor typing mistake:
> pre-queue ==> per-queue
>
> Fixes: bea1e0c70cfc ("ethdev: convert static log type usage to dynamic")
> Cc: stable@dpdk.org
>
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>


Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Ferruh Yigit April 2, 2019, 3:34 p.m. | #2
On 4/1/2019 9:52 AM, Andrew Rybchenko wrote:
> On 3/31/19 1:46 PM, Dekel Peled wrote:
>> Correct minor typing mistake:
>> pre-queue ==> per-queue
>>
>> Fixes: bea1e0c70cfc ("ethdev: convert static log type usage to dynamic")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> 
> 
> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
> 

Applied to dpdk-next-net/master, thanks.

Patch

diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
index 12b66b6..a5462b7 100644
--- a/lib/librte_ethdev/rte_ethdev.c
+++ b/lib/librte_ethdev/rte_ethdev.c
@@ -1651,7 +1651,7 @@  struct rte_eth_dev *
 	     local_conf.offloads) {
 		RTE_ETHDEV_LOG(ERR,
 			"Ethdev port_id=%d rx_queue_id=%d, new added offloads 0x%"PRIx64" must be "
-			"within pre-queue offload capabilities 0x%"PRIx64" in %s()\n",
+			"within per-queue offload capabilities 0x%"PRIx64" in %s()\n",
 			port_id, rx_queue_id, local_conf.offloads,
 			dev_info.rx_queue_offload_capa,
 			__func__);
@@ -1755,7 +1755,7 @@  struct rte_eth_dev *
 	     local_conf.offloads) {
 		RTE_ETHDEV_LOG(ERR,
 			"Ethdev port_id=%d tx_queue_id=%d, new added offloads 0x%"PRIx64" must be "
-			"within pre-queue offload capabilities 0x%"PRIx64" in %s()\n",
+			"within per-queue offload capabilities 0x%"PRIx64" in %s()\n",
 			port_id, tx_queue_id, local_conf.offloads,
 			dev_info.tx_queue_offload_capa,
 			__func__);