Re: [PATCH net-next v3] xen-netfront: fix warn message as irq device name has '/'

From: David Miller
Date: Tue Aug 14 2018 - 13:11:05 EST


From: Xiao Liang <xiliang@xxxxxxxxxx>
Date: Tue, 14 Aug 2018 23:21:28 +0800

> There is a call trace generated after commit 2d408c0d4574b01b9ed45e02516888bf925e11a9(
> xen-netfront: fix queue name setting). There is no 'device/vif/xx-q0-tx' file found
> under /proc/irq/xx/.
>
> This patch only picks up device type and id as its name.
>
> With the patch, now /proc/interrupts looks like below and the warning message gone:
> 70: 21 0 0 0 xen-dyn -event vif0-q0-tx
> 71: 15 0 0 0 xen-dyn -event vif0-q0-rx
> 72: 14 0 0 0 xen-dyn -event vif0-q1-tx
> 73: 33 0 0 0 xen-dyn -event vif0-q1-rx
> 74: 12 0 0 0 xen-dyn -event vif0-q2-tx
> 75: 24 0 0 0 xen-dyn -event vif0-q2-rx
> 76: 19 0 0 0 xen-dyn -event vif0-q3-tx
> 77: 21 0 0 0 xen-dyn -event vif0-q3-rx
>
> Below is call trace information without this patch:
...
> Signed-off-by: Xiao Liang <xiliang@xxxxxxxxxx>
> Reviewed-by: Juergen Gross <jgross@xxxxxxxx>

Applied, thank you.