Skip to contentSkip to conversation

accel-config: Update with new driver name changes

PATCH In review ramesh.thomas at intel.com 2 participants 2 messages May 8, 2021 – May 10, 2021

lore
Share & tools
lore

ramesh.thomas at intel.com

#0 lore raw

PATCH 1/1 accel-config: Update with new driver name changes

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Update with driver name changes for wqs in idxd kernel module. "idxd-kernel-portal" changes to "dmaengine", "idxd-user-portal" changes to "user" and "idxd-mdev-portal" changes to "mdev".

Signed-off-by Ramesh Thomas <ramesh.thomas(a)intel.com>
---
 accfg/lib/libaccfg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
accfg/lib/libaccfg.c +3 -3
index 12a97f5..0796f08 100644
@@ -36,9 +36,9 @@
 		(d)->bus_type_str : accfg_wq_device_portals[(w)->type])
 
 char *accfg_wq_device_portals[] = {
-	[ACCFG_WQT_KERNEL] = "idxd-kernel-portal",
-	[ACCFG_WQT_USER] = "idxd-user-portal",
-	[ACCFG_WQT_MDEV] = "idxd-mdev-portal",
+	[ACCFG_WQT_KERNEL] = "dmaengine",
+	[ACCFG_WQT_USER] = "user",
+	[ACCFG_WQT_MDEV] = "mdev",
 	NULL
 };
 
Signature · 1 line
2.26.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · ramesh.thomas(a)intel.com

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Update with driver name changes for wqs in idxd kernel module. "idxd-kernel-portal" changes to "dmaengine", "idxd-user-portal" changes to "user" and "idxd-mdev-portal" changes to "mdev".

Signed-off-by Ramesh Thomas <ramesh.thomas(a)intel.com>
Reviewed-by Dave Jiang <dave.jiang(a)intel.com>

Thanks. Sorry about the churn.

Quoted 21 lines
---
  accfg/lib/libaccfg.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
accfg/lib/libaccfg.c +3 -3
index 12a97f5..0796f08 100644
@@ -36,9 +36,9 @@
  		(d)->bus_type_str : accfg_wq_device_portals[(w)->type])
 
  char *accfg_wq_device_portals[] = {
-	[ACCFG_WQT_KERNEL] = "idxd-kernel-portal",
-	[ACCFG_WQT_USER] = "idxd-user-portal",
-	[ACCFG_WQT_MDEV] = "idxd-mdev-portal",
+	[ACCFG_WQT_KERNEL] = "dmaengine",
+	[ACCFG_WQT_USER] = "user",
+	[ACCFG_WQT_MDEV] = "mdev",
  	NULL
  };