[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <6AF1ABCB-3A12-4016-810F-703754D90463@uniroma2.it>
Date: Sun, 2 May 2021 00:55:27 +0200
From: Paolo Lungaroni <paolo.lungaroni@...roma2.it>
To: David Ahern <dsahern@...il.com>, netdev@...r.kernel.org
Cc: David Ahern <dsahern@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
"Prof. Stefano Salsano" <stefano.salsano@...roma2.it>,
Ahmed Abdelsalam <ahabdels.dev@...il.com>,
Andrea Mayer <andrea.mayer@...roma2.it>
Subject: Re: [iproute2-next] seg6: add counters support for SRv6 Behaviors
Il giorno 01 mag 2021, alle ore 17:14, David Ahern <dsahern@...il.com> ha scritto:
>
> On 4/27/21 9:55 AM, Paolo Lungaroni wrote:
>> @@ -932,6 +997,11 @@ static int parse_encap_seg6local(struct rtattr *rta, size_t len, int *argcp,
>> if (!oif)
>> exit(nodev(*argv));
>> ret = rta_addattr32(rta, len, SEG6_LOCAL_OIF, oif);
>> + } else if (strcmp(*argv, "count") == 0) {
>> + if (counters_ok++)
>> + duparg2("count", *argv);
>> + ret = seg6local_fill_counters(rta, len,
>> + SEG6_LOCAL_COUNTERS);
>> } else if (strcmp(*argv, "srh") == 0) {
>> NEXT_ARG();
>> if (srh_ok++)
>>
>
> change looks fine. Can you send a v2 with the help and route.8 man page
> updates? Thanks,
sure, I will send a v2 in a couple of days.
Thanks,
Paolo.
Powered by blists - more mailing lists