summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/dir.c
diff options
context:
space:
mode:
authorHuy Nguyen2018-02-22 20:22:56 +0100
committerSaeed Mahameed2018-05-24 23:23:33 +0200
commit2c81bfd5ae5659df44b38ec71c404b4b261a9515 (patch)
treebeaef7400a3059db6e9b1a772dedf8c1b75758e1 /fs/ubifs/dir.c
parentnet/dcb: Add dcbnl buffer attribute (diff)
downloadkernel-qcow2-linux-2c81bfd5ae5659df44b38ec71c404b4b261a9515.tar.gz
kernel-qcow2-linux-2c81bfd5ae5659df44b38ec71c404b4b261a9515.tar.xz
kernel-qcow2-linux-2c81bfd5ae5659df44b38ec71c404b4b261a9515.zip
net/mlx5e: Move port speed code from en_ethtool.c to en/port.c
Move four below functions from en_ethtool.c to en/port.c. These functions are used by both en_ethtool.c and en_main.c. Future code can use these functions without ethtool link mode dependency. u32 mlx5e_port_ptys2speed(u32 eth_proto_oper); int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed); int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed); u32 mlx5e_port_speed2linkmodes(u32 speed); Delete the speed field from table mlx5e_build_ptys2ethtool_map. This table only keeps the mapping between the mlx5e link mode and ethtool link mode. Add new table mlx5e_link_speed for translation from mlx5e link mode to actual speed. Signed-off-by: Huy Nguyen <huyn@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'fs/ubifs/dir.c')
0 files changed, 0 insertions, 0 deletions