aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
diff options
context:
space:
mode:
authorChris Mi <chrism@mellanox.com>2019-05-16 17:36:43 +0800
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-07 14:40:37 -0700
commitd3cbd4254df881777e2efb68ee10ede0d9dc0647 (patch)
tree0f09cc03e38bb23d0cb542eb17d7acdcd0b2b52a /drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
parentnet/mlx5: Avoid reloading already removed devices (diff)
downloadlinux-dev-d3cbd4254df881777e2efb68ee10ede0d9dc0647.tar.xz
linux-dev-d3cbd4254df881777e2efb68ee10ede0d9dc0647.zip
net/mlx5e: Add ndo_set_feature for uplink representor
After we have a dedicated uplink representor, the new netdev ops doesn't support ndo_set_feature. Because of that, we can't change some features, eg. rxvlan. Now add it back. In this patch, I also do a cleanup for the features flag handling, eg. remove duplicate NETIF_F_HW_TC flag setting. Fixes: aec002f6f82c ("net/mlx5e: Uninstantiate esw manager vport netdev on switchdev mode") Signed-off-by: Chris Mi <chrism@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_tx.c')
0 files changed, 0 insertions, 0 deletions