summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2015-08-04 14:05:46 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-06 22:00:59 -0700
commit9b37b07fcb0e00a9c0b605b7b28c2d200f4eb064 (patch)
tree2fcb40442301128d7244e9ff839860f4af27fcee /net/switchdev/switchdev.c
parent1cefa326ff26dddb2c4a7f43802ce0ba5c35a2ba (diff)
net/mlx5e: Take advantage of the light-weight netdev open/stop
Now that TIRs, TISs and flow tables are kept alive while the netdev is stopped (after executing ndo_stop()) we can do the following improvements: - Obsolete the active_vlans SW shadow. - Do not delete/add flow table rules upon ndo_stop/open. In addition to simplifying the flow, this change also fastens the ndo_open/close operations. - Obsolete synchronization of threads accessing the flow tables with the netdev stop/open threads. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions