net/mlx5e: Move modify tirs hash functionality
authorAya Levin <ayal@mellanox.com>
Tue, 23 Oct 2018 07:02:08 +0000 (10:02 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 5 Dec 2018 02:20:01 +0000 (18:20 -0800)
commit080d1b17fbc51789287cd8b2044a8cc9ec600e81
treeb147e6aa53243f621fedc66fdd98a52680ffb419
parent305438310938e9163f9366aa261336f93d2622f6
net/mlx5e: Move modify tirs hash functionality

Move modify tirs hash functionality (mlx5e_modify_tirs_hash) from
en_ethtool.c to en_main.c. This allows future use of this fuctionality
from en_fs_ethtool.c, while keeping current convention: en_ethtool.c
doesn't have an API.  There is no functional change here.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c