mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
amd-xgbe: fix ->rss_hash_type
There was a missing break statement so we set everything to
PKT_HASH_TYPE_L3 even when we intended to use PKT_HASH_TYPE_L4.
Fixes: 5b9dfe299e
('amd-xgbe: Provide support for receive side scaling')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d7990b0c34
commit
b6267d3e80
1 changed files with 1 additions and 1 deletions
|
@ -1600,7 +1600,7 @@ static int xgbe_dev_read(struct xgbe_channel *channel)
|
|||
case RX_DESC3_L34T_IPV6_TCP:
|
||||
case RX_DESC3_L34T_IPV6_UDP:
|
||||
packet->rss_hash_type = PKT_HASH_TYPE_L4;
|
||||
|
||||
break;
|
||||
default:
|
||||
packet->rss_hash_type = PKT_HASH_TYPE_L3;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue