aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
index b539e0d28a84..cc70de259829 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
@@ -2415,9 +2415,11 @@ static int ixgbe_get_rss_hash_opts(struct ixgbe_adapter *adapter,
2415 switch (cmd->flow_type) { 2415 switch (cmd->flow_type) {
2416 case TCP_V4_FLOW: 2416 case TCP_V4_FLOW:
2417 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; 2417 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
2418 /* fallthrough */
2418 case UDP_V4_FLOW: 2419 case UDP_V4_FLOW:
2419 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) 2420 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP)
2420 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; 2421 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
2422 /* fallthrough */
2421 case SCTP_V4_FLOW: 2423 case SCTP_V4_FLOW:
2422 case AH_ESP_V4_FLOW: 2424 case AH_ESP_V4_FLOW:
2423 case AH_V4_FLOW: 2425 case AH_V4_FLOW:
@@ -2427,9 +2429,11 @@ static int ixgbe_get_rss_hash_opts(struct ixgbe_adapter *adapter,
2427 break; 2429 break;
2428 case TCP_V6_FLOW: 2430 case TCP_V6_FLOW:
2429 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; 2431 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
2432 /* fallthrough */
2430 case UDP_V6_FLOW: 2433 case UDP_V6_FLOW:
2431 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) 2434 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP)
2432 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; 2435 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
2436 /* fallthrough */
2433 case SCTP_V6_FLOW: 2437 case SCTP_V6_FLOW:
2434 case AH_ESP_V6_FLOW: 2438 case AH_ESP_V6_FLOW:
2435 case AH_V6_FLOW: 2439 case AH_V6_FLOW: