diff options
author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:25 -0700 |
commit | f6050ee6f462e6dbd9dd6a49e5dc3cca7fc0b601 (patch) | |
tree | 993ce48d5a43dae0527d35d2f5a118ea14b7b58a /drivers/net/vrf.c | |
parent | 9b01451ad5fe09d95aea9cfd5b36cde574651ab4 (diff) |
mlxsw: spectrum_router: Extract mlxsw_sp_rt6_is_gateway()
IPv6 counterpart of the previous patch: introduce a function to
determine whether a given route is a gateway route.
The new function takes a mlxsw_sp argument which follow-up patches will
use. Thus mlxsw_sp_fib6_entry_type_set() got that argument as well.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-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 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions