summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-07-02 12:00:16 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-02 22:21:17 +0300
commitfa3054f5a890854c161f37ae76d3649a8eb38aa0 (patch)
tree883e715191491c946ae7069ab16eafd1f38c57c0 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent464dce188487bcf8c4751a41ff291e367744ef28 (diff)
downloadlinux-fa3054f5a890854c161f37ae76d3649a8eb38aa0.tar.xz
mlxsw: spectrum: Add router interface struct
When enabling the router in the device we will represent L3 netdevs using router interfaces (RIFs). These will be specified whenever programming routes or neighbours on the netdev. Introduce the basic RIF infrastructure which allows one to lookup a RIF by its netdev. Later patches in the series will extend this, but the basic routines are needed now in order to direct traffic to CPU. Pointers to the RIF structs are stored in an array indexed by the RIF's number. This will allow us to efficiently update the kernel's neighbour table when regularly dumping the device's table. 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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions