aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-07-04 02:23:13 -0400
committerDavid S. Miller <davem@davemloft.net>2016-07-04 21:25:15 -0400
commit6e095fd4eb8219ce03de27635ffc4563080a7f90 (patch)
tree1d012e51c6d806f2907ad1249f028126bdb1cd52 /tools/perf/scripts/python
parent7ce856aaaf13a5dc969ac5f998e5daaf1abe4cd2 (diff)
mlxsw: spectrum: Edit RIF properties based on netdev events
We are just about to introduce router interfaces (RIFs), but before that we need to be able update the device with the correct RIF attributes whenever they change for the netdev the RIF is backing. Two such attributes are MTU and MAC. The MAC is used both to set the source MAC of packets egressing from the RIF and also to program an FDB rule that will direct packets to the router block. Use the existing netdevice notification block and respond to CHANGEADDR and CHANGEMTU accordingly. Store both attributes in the RIF struct in case we need to revert to old attributes following a failed update. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions