summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2010-08-24 05:46:42 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-24 23:57:09 +0200
commit0533943c5c45cce2e26432bf0a6b8e114757c897 (patch)
tree8405db10a70b0a2a9f4c04528e4bcffdbb7189c6 /drivers/net/mlx4/mlx4_en.h
parentmlx4_en: reconfiguring mac address. (diff)
downloadlinux-0533943c5c45cce2e26432bf0a6b8e114757c897.tar.xz
linux-0533943c5c45cce2e26432bf0a6b8e114757c897.zip
mlx4_en: UDP RSS support
Adding capability for RSS for UDP traffic, hashing is done based on IP addresses and UDP port number. The support depends on HW/FW capabilities. Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r--drivers/net/mlx4/mlx4_en.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h
index 5d8f097d7e06..4036a053ee32 100644
--- a/drivers/net/mlx4/mlx4_en.h
+++ b/drivers/net/mlx4/mlx4_en.h
@@ -318,6 +318,8 @@ struct mlx4_en_port_profile {
struct mlx4_en_profile {
int rss_xor;
+ int tcp_rss;
+ int udp_rss;
u8 rss_mask;
u32 active_ports;
u32 small_pkt_int;
@@ -360,6 +362,7 @@ struct mlx4_en_rss_context {
u8 hash_fn;
u8 flags;
__be32 rss_key[10];
+ __be32 base_qpn_udp;
};
struct mlx4_en_port_state {