]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9570e62cd5a68f15827629d850cdec5b9b20e72f
treeb147e6aa53243f621fedc66fdd98a52680ffb419
parent816769ded22e1cc3bc72dd7ffebe1495aa140840
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