Update SFC net drivers
PATCH 3/3 Update SFC net drivers
This patch against linux-2.6.18-xen.hg changest 974:aa133dee7792
Update sfc_netback driver to match sfc_resource 3.0.2.2074 Add support for direct guest access and acceleration of SFC9000 series NICs.
Improve handling of NIC reset in sfc_netback
Remove nic_index state and replace with if_index from struct net_device Remove duplication of header files with sfc_resource driver
Update sfc_netback driver to match sfc_resource 3.0.2.2074
Add support for direct guest access and acceleration of SFC9000 series NICs. Improve handling of NIC reset in sfc_netback
Remove nic_index state and replace with if_index from struct net_device Remove duplication of header files with sfc_resource driver
drivers/xen/sfc_netback/Makefile +1 -1
@@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -Idrivers/xen/sfc_netback -Idrivers/xen/sfc_netutil -Idrivers/xen/netback -Idrivers/net/sfc +EXTRA_CFLAGS += -Idrivers/xen/sfc_netback -Idrivers/xen/sfc_netutil -Idrivers/xen/netback -Idrivers/net/sfc -Idrivers/net/sfc/sfc_resource EXTRA_CFLAGS += -D__ci_driver__ EXTRA_CFLAGS += -DEFX_USE_KCOMPAT EXTRA_CFLAGS += -Werror
drivers/xen/sfc_netback/accel.h +0 -2
@@ -123,8 +123,6 @@enum net_accel_hw_type hw_type;/*! State of allocation */ int hw_state; -/*! Index into ci_driver.nics[] for this interface */ -int nic_index;/*! How to set up the acceleration for this hardware */ int (*accel_setup)(struct netback_accel *);/*! And how to stop it. */
drivers/xen/sfc_netback/accel_solarflare.c +58 -34
145 lines not on this page · raw message
drivers/xen/sfc_netback/ci/driver/resource/efx_vi.h deleted +0 -273
273 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/common.h deleted +0 -98
98 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/common_sysdep.h deleted +0 -71
71 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/debug.h deleted +0 -84
84 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/efhw_config.h deleted +0 -43
43 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/efhw_types.h deleted +0 -337
337 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/hardware_sysdep.h deleted +0 -86
86 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/iopage_types.h deleted +0 -195
195 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/public.h deleted +0 -83
83 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efhw/sysdep.h deleted +0 -72
72 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efrm/nic_table.h deleted +0 -98
98 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efrm/sysdep.h deleted +0 -54
54 lines not on this page · raw message
drivers/xen/sfc_netback/ci/efrm/sysdep_linux.h deleted +0 -267
267 lines not on this page · raw message
drivers/xen/sfc_netfront/accel_vi.c +4 -2
@@ -89,6 +89,7 @@ (hw_info->evq_rptr & (PAGE_SIZE -1 ));break ;case NET_ACCEL_MSG_HWTYPE_FALCON_B : +case NET_ACCEL_MSG_HWTYPE_SIENA_A : hw_info = &hw_msg->resources.falcon_b;break ;default :
@@ -124,8 +125,9 @@ } vnic->hw.falcon.doorbell = doorbell_kva; -/* On Falcon_B we get the rptr from the doorbell page */ -if (hw_msg->type ==NET_ACCEL_MSG_HWTYPE_FALCON_B ) { +/* On Falcon_B and Siena we get the rptr from the doorbell page */ +if (hw_msg->type ==NET_ACCEL_MSG_HWTYPE_FALCON_B || + hw_msg->type ==NET_ACCEL_MSG_HWTYPE_SIENA_A ) { vnic->hw.falcon.evq_rptr = (u32 *)((char *)vnic->hw.falcon.doorbell + hw_info->evq_rptr);
drivers/xen/sfc_netutil/accel_msg_iface.h +1 -0
@@ -120,6 +120,7 @@/*! NIC is Falcon-based */ NET_ACCEL_MSG_HWTYPE_FALCON_A =1 ,NET_ACCEL_MSG_HWTYPE_FALCON_B =2 , + NET_ACCEL_MSG_HWTYPE_SIENA_A = 3, };/*! The maximum number of pages used by an event queue. */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel