Commit 73dea398 authored by Padmanabh Ratnakar's avatar Padmanabh Ratnakar Committed by David S. Miller

be2net: Add description about various RSS hash types

Incorporated review comment from Eric Dumazet. Added description
about different RSS hash types which adapter is capable of.
Will add support for ETHTOOL_GRXFH and ETHTOOL_SRXFX as suggested
by Ben Hutchings in a later patch.
Signed-off-by: default avatarPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 036be6db
...@@ -1082,8 +1082,18 @@ struct be_cmd_resp_query_fw_cfg { ...@@ -1082,8 +1082,18 @@ struct be_cmd_resp_query_fw_cfg {
u32 function_caps; u32 function_caps;
}; };
/******************** RSS Config *******************/ /******************** RSS Config ****************************************/
/* RSS types */ /* RSS type Input parameters used to compute RX hash
* RSS_ENABLE_IPV4 SRC IPv4, DST IPv4
* RSS_ENABLE_TCP_IPV4 SRC IPv4, DST IPv4, TCP SRC PORT, TCP DST PORT
* RSS_ENABLE_IPV6 SRC IPv6, DST IPv6
* RSS_ENABLE_TCP_IPV6 SRC IPv6, DST IPv6, TCP SRC PORT, TCP DST PORT
* RSS_ENABLE_UDP_IPV4 SRC IPv4, DST IPv4, UDP SRC PORT, UDP DST PORT
* RSS_ENABLE_UDP_IPV6 SRC IPv6, DST IPv6, UDP SRC PORT, UDP DST PORT
*
* When multiple RSS types are enabled, HW picks the best hash policy
* based on the type of the received packet.
*/
#define RSS_ENABLE_NONE 0x0 #define RSS_ENABLE_NONE 0x0
#define RSS_ENABLE_IPV4 0x1 #define RSS_ENABLE_IPV4 0x1
#define RSS_ENABLE_TCP_IPV4 0x2 #define RSS_ENABLE_TCP_IPV4 0x2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment