On 4/5/21 7:33 PM, Chunmei Xu wrote:
> since id is unique for nexthop, it is heavy to dump all nexthops.
> use existing delete_nexthop to support flush by id
>
> Signed-off-by: Chunmei Xu
> ---
> ip/ipnexthop.c | 20 +++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
appl
On Tue, Apr 06, 2021 at 09:33:23AM +0800, Chunmei Xu wrote:
> since id is unique for nexthop, it is heavy to dump all nexthops.
> use existing delete_nexthop to support flush by id
>
> Signed-off-by: Chunmei Xu
Reviewed-by: Ido Schimmel
Tested-by: Ido Schimmel
Thanks
since id is unique for nexthop, it is heavy to dump all nexthops.
use existing delete_nexthop to support flush by id
Signed-off-by: Chunmei Xu
---
ip/ipnexthop.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/ip/ipnexthop.c b/ip/ipnexthop.c
index 0263307