projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a0eca
)
net/mlx5e: Disallow changing name-space for VF representors
author
Or Gerlitz
<
[email protected]
>
Thu, 3 Nov 2016 23:48:44 +0000
(
01:48
+0200)
committer
David S. Miller
<
[email protected]
>
Fri, 4 Nov 2016 18:59:36 +0000
(14:59 -0400)
VF reps should be altogether on the same NS as they were created.
Signed-off-by: Or Gerlitz <
[email protected]
>
Signed-off-by: Saeed Mahameed <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
index 7fe6559e4ab30d41d886e36413c4943f3266135e..bf1c09ca73c03eb93d65f24ffeed1b1d04a2bb88 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
@@
-308,7
+308,7
@@
static void mlx5e_build_rep_netdev(struct net_device *netdev)
netdev->switchdev_ops = &mlx5e_rep_switchdev_ops;
#endif
- netdev->features |= NETIF_F_VLAN_CHALLENGED | NETIF_F_HW_TC;
+ netdev->features |= NETIF_F_VLAN_CHALLENGED | NETIF_F_HW_TC
| NETIF_F_NETNS_LOCAL
;
netdev->hw_features |= NETIF_F_HW_TC;
eth_hw_addr_random(netdev);