Re: [PATCH v2] ip-nexthop: support flush by id

2021-04-02 Thread David Ahern
On 3/31/21 10:03 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(-) > th

[PATCH v2] ip-nexthop: support flush by id

2021-03-31 Thread Chunmei Xu
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 20cde58