Re: [PATCH iproute2 net-next 1/2] ipnexthop: support for fdb nexthops

2020-06-10 Thread David Ahern
On 6/8/20 9:46 PM, Roopa Prabhu wrote: > @@ -70,6 +71,12 @@ static int nh_dump_filter(struct nlmsghdr *nlh, int reqlen) > return err; > } > > + if (filter.fdb) { > + addattr_l(nlh, reqlen, NHA_FDB, NULL, 0); missing 'err = ' > + if (err) >

[PATCH iproute2 net-next 1/2] ipnexthop: support for fdb nexthops

2020-06-08 Thread Roopa Prabhu
From: Roopa Prabhu This patch adds support to add and delete ecmp nexthops of type fdb. Such nexthops can be linked to vxlan fdb entries. $ip nexthop add id 12 via 172.16.1.2 fdb $ip nexthop add id 13 via 172.16.1.3 fdb $ip nexthop add id 102 group 12/13 fdb $bridge fdb add 02:02:00:00:00:13 de