Hi Yuanhan,
This will not break our PMD. I think PMDs should be able to handle rss_conf ==
NULL and then failover to default or initially set rss_conf.
Finn
>-Original Message-
>From: Yuanhan Liu [mailto:y...@fridaylinux.org]
>Sent: 29. januar 2018 07:59
>To: Stokes, Ian
On Fri, Jan 26, 2018 at 10:49:46AM +, Stokes, Ian wrote:
> > > > +static int
> > > > +mark_to_flow_disassociate(struct dp_netdev_pmd_thread *pmd,
> > > > + struct dp_netdev_flow *flow) {
> > > > +int ret = 0;
> > > > +uint32_t mark = flow->mark;
> > > > +
> -Original Message-
> From: Yuanhan Liu [mailto:y...@fridaylinux.org]
> Sent: Friday, January 26, 2018 8:20 AM
> To: Stokes, Ian
> Cc: d...@openvswitch.org; Finn Christensen ; Darrell Ball
> ; Chandran, Sugesh
On Wed, Jan 24, 2018 at 05:29:45PM +, Stokes, Ian wrote:
> > Meanwhile, the mark to flow mapping becomes to 1:N mapping. That is what
>
> Is this 1:N or 1:1? I thought I spotted below that it's 1:1.
If you look further, you will also spot "1:N".
mark to mega flow is 1:1
mark to flow is 1:N
On Wed, Jan 24, 2018 at 05:29:45PM +, Stokes, Ian wrote:
> > -Original Message-
> > From: Yuanhan Liu [mailto:y...@fridaylinux.org]
> > Sent: Wednesday, December 20, 2017 2:45 PM
> > To: d...@openvswitch.org
> > Cc: Finn Christensen ; Darrell Ball ;
> -Original Message-
> From: Yuanhan Liu [mailto:y...@fridaylinux.org]
> Sent: Wednesday, December 20, 2017 2:45 PM
> To: d...@openvswitch.org
> Cc: Finn Christensen ; Darrell Ball ;
> Chandran, Sugesh ; Simon Horman
>
Most modern NICs have the ability to bind a flow with a mark, so that
every pkt matches such flow will have that mark present in its desc.
The basic idea of doing that is, when we receives pkts later, we could
directly get the flow from the mark. That could avoid some very costly
CPU operations,