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

2018-08-14 Thread Xiao Liang
85 c0 75 cc 5b 49 89 2e 31 c0 5d 4d 89 3c 24 41 5c 41 5d 41 5e 41 5f c3 4c 89 ee 48 c7 c7 40 4f 0e b4 e8 65 ea d8 ff <0f> 0b b8 fe ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f ---[ end trace 650e5561b0caab3a ]--- Signed-off-by: Xiao Liang Reviewed-by: Juergen Gross --- driv

[Xen-devel] [PATCH v2] xen-netfront: fix warn message as irq device name has '/'

2018-08-11 Thread Xiao Liang
85 c0 75 cc 5b 49 89 2e 31 c0 5d 4d 89 3c 24 41 5c 41 5d 41 5e 41 5f c3 4c 89 ee 48 c7 c7 40 4f 0e b4 e8 65 ea d8 ff <0f> 0b b8 fe ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f ---[ end trace 650e5561b0caab3a ]--- Signed-off-by: Xiao Liang Reviewed-by: Juergen Gross --- driv

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

2018-08-08 Thread Xiao Liang
75 cc 5b 49 89 2e 31 c0 5d 4d 89 3c 24 41 5c 41 5d 41 5e 41 5f c3 4c 89 ee 48 c7 c7 40 4f 0e b4 e8 65 ea d8 ff <0f> 0b b8 fe ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f ---[ end trace 650e5561b0caab3a ]--- Signed-off-by: Xiao Liang --- drivers/net/xen-netfront.c | 6 -- 1 file c

Re: [Xen-devel] [PATCH] xen-netfront: wait xenbus state change when load module manually

2018-07-30 Thread Xiao Liang
Thanks, David On 07/29/2018 11:30 PM, David Miller wrote: From: Xiao Liang Date: Fri, 27 Jul 2018 17:56:08 +0800 @@ -1330,6 +1331,11 @@ static struct net_device *xennet_create_dev(struct xenbus_device *dev) netif_carrier_off(netdev); xenbus_switch_state(dev

Re: [Xen-devel] [PATCH] xen-netfront: wait xenbus state change when load module manually

2018-07-30 Thread Xiao Liang
Thanks, Boris Please see my reply inline. On 07/28/2018 02:40 AM, Boris Ostrovsky wrote: On 07/27/2018 05:56 AM, Xiao Liang wrote: When loading module manually, after call xenbus_switch_state to initializes the state of the netfront device, the driver state did not change so fast that may

[Xen-devel] [PATCH] xen-netfront: wait xenbus state change when load module manually

2018-07-27 Thread Xiao Liang
Cannot get link status: No such device No data available With the patch installed. [vm]# ethtool eth0 Settings for eth0: Link detected: yes [vm]# modprobe -r xen_netfront [vm]# modprobe xen_netfront [vm]# ethtool eth0 Settings for eth0: Link detected: yes Signed-off-by: Xiao Liang