mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
--- a/src/r8125_rss.c
|
|
+++ b/src/r8125_rss.c
|
|
@@ -60,21 +60,21 @@ static int rtl8125_get_rss_hash_opts(str
|
|
switch (cmd->flow_type) {
|
|
case TCP_V4_FLOW:
|
|
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
|
- /* fallthrough */
|
|
+ fallthrough;
|
|
case UDP_V4_FLOW:
|
|
if (tp->rss_flags & RTL_8125_RSS_FLAG_HASH_UDP_IPV4)
|
|
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
|
- /* fallthrough */
|
|
+ fallthrough;
|
|
case IPV4_FLOW:
|
|
cmd->data |= RXH_IP_SRC | RXH_IP_DST;
|
|
break;
|
|
case TCP_V6_FLOW:
|
|
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
|
- /* fallthrough */
|
|
+ fallthrough;
|
|
case UDP_V6_FLOW:
|
|
if (tp->rss_flags & RTL_8125_RSS_FLAG_HASH_UDP_IPV6)
|
|
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
|
- /* fallthrough */
|
|
+ fallthrough;
|
|
case IPV6_FLOW:
|
|
cmd->data |= RXH_IP_SRC | RXH_IP_DST;
|
|
break;
|