Searched hist:"09 ad6becf5355fe0645f500f518fbbd531715722" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/netdevsim/ |
H A D | fib.c | diff 09ad6becf5355fe0645f500f518fbbd531715722 Thu Jan 28 06:49:17 CST 2021 Ido Schimmel <idosch@nvidia.com> nexthop: Use enum to encode notification type
Currently there are only two types of in-kernel nexthop notification. The two are distinguished by the 'is_grp' boolean field in 'struct nh_notifier_info'.
As more notification types are introduced for more next-hop group types, a boolean is not an easily extensible interface. Instead, convert it to an enum.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
/openbmc/linux/include/net/ |
H A D | nexthop.h | diff 09ad6becf5355fe0645f500f518fbbd531715722 Thu Jan 28 06:49:17 CST 2021 Ido Schimmel <idosch@nvidia.com> nexthop: Use enum to encode notification type
Currently there are only two types of in-kernel nexthop notification. The two are distinguished by the 'is_grp' boolean field in 'struct nh_notifier_info'.
As more notification types are introduced for more next-hop group types, a boolean is not an easily extensible interface. Instead, convert it to an enum.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
/openbmc/linux/net/ipv4/ |
H A D | nexthop.c | diff 09ad6becf5355fe0645f500f518fbbd531715722 Thu Jan 28 06:49:17 CST 2021 Ido Schimmel <idosch@nvidia.com> nexthop: Use enum to encode notification type
Currently there are only two types of in-kernel nexthop notification. The two are distinguished by the 'is_grp' boolean field in 'struct nh_notifier_info'.
As more notification types are introduced for more next-hop group types, a boolean is not an easily extensible interface. Instead, convert it to an enum.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | diff 09ad6becf5355fe0645f500f518fbbd531715722 Thu Jan 28 06:49:17 CST 2021 Ido Schimmel <idosch@nvidia.com> nexthop: Use enum to encode notification type
Currently there are only two types of in-kernel nexthop notification. The two are distinguished by the 'is_grp' boolean field in 'struct nh_notifier_info'.
As more notification types are introduced for more next-hop group types, a boolean is not an easily extensible interface. Instead, convert it to an enum.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|