[ovs-dev] Question Regarding ovs_packet_cmd_execute in Kernel Datapath

Pravin Shelar pshelar at ovn.org
Thu Feb 6 21:32:12 UTC 2020


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. It
is also simpler to fix the stats issue using this approach.

> If it did help, then I don't think we'd need a new command, we could
> just add a OVS_FLOW_ATTR_PACKET to attach a packet to the existing
> OVS_FLOW_CMD_NEW or OVS_FLOW_CMD_SET commands.

Sounds good.

Thanks.


More information about the dev mailing list