aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2025-06-12 12:23:20 +0000
committerJakub Kicinski <[email protected]>2025-06-16 22:31:14 +0000
commit01c411238c06e07ea5fa038f0ba9eaca8a53c419 (patch)
tree58345c453abefd93b37ff7bd98ef5928625887b4 /drivers/net/ethernet/intel/igc/igc_main.c
parentMerge branch 'gve-add-rx-hw-timestamping-support' (diff)
downloadkernel-01c411238c06e07ea5fa038f0ba9eaca8a53c419.tar.gz
kernel-01c411238c06e07ea5fa038f0ba9eaca8a53c419.zip
seg6: Extend seg6_lookup_any_nexthop() with an oif argument
seg6_lookup_any_nexthop() is called by the different endpoint behaviors (e.g., End, End.X) to resolve an IPv6 route. Extend the function with an output interface argument so that it could be used to resolve a route with a certain output interface. This will be used by subsequent patches that will extend the End.X behavior with an output interface as an optional argument. ip6_route_input_lookup() cannot be used when an output interface is specified as it ignores this parameter. Similarly, calling ip6_pol_route() when a table ID was not specified (e.g., End.X behavior) is wrong. Therefore, when an output interface is specified without a table ID, resolve the route using ip6_route_output() which will take the output interface into account. Note that no endpoint behavior currently passes both a table ID and an output interface, so the oif argument passed to ip6_pol_route() is always zero and there are no functional changes in this regard. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Andrea Mayer <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions