Skip to content

Commit

Permalink
net: ena: fix ena_com_fill_hash_function() implementation
Browse files Browse the repository at this point in the history
ena_com_fill_hash_function() didn't configure the rss->hash_func.

Fixes: 1738cd3 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sameeh Jubran authored and David S. Miller committed May 4, 2019
1 parent 78cb421 commit 11bd7a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/amazon/ena/ena_com.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,7 @@ int ena_com_fill_hash_function(struct ena_com_dev *ena_dev,
return -EINVAL;
}

rss->hash_func = func;
rc = ena_com_set_hash_function(ena_dev);

/* Restore the old function */
Expand Down

0 comments on commit 11bd7a0

Please sign in to comment.