[ovs-dev] [ovs-dev v3] dpif-netdev: Allow to set max capacity of flow on netdev.

Ilya Maximets i.maximets at ovn.org
Thu Jan 9 15:14:10 UTC 2020


On 09.01.2020 08:36, xiangxia.m.yue at gmail.com wrote:
> From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> 
> For installing more than MAX_FLOWS (65536) flows to netdev datapath.
> Add the ovs-appctl subcommand "dpif-netdev/pmd-set-max-flow" which
> can change the flow number which netdev datapath support.
> 
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>

Hi.

I'm wondering why we need the flow limit on the datapath level at all?

MAX_FLOWS constant was there from the introduction of dpif-netdev,
however, later new flow-limit mechanism was implemented that
controls number of datapath flows in a dynamic way on ofproto level.

So, maybe we can just remove the limit and fully rely on ofproto
to decide what flow limit we need?  There are no limitations for
flow table size in dpif-netdev beside the artificial one.
'other_config:flow-limit' seems suitable to control this.

Ben, what do you think?

Best regards, Ilya Maximets.


More information about the dev mailing list