ia64/linux-2.6.18-xen.hg

diff drivers/xen/sfc_netfront/accel_msg.c @ 847:ad4d307bf9ce

net sfc: Update sfc and sfc_resource driver to latest release

...and update sfc_netfront, sfc_netback, sfc_netutil for any API changes

sfc_netback: Fix asymmetric use of SFC buffer table alloc and free
sfc_netback: Clean up if no SFC accel device found
sfc_netback: Gracefully handle case where page grant fails
sfc_netback: Disable net acceleration if the physical link goes down
sfc_netfront: Less verbose error messages, more verbose counters for
rx discard errors
sfc_netfront: Gracefully handle case where SFC netfront fails during
initialisation

Signed-off-by: Kieran Mansley <kmansley@solarflare.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 31 11:59:10 2009 +0100 (2009-03-31)
parents 8c8a097cae69
children
line diff
     1.1 --- a/drivers/xen/sfc_netfront/accel_msg.c	Tue Mar 31 11:49:12 2009 +0100
     1.2 +++ b/drivers/xen/sfc_netfront/accel_msg.c	Tue Mar 31 11:59:10 2009 +0100
     1.3 @@ -124,7 +124,6 @@ void vnic_stop_fastpath(netfront_accel_v
     1.4  
     1.5  static void netfront_accel_interface_up(netfront_accel_vnic *vnic)
     1.6  {
     1.7 -
     1.8  	if (!vnic->backend_netdev_up) {
     1.9  		vnic->backend_netdev_up = 1;
    1.10  		
    1.11 @@ -136,7 +135,6 @@ static void netfront_accel_interface_up(
    1.12  
    1.13  static void netfront_accel_interface_down(netfront_accel_vnic *vnic)
    1.14  {
    1.15 -
    1.16  	if (vnic->backend_netdev_up) {
    1.17  		vnic->backend_netdev_up = 0;
    1.18