commit | c6acd629eec754a9679f922d51f90e44c769b80c | [log] [tgz] |
---|---|---|
author | Vladyslav Tarasiuk <vladyslavt@mellanox.com> | Wed Nov 13 17:19:47 2019 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Feb 27 16:40:14 2020 -0800 |
tree | 698b88bbf04012fb9bd91f7bd889cedd64988212 | |
parent | ab8f963a11790ea0a04add0538c5e45887890d46 [diff] |
net/mlx5e: Add support for devlink-port in non-representors mode Added devlink_port field to mlx5e_priv structure and a callback to netdev ops to enable devlink to get info about the port. The port registration happens at driver initialization. Signed-off-by: Vladyslav Tarasiuk <vladyslavt@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>