diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-11-13 06:19:06 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-13 19:39:54 (GMT) |
commit | b6267d3e803b9adf73893f932f7c7f3a2167c908 (patch) | |
tree | ada92358b64d94ee517ef9fe3d2dff3614b9c469 /drivers/net/ethernet/amd/xgbe | |
parent | d7990b0c34623cd54475a0562c607efbaba4899d (diff) | |
download | linux-b6267d3e803b9adf73893f932f7c7f3a2167c908.tar.xz |
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: 5b9dfe299e55 ('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>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe')
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c index 7daa2cd..f6014d3 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c @@ -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; } |