* [PATCH] sw_evdev: report correct device name
@ 2022-07-13 18:24 Stephen Hemminger
2022-07-14 7:45 ` Van Haaren, Harry
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2022-07-13 18:24 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger, Harry van Haaren, Bruce Richardson, David Hunt
The software eventdev PMD reports todo-fix-name as the
device name. Looks like simple fix.
Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/event/sw/sw_evdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index f93313b31b5c..c9efe35bf428 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers/event/sw/sw_evdev.c
@@ -622,8 +622,8 @@ sw_dump(struct rte_eventdev *dev, FILE *f)
"Ordered", "Atomic", "Parallel", "Directed"
};
uint32_t i;
- fprintf(f, "EventDev %s: ports %d, qids %d\n", "todo-fix-name",
- sw->port_count, sw->qid_count);
+ fprintf(f, "EventDev %s: ports %d, qids %d\n",
+ dev->data->name, sw->port_count, sw->qid_count);
fprintf(f, "\trx %"PRIu64"\n\tdrop %"PRIu64"\n\ttx %"PRIu64"\n",
sw->stats.rx_pkts, sw->stats.rx_dropped, sw->stats.tx_pkts);
--
2.35.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] sw_evdev: report correct device name
2022-07-13 18:24 [PATCH] sw_evdev: report correct device name Stephen Hemminger
@ 2022-07-14 7:45 ` Van Haaren, Harry
2022-09-13 14:11 ` Jerin Jacob
0 siblings, 1 reply; 3+ messages in thread
From: Van Haaren, Harry @ 2022-07-14 7:45 UTC (permalink / raw)
To: Stephen Hemminger, dev; +Cc: Richardson, Bruce, Hunt, David
> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Wednesday, July 13, 2022 7:25 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Van Haaren, Harry
> <harry.van.haaren@intel.com>; Richardson, Bruce <bruce.richardson@intel.com>;
> Hunt, David <david.hunt@intel.com>
> Subject: [PATCH] sw_evdev: report correct device name
>
> The software eventdev PMD reports todo-fix-name as the
> device name. Looks like simple fix.
>
> Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging")
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Simple fix, but does what it needs! Thanks;
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
<snip diff>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sw_evdev: report correct device name
2022-07-14 7:45 ` Van Haaren, Harry
@ 2022-09-13 14:11 ` Jerin Jacob
0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2022-09-13 14:11 UTC (permalink / raw)
To: Van Haaren, Harry; +Cc: Stephen Hemminger, dev, Richardson, Bruce, Hunt, David
On Thu, Jul 14, 2022 at 1:15 PM Van Haaren, Harry
<harry.van.haaren@intel.com> wrote:
>
> > -----Original Message-----
> > From: Stephen Hemminger <stephen@networkplumber.org>
> > Sent: Wednesday, July 13, 2022 7:25 PM
> > To: dev@dpdk.org
> > Cc: Stephen Hemminger <stephen@networkplumber.org>; Van Haaren, Harry
> > <harry.van.haaren@intel.com>; Richardson, Bruce <bruce.richardson@intel.com>;
> > Hunt, David <david.hunt@intel.com>
> > Subject: [PATCH] sw_evdev: report correct device name
> >
> > The software eventdev PMD reports todo-fix-name as the
> > device name. Looks like simple fix.
> >
> > Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging")
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> Simple fix, but does what it needs! Thanks;
>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Updated the git commit as follows to fix ./devtools/check-git-log.sh
issues and applied to dpdk-next-net-eventdev/for-main. Thanks
event/sw: report correct device name
The software eventdev PMD reports todo-fix-name as the
device name.
Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
>
> <snip diff>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-13 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 18:24 [PATCH] sw_evdev: report correct device name Stephen Hemminger
2022-07-14 7:45 ` Van Haaren, Harry
2022-09-13 14:11 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).