Skip to contentSkip to conversation

compress/isal: create shorter qp name

PATCH Applied Adam Dybkowski 4 participants 5 messages Aug 6, 2019 – Sep 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compress/isal: create shorter qp name

This patch shortens the queue pair name created when initializing the queue pair of the ISAL PIM, based on the device and qp ids. The patch idea of shortening the queue pair name was proposed by Luse, Paul E <<[email protected]>

---
 drivers/compress/isal/isal_compress_pmd_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/compress/isal/isal_compress_pmd_ops.c +1 -1
index 77ac6fcf2..31c455991 100644
@@ -216,7 +216,7 @@ isal_comp_pmd_qp_set_unique_name(struct rte_compressdev *dev,
 struct isal_comp_qp *qp)
 {
 	unsigned int n = snprintf(qp->name, sizeof(qp->name),
-			"isal_compression_pmd_%u_qp_%u",
+			"isal_comp_pmd_%u_qp_%u",
 			dev->data->dev_id, qp->id);
 
 	if (n >= sizeof(qp->name))
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw

Hi Adam,

Take care to add the maintainer of the code you are changing to your email, a list can be found in the MAINTAINERS file. This will hopefully ensure a response to the change.
Thanks.

Quoted 32 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Adam Dybkowski
Sent: Tuesday, August 6, 2019 10:10 AM
To: [email protected]; Trahe, Fiona <[email protected]>; Luse, Paul E <[email protected]>
Cc: Dybkowski, AdamX <[email protected]>
Subject: [dpdk-dev] [PATCH] compress/isal: create shorter qp name

This patch shortens the queue pair name created when initializing the queue pair of the ISAL PIM, based on the device and qp ids.
The patch idea of shortening the queue pair name was proposed by Luse, Paul E <<[email protected]>

---
 drivers/compress/isal/isal_compress_pmd_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/compress/isal/isal_compress_pmd_ops.c +1 -2
index 77ac6fcf2..31c455991 100644
@@ -216,7 +216,7 @@ isal_comp_pmd_qp_set_unique_name(struct
 rte_compressdev *dev,  struct isal_comp_qp *qp)  {
 	unsigned int n = snprintf(qp->name, sizeof(qp->name),
-			"isal_compression_pmd_%u_qp_%u",
+			"isal_comp_pmd_%u_qp_%u",
 			dev->data->dev_id, qp->id);
 
 	if (n >= sizeof(qp->name))
--
Quoted 1 line

2.17.1

#2 lore raw
Quoted 8 lines

-----Original Message-----
From: Daly, Lee
Sent: Tuesday, 6 August, 2019 11:28
To: Dybkowski, AdamX <[email protected]>; [email protected]; Trahe, Fiona <[email protected]>; Luse, Paul E <[email protected]>
Cc: Dybkowski, AdamX <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] compress/isal: create shorter qp name

Quoted 6 lines

Hi Adam,

Take care to add the maintainer of the code you are changing to your email, a list can be found in the MAINTAINERS file.
This will hopefully ensure a response to the change.
Thanks.

Sure, will do next time.
Thanks for the quick ACK, Lee.

Acked-by on v1 1/1
#3 lore raw
In reply to Adam Dybkowski
Quoted 9 lines

-----Original Message-----
From: Dybkowski, AdamX
Sent: Tuesday, August 6, 2019 10:10 AM
To: [email protected]; Trahe, Fiona <[email protected]>; Luse, Paul E <[email protected]>
Cc: Dybkowski, AdamX <[email protected]>
Subject: [PATCH] compress/isal: create shorter qp name

Quoted 6 lines

This patch shortens the queue pair name created when initializing the queue pair of the ISAL PIM, based on the device and qp ids. The patch idea of shortening the queue pair name was proposed by Luse, Paul E <<[email protected]>

Applied
#4 lore raw
Quoted 10 lines
Quoted 6 lines

-----Original Message-----
From: Dybkowski, AdamX
Sent: Tuesday, August 6, 2019 10:10 AM
To: [email protected]; Trahe, Fiona <[email protected]>; Luse, Paul E

<[email protected]>

Quoted 3 lines

Cc: Dybkowski, AdamX <[email protected]>
Subject: [PATCH] compress/isal: create shorter qp name

Quoted 7 lines
Quoted 6 lines

This patch shortens the queue pair name created when initializing the queue pair of the ISAL PIM, based on the device and qp ids. The patch idea of shortening the queue pair name was proposed by Luse, Paul E <<[email protected]>

Applied to dpdk-next-crypto

Thanks.