diff options
| author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2017-09-25 11:32:25 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-09-27 06:04:35 +0300 |
| commit | c556cd28930661f337d7989fe74ac31871fd3888 (patch) | |
| tree | 27b2ca9268fd19e8edda46a70ac6834c24097e61 /include/linux | |
| parent | ec2437f42b44edc84054feb943d49e8030154c38 (diff) | |
| download | linux-c556cd28930661f337d7989fe74ac31871fd3888.tar.xz | |
mlxsw: spectrum_router: Add helpers for nexthop access
This is done as a preparation before introducing the ability to dump the
adjacency table via dpipe, and to count the table size. The current table
implementation avoids tunnel entries, thus a helper for checking if
the nexthop group contains tunnel entries is also provided. The mlxsw's
nexthop representative struct stays private to the router module.
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
