similar to: [PATCH 1/1] staging: hv: Fix missing functions for net_device_ops

Displaying 20 results from an estimated 2000 matches similar to: "[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops"

2010 Aug 02
1
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (resubmit)
From: Haiyang Zhang <haiyangz at microsoft.com> Subject: staging: hv: Fix missing functions for net_device_ops Unlike in older kernels, ether_setup() no longer sets default functions. We need to put them into net_device_ops. For example, eth_change_mtu prevents setting MTU beyond 1500. This is necessary because we don't support jumbo frame at this time. It affects kernel 2.6.32 and
2010 Aug 02
1
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (resubmit)
From: Haiyang Zhang <haiyangz at microsoft.com> Subject: staging: hv: Fix missing functions for net_device_ops Unlike in older kernels, ether_setup() no longer sets default functions. We need to put them into net_device_ops. For example, eth_change_mtu prevents setting MTU beyond 1500. This is necessary because we don't support jumbo frame at this time. It affects kernel 2.6.32 and
2010 Aug 03
0
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (with detailed comments)
From: Haiyang Zhang <haiyangz at microsoft.com> Fix missing functions for net_device_ops. It's a bug when porting Linux IC from 2.6.27 to 2.6.32. In 2.6.27, the default functions for Ethernet, like eth_change_mtu(), were assigned by ether_setup(). But in 2.6.32, these function pointers moved to net_device_ops structure and no longer be assigned in ether_setup(). So we need to set these
2010 Aug 03
0
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (with detailed comments)
From: Haiyang Zhang <haiyangz at microsoft.com> Fix missing functions for net_device_ops. It's a bug when porting Linux IC from 2.6.27 to 2.6.32. In 2.6.27, the default functions for Ethernet, like eth_change_mtu(), were assigned by ether_setup(). But in 2.6.32, these function pointers moved to net_device_ops structure and no longer be assigned in ether_setup(). So we need to set these
2010 Aug 03
0
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (submit again)
From: Haiyang Zhang <haiyangz at microsoft.com> Fix missing functions for net_device_ops. Unlike in older kernels, ether_setup() no longer sets default functions. We need to put them into net_device_ops. For example, eth_change_mtu prevents setting MTU beyond 1500. This is necessary because we don't support jumbo frame at this time. It affects kernel 2.6.32 and later, which are all
2010 Aug 03
0
[PATCH 1/1] staging: hv: Fix missing functions for net_device_ops (submit again)
From: Haiyang Zhang <haiyangz at microsoft.com> Fix missing functions for net_device_ops. Unlike in older kernels, ether_setup() no longer sets default functions. We need to put them into net_device_ops. For example, eth_change_mtu prevents setting MTU beyond 1500. This is necessary because we don't support jumbo frame at this time. It affects kernel 2.6.32 and later, which are all
2011 Apr 05
3
[PATCH] staging: hv: Fix GARP not sent after Quick Migration
After Quick Migration, the network is not immediately operational in the current context when receiving RNDIS_STATUS_MEDIA_CONNECT event. So, I put the netif_notify_peers() into a scheduled work, otherwise GARP packet will not be sent after quick migration, and cause network disconnection. Thanks to Mike Surcouf <mike at surcouf.co.uk> for reporting the bug and testing the patch. This
2011 Apr 05
3
[PATCH] staging: hv: Fix GARP not sent after Quick Migration
After Quick Migration, the network is not immediately operational in the current context when receiving RNDIS_STATUS_MEDIA_CONNECT event. So, I put the netif_notify_peers() into a scheduled work, otherwise GARP packet will not be sent after quick migration, and cause network disconnection. Thanks to Mike Surcouf <mike at surcouf.co.uk> for reporting the bug and testing the patch. This
2016 Oct 20
0
[PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers
On Thu, Oct 20, 2016 at 01:55:21PM -0400, Jarod Wilson wrote: > hyperv_net: > - set min/max_mtu, per Haiyang, after rndis_filter_device_add > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > vmxnet3: > - set min/max_mtu > > xen-netback: > - min_mtu = 0, max_mtu = 65517 > > xen-netfront: > - min_mtu = 0, max_mtu = 65535 > >
2016 Oct 19
7
[PATCH net-next 5/6] net: use core MTU range checking in virt drivers
hyperv_net: - set min/max_mtu virtio_net: - set min/max_mtu - remove virtnet_change_mtu vmxnet3: - set min/max_mtu CC: netdev at vger.kernel.org CC: virtualization at lists.linux-foundation.org CC: "K. Y. Srinivasan" <kys at microsoft.com> CC: Haiyang Zhang <haiyangz at microsoft.com> CC: "Michael S. Tsirkin" <mst at redhat.com> CC: Shrikrishna Khare
2016 Oct 19
7
[PATCH net-next 5/6] net: use core MTU range checking in virt drivers
hyperv_net: - set min/max_mtu virtio_net: - set min/max_mtu - remove virtnet_change_mtu vmxnet3: - set min/max_mtu CC: netdev at vger.kernel.org CC: virtualization at lists.linux-foundation.org CC: "K. Y. Srinivasan" <kys at microsoft.com> CC: Haiyang Zhang <haiyangz at microsoft.com> CC: "Michael S. Tsirkin" <mst at redhat.com> CC: Shrikrishna Khare
2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
Cleanup the names of variables that refer to the hyperv_device abstraction. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/blkvsc_drv.c | 12 ++--
2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
Cleanup the names of variables that refer to the hyperv_device abstraction. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/blkvsc_drv.c | 12 ++--
2016 Oct 20
4
[PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers
hyperv_net: - set min/max_mtu, per Haiyang, after rndis_filter_device_add virtio_net: - set min/max_mtu - remove virtnet_change_mtu vmxnet3: - set min/max_mtu xen-netback: - min_mtu = 0, max_mtu = 65517 xen-netfront: - min_mtu = 0, max_mtu = 65535 unisys/visor: - clean up defines a little to not clash with network core or add redundat definitions CC: netdev at vger.kernel.org CC:
2016 Oct 20
4
[PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers
hyperv_net: - set min/max_mtu, per Haiyang, after rndis_filter_device_add virtio_net: - set min/max_mtu - remove virtnet_change_mtu vmxnet3: - set min/max_mtu xen-netback: - min_mtu = 0, max_mtu = 65517 xen-netfront: - min_mtu = 0, max_mtu = 65535 unisys/visor: - clean up defines a little to not clash with network core or add redundat definitions CC: netdev at vger.kernel.org CC:
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
The title says it all. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/blkvsc_drv.c | 46 +++++++++++++++--------------- drivers/staging/hv/netvsc_drv.c | 44 +++++++++++++++--------------- drivers/staging/hv/storvsc_drv.c | 36
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
The title says it all. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/blkvsc_drv.c | 46 +++++++++++++++--------------- drivers/staging/hv/netvsc_drv.c | 44 +++++++++++++++--------------- drivers/staging/hv/storvsc_drv.c | 36
2011 May 23
5
[PATCH 1/6] staging: hv: remove unnecessary code in netvsc_probe().
netif_carrier_off() was called earlier in this function, and there is no other thread access this device yet. The status checking code is not necessary here. Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at
2011 May 23
5
[PATCH 1/6] staging: hv: remove unnecessary code in netvsc_probe().
netif_carrier_off() was called earlier in this function, and there is no other thread access this device yet. The status checking code is not necessary here. Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at
2011 Jun 06
3
[PATCH 1/3] Staging: hv: netvsc: Fix a bug in accounting transmit slots
The current code manipulates the available transmit slots without proper locking; fix it. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> --- drivers/staging/hv/netvsc_drv.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git