aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-29 10:11:02 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-29 20:23:54 -0500
commitc383b53729a9bbbceee132a85955d084ba00ca3a (patch)
treeaf6a309a5859a9e2e055e674650aa652dffc010c /drivers/net/sfc/net_driver.h
parent76884835684411264cda2f15585261eb02183541 (diff)
sfc: Allow for additional checksum offload features
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index e1534ba6ad79..96d3f00df645 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -864,6 +864,8 @@ static inline const char *efx_dev_name(struct efx_nic *efx)
864 * descriptors 864 * descriptors
865 * @tx_dc_base: Base address in SRAM of TX queue descriptor caches 865 * @tx_dc_base: Base address in SRAM of TX queue descriptor caches
866 * @rx_dc_base: Base address in SRAM of RX queue descriptor caches 866 * @rx_dc_base: Base address in SRAM of RX queue descriptor caches
867 * @offload_features: net_device feature flags for protocol offload
868 * features implemented in hardware
867 * @reset_world_flags: Flags for additional components covered by 869 * @reset_world_flags: Flags for additional components covered by
868 * reset method RESET_TYPE_WORLD 870 * reset method RESET_TYPE_WORLD
869 */ 871 */
@@ -904,6 +906,7 @@ struct efx_nic_type {
904 unsigned int phys_addr_channels; 906 unsigned int phys_addr_channels;
905 unsigned int tx_dc_base; 907 unsigned int tx_dc_base;
906 unsigned int rx_dc_base; 908 unsigned int rx_dc_base;
909 unsigned long offload_features;
907 u32 reset_world_flags; 910 u32 reset_world_flags;
908}; 911};
909 912