Re: [PATCH] [PATCH v7 net-next] net: openvswitch: Add support to count upcall packets

From: Leon Romanovsky
Date: Tue Dec 06 2022 - 05:04:37 EST


On Tue, Dec 06, 2022 at 09:12:01AM +0100, Eelco Chaudron wrote:
>
>
> On 5 Dec 2022, at 4:00, wangchuanlei wrote:
>
> > Add support to count upall packets, when kmod of openvswitch
> > upcall to userspace , here count the number of packets for
> > upcall succeed and failed, which is a better way to see how
> > many packets upcalled to userspace(ovs-vswitchd) on every
> > interfaces.
>
> Thanks for including my suggestions, one more comment below.
>
> > Here modify format of code used by comments of v6.
> >
> > Changes since v4 & v5 & v6:
> > - optimize the function used by comments
> >
> > Changes since v3:
> > - use nested NLA_NESTED attribute in netlink message
> >
> > Changes since v2:
> > - add count of upcall failed packets
> >
> > Changes since v1:
> > - add count of upcall succeed packets

Please put changelog after "---". It doesn't belong to commit message.

Thanks

> >
> > Signed-off-by: wangchuanlei <wangchuanlei@xxxxxxxxxx>
> > ---