mlx5: fix null RSS key handling
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Fri, 18 Mar 2016 12:54:43 +0000 (13:54 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:01:37 +0000 (19:01 +0100)
commitfbd2319037897e038963a35a2866d39c509ae373
tree32f0e3cd5027ec0353343c84af0472cd1fb3d3be
parentc64ccc0eca2fe98f3bd3bbc6287b9a26dd46b3a9
mlx5: fix null RSS key handling

Update function can be called with no key to enable or disable a RSS
protocol, or with a key to be applied to the desired protocols.

Fixes: 2f97422e7759 ("mlx5: support RSS hash update and get")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rss.c