[ovs-dev] Question Regarding ovs_packet_cmd_execute in Kernel Datapath

Ben Pfaff blp at ovn.org
Thu Feb 6 21:55:43 UTC 2020


On Thu, Feb 06, 2020 at 01:32:12PM -0800, Pravin Shelar wrote:
> On Thu, Feb 6, 2020 at 12:18 PM Ben Pfaff <blp at ovn.org> wrote:
> >
> > On Thu, Feb 06, 2020 at 11:36:19AM -0800, Pravin Shelar wrote:
> > > Another option would be to add new command that install and execute
> > > packet in same netlink msg. That would save us a netlink msg to handle
> > > a miss-call.  what do you think about it?
> >
> > When I experimented with that in the past, I found that it didn't have a
> > noticeable impact on performance.
> >
> Reduced number of msgs sent here would help in certain situations. 

That is plausible, but it didn't help when I measured it previously.

> It is also simpler to fix the stats issue using this approach.

There's no stats issue.  Userspace just counts the number of packets it
sent and adds them in.


More information about the dev mailing list