net/mlx5e: Init ethtool steering for representors
authorVlad Buslov <vladbu@mellanox.com>
Fri, 10 May 2019 17:19:29 +0000 (20:19 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Mar 2020 23:58:48 +0000 (16:58 -0700)
commit6783e8b29f636383af293a55336f036bc7ad5619
tree119a88e07c0fcb49cc5a74e0739122c15b2ef6b9
parent01013ad355d6b167e9665b1c5ec3b89089de5caa
net/mlx5e: Init ethtool steering for representors

During transition to uplink representors the code responsible for
initializing ethtool steering functionality wasn't added to representor
init rx routine. This causes NULL pointer dereference during configuration
of network flow classification rule with ethtool (only possible to
reproduce with next commit in this series which registers necessary ethtool
callbacks).

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c