bnx2x: use netdev_rss_key_fill() helper
Use netdev_rss_key_fill() helper, as it provides better support for some bonding setups. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Ariel Elior <ariel.elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b23063034f
commit
e3ec69ca80
@ -2099,7 +2099,7 @@ int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj,
|
||||
|
||||
if (config_hash) {
|
||||
/* RSS keys */
|
||||
prandom_bytes(params.rss_key, T_ETH_RSS_KEY * 4);
|
||||
netdev_rss_key_fill(params.rss_key, T_ETH_RSS_KEY * 4);
|
||||
__set_bit(BNX2X_RSS_SET_SRCH, ¶ms.rss_flags);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user