aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-config.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@exar.com>2010-11-11 04:25:53 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-11 09:30:18 -0800
commit47f01db44b2470d9517848f6b73c75883ef5fda0 (patch)
tree1d2e1c89a787c83ce6eabc98730ac994ab00aa1f /drivers/net/vxge/vxge-config.h
parent0c6202b3278b417444a59cecc59e6e5af04db7fd (diff)
downloadkernel_samsung_smdk4412-47f01db44b2470d9517848f6b73c75883ef5fda0.zip
kernel_samsung_smdk4412-47f01db44b2470d9517848f6b73c75883ef5fda0.tar.gz
kernel_samsung_smdk4412-47f01db44b2470d9517848f6b73c75883ef5fda0.tar.bz2
vxge: enable rxhash
Enable RSS hashing and add ability to pass up the adapter calculated rx hash up the network stack (if feature is available). Add the ability to enable/disable feature via ethtool, which requires that the adapter is not running at the time. Other miscellaneous cleanups and fixes required to get RSS working. Signed-off-by: Jon Mason <jon.mason@exar.com> Signed-off-by: Ram Vepa <ram.vepa@exar.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-config.h')
-rw-r--r--drivers/net/vxge/vxge-config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/vxge/vxge-config.h
index 5c00861..5d77905 100644
--- a/drivers/net/vxge/vxge-config.h
+++ b/drivers/net/vxge/vxge-config.h
@@ -1413,12 +1413,12 @@ enum vxge_hw_rth_algoritms {
* See also: vxge_hw_vpath_rts_rth_set(), vxge_hw_vpath_rts_rth_get().
*/
struct vxge_hw_rth_hash_types {
- u8 hash_type_tcpipv4_en;
- u8 hash_type_ipv4_en;
- u8 hash_type_tcpipv6_en;
- u8 hash_type_ipv6_en;
- u8 hash_type_tcpipv6ex_en;
- u8 hash_type_ipv6ex_en;
+ u8 hash_type_tcpipv4_en:1,
+ hash_type_ipv4_en:1,
+ hash_type_tcpipv6_en:1,
+ hash_type_ipv6_en:1,
+ hash_type_tcpipv6ex_en:1,
+ hash_type_ipv6ex_en:1;
};
void vxge_hw_device_debug_set(