diff mbox series

[ovs-dev,v2,1/1] docs: Add flow control on i40e issue

Message ID 20200217113736.1541-1-tomaszx.konieczny@intel.com
State Accepted
Headers show
Series [ovs-dev,v2,1/1] docs: Add flow control on i40e issue | expand

Commit Message

Konieczny, TomaszX Feb. 17, 2020, 11:37 a.m. UTC
There is an issue with flow control configuration on i40e devices
and it has a work around. We add this to documentation as known issue
until a permanent solution is developed.

Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
---
 Documentation/intro/install/dpdk.rst | 9 +++++++++
 Documentation/topics/dpdk/phy.rst    | 2 ++
 2 files changed, 11 insertions(+)

Comments

Flavio Leitner Feb. 17, 2020, 6:07 p.m. UTC | #1
On Mon, Feb 17, 2020 at 12:37:36PM +0100, Tomasz Konieczny wrote:
> There is an issue with flow control configuration on i40e devices
> and it has a work around. We add this to documentation as known issue
> until a permanent solution is developed.
> 
> Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
> ---

Does this apply to 2.13 as well?

LGTM
Acked-by: Flavio Leitner <fbl@sysclose.org>
Konieczny, TomaszX Feb. 18, 2020, 11:54 a.m. UTC | #2
>-----Original Message-----
>From: Flavio Leitner <fbl@sysclose.org>
>Sent: 17 February 2020 19:07
>To: Konieczny, TomaszX <tomaszx.konieczny@intel.com>
>Cc: dev@openvswitch.org
>Subject: Re: [ovs-dev] [PATCH v2 1/1] docs: Add flow control on i40e issue
>
>On Mon, Feb 17, 2020 at 12:37:36PM +0100, Tomasz Konieczny wrote:
>> There is an issue with flow control configuration on i40e devices and
>> it has a work around. We add this to documentation as known issue
>> until a permanent solution is developed.
>>
>> Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
>> ---
>
>Does this apply to 2.13 as well?
>

Yes.

>LGTM
>Acked-by: Flavio Leitner <fbl@sysclose.org>

Regards
Tomasz Konieczny
---------------------------------------------------------------------
Intel Corporation (UK) Ltd.
Co. Reg. #1134945
Pipers Way, Swindon SN3 1RJ
Ilya Maximets Sept. 15, 2020, 8:10 p.m. UTC | #3
On 2/17/20 12:37 PM, Tomasz Konieczny wrote:
> There is an issue with flow control configuration on i40e devices
> and it has a work around. We add this to documentation as known issue
> until a permanent solution is developed.

Hi.

I'm looking through old patches and it seem like this one might be still
useful, but it wasn't actually applied.

Does this issue still exist or it was fixed in some DPDK stable versions?

If not, I could apply this patch to master and backport down to 2.13.

Best regards, Ilya Maximets.

> 
> Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
> ---
>  Documentation/intro/install/dpdk.rst | 9 +++++++++
>  Documentation/topics/dpdk/phy.rst    | 2 ++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst
> index dbf88ec..be47a11 100644
> --- a/Documentation/intro/install/dpdk.rst
> +++ b/Documentation/intro/install/dpdk.rst
> @@ -687,6 +687,15 @@ Limitations
>    around is temporary and is expected to be removed once a method is provided
>    by DPDK to query the upper bound MTU value for a given device.
>  
> +- Flow Control: When using i40e devices (Intel(R) 700 Series) it is recommended
> +  to set Link State Change detection to interrupt mode. Otherwise it has been
> +  observed that using the default polling mode, flow control changes may not be
> +  applied, and flow control states will not be reflected correctly.
> +  The issue is under investigation, this is a temporary work around.
> +
> +  For information about setting Link State Change detection, refer to
> +  :ref:`lsc-detection`.
> +
>  Reporting Bugs
>  --------------
>  
> diff --git a/Documentation/topics/dpdk/phy.rst b/Documentation/topics/dpdk/phy.rst
> index 38e52c8..55a98e2 100644
> --- a/Documentation/topics/dpdk/phy.rst
> +++ b/Documentation/topics/dpdk/phy.rst
> @@ -385,6 +385,8 @@ Jumbo Frames
>  DPDK physical ports can be configured to use Jumbo Frames. For more
>  information, refer to :doc:`jumbo-frames`.
>  
> +.. _lsc-detection:
> +
>  Link State Change (LSC) detection configuration
>  -----------------------------------------------
>  
>
Stokes, Ian Oct. 6, 2020, 11:12 a.m. UTC | #4
> On 2/17/20 12:37 PM, Tomasz Konieczny wrote:
> > There is an issue with flow control configuration on i40e devices
> > and it has a work around. We add this to documentation as known issue
> > until a permanent solution is developed.
> 
> Hi.
> 
> I'm looking through old patches and it seem like this one might be still
> useful, but it wasn't actually applied.
> 
> Does this issue still exist or it was fixed in some DPDK stable versions?
> 
> If not, I could apply this patch to master and backport down to 2.13.
> 
> Best regards, Ilya Maximets.

Hi Ilya,

I had time to check this out yesterday, I was able to reproduce the issue current master back as far as OVS 2.11 so it seems to still be an issue for the active DPDKs.

I'm happy to backport the patch as far as 2.11 if that sounds OK with you?

Regards
Ian
> 
> >
> > Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
> > ---
> >  Documentation/intro/install/dpdk.rst | 9 +++++++++
> >  Documentation/topics/dpdk/phy.rst    | 2 ++
> >  2 files changed, 11 insertions(+)
> >
> > diff --git a/Documentation/intro/install/dpdk.rst
> b/Documentation/intro/install/dpdk.rst
> > index dbf88ec..be47a11 100644
> > --- a/Documentation/intro/install/dpdk.rst
> > +++ b/Documentation/intro/install/dpdk.rst
> > @@ -687,6 +687,15 @@ Limitations
> >    around is temporary and is expected to be removed once a method is
> provided
> >    by DPDK to query the upper bound MTU value for a given device.
> >
> > +- Flow Control: When using i40e devices (Intel(R) 700 Series) it is
> recommended
> > +  to set Link State Change detection to interrupt mode. Otherwise it has been
> > +  observed that using the default polling mode, flow control changes may not
> be
> > +  applied, and flow control states will not be reflected correctly.
> > +  The issue is under investigation, this is a temporary work around.
> > +
> > +  For information about setting Link State Change detection, refer to
> > +  :ref:`lsc-detection`.
> > +
> >  Reporting Bugs
> >  --------------
> >
> > diff --git a/Documentation/topics/dpdk/phy.rst
> b/Documentation/topics/dpdk/phy.rst
> > index 38e52c8..55a98e2 100644
> > --- a/Documentation/topics/dpdk/phy.rst
> > +++ b/Documentation/topics/dpdk/phy.rst
> > @@ -385,6 +385,8 @@ Jumbo Frames
> >  DPDK physical ports can be configured to use Jumbo Frames. For more
> >  information, refer to :doc:`jumbo-frames`.
> >
> > +.. _lsc-detection:
> > +
> >  Link State Change (LSC) detection configuration
> >  -----------------------------------------------
> >
> >
Ilya Maximets Oct. 6, 2020, 12:49 p.m. UTC | #5
On 10/6/20 1:12 PM, Stokes, Ian wrote:
>> On 2/17/20 12:37 PM, Tomasz Konieczny wrote:
>>> There is an issue with flow control configuration on i40e devices
>>> and it has a work around. We add this to documentation as known issue
>>> until a permanent solution is developed.
>>
>> Hi.
>>
>> I'm looking through old patches and it seem like this one might be still
>> useful, but it wasn't actually applied.
>>
>> Does this issue still exist or it was fixed in some DPDK stable versions?
>>
>> If not, I could apply this patch to master and backport down to 2.13.
>>
>> Best regards, Ilya Maximets.
> 
> Hi Ilya,
> 
> I had time to check this out yesterday, I was able to reproduce the issue current master back as far as OVS 2.11 so it seems to still be an issue for the active DPDKs.
> 
> I'm happy to backport the patch as far as 2.11 if that sounds OK with you?

Sure, thanks!

Best regards, Ilya Maximets.

> 
> Regards
> Ian
>>
>>>
>>> Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
>>> ---
>>>  Documentation/intro/install/dpdk.rst | 9 +++++++++
>>>  Documentation/topics/dpdk/phy.rst    | 2 ++
>>>  2 files changed, 11 insertions(+)
>>>
>>> diff --git a/Documentation/intro/install/dpdk.rst
>> b/Documentation/intro/install/dpdk.rst
>>> index dbf88ec..be47a11 100644
>>> --- a/Documentation/intro/install/dpdk.rst
>>> +++ b/Documentation/intro/install/dpdk.rst
>>> @@ -687,6 +687,15 @@ Limitations
>>>    around is temporary and is expected to be removed once a method is
>> provided
>>>    by DPDK to query the upper bound MTU value for a given device.
>>>
>>> +- Flow Control: When using i40e devices (Intel(R) 700 Series) it is
>> recommended
>>> +  to set Link State Change detection to interrupt mode. Otherwise it has been
>>> +  observed that using the default polling mode, flow control changes may not
>> be
>>> +  applied, and flow control states will not be reflected correctly.
>>> +  The issue is under investigation, this is a temporary work around.
>>> +
>>> +  For information about setting Link State Change detection, refer to
>>> +  :ref:`lsc-detection`.
>>> +
>>>  Reporting Bugs
>>>  --------------
>>>
>>> diff --git a/Documentation/topics/dpdk/phy.rst
>> b/Documentation/topics/dpdk/phy.rst
>>> index 38e52c8..55a98e2 100644
>>> --- a/Documentation/topics/dpdk/phy.rst
>>> +++ b/Documentation/topics/dpdk/phy.rst
>>> @@ -385,6 +385,8 @@ Jumbo Frames
>>>  DPDK physical ports can be configured to use Jumbo Frames. For more
>>>  information, refer to :doc:`jumbo-frames`.
>>>
>>> +.. _lsc-detection:
>>> +
>>>  Link State Change (LSC) detection configuration
>>>  -----------------------------------------------
>>>
>>>
>
Stokes, Ian Oct. 6, 2020, 2:52 p.m. UTC | #6
> On 10/6/20 1:12 PM, Stokes, Ian wrote:
> >> On 2/17/20 12:37 PM, Tomasz Konieczny wrote:
> >>> There is an issue with flow control configuration on i40e devices
> >>> and it has a work around. We add this to documentation as known issue
> >>> until a permanent solution is developed.
> >>
> >> Hi.
> >>
> >> I'm looking through old patches and it seem like this one might be still
> >> useful, but it wasn't actually applied.
> >>
> >> Does this issue still exist or it was fixed in some DPDK stable versions?
> >>
> >> If not, I could apply this patch to master and backport down to 2.13.
> >>
> >> Best regards, Ilya Maximets.
> >
> > Hi Ilya,
> >
> > I had time to check this out yesterday, I was able to reproduce the issue
> current master back as far as OVS 2.11 so it seems to still be an issue for the
> active DPDKs.
> >
> > I'm happy to backport the patch as far as 2.11 if that sounds OK with you?
> 
> Sure, thanks!

No problem, merged to master and backported accordingly.

Regards
Ian

> 
> Best regards, Ilya Maximets.
> 
> >
> > Regards
> > Ian
> >>
> >>>
> >>> Signed-off-by: Tomasz Konieczny <tomaszx.konieczny@intel.com>
> >>> ---
> >>>  Documentation/intro/install/dpdk.rst | 9 +++++++++
> >>>  Documentation/topics/dpdk/phy.rst    | 2 ++
> >>>  2 files changed, 11 insertions(+)
> >>>
> >>> diff --git a/Documentation/intro/install/dpdk.rst
> >> b/Documentation/intro/install/dpdk.rst
> >>> index dbf88ec..be47a11 100644
> >>> --- a/Documentation/intro/install/dpdk.rst
> >>> +++ b/Documentation/intro/install/dpdk.rst
> >>> @@ -687,6 +687,15 @@ Limitations
> >>>    around is temporary and is expected to be removed once a method is
> >> provided
> >>>    by DPDK to query the upper bound MTU value for a given device.
> >>>
> >>> +- Flow Control: When using i40e devices (Intel(R) 700 Series) it is
> >> recommended
> >>> +  to set Link State Change detection to interrupt mode. Otherwise it has
> been
> >>> +  observed that using the default polling mode, flow control changes may
> not
> >> be
> >>> +  applied, and flow control states will not be reflected correctly.
> >>> +  The issue is under investigation, this is a temporary work around.
> >>> +
> >>> +  For information about setting Link State Change detection, refer to
> >>> +  :ref:`lsc-detection`.
> >>> +
> >>>  Reporting Bugs
> >>>  --------------
> >>>
> >>> diff --git a/Documentation/topics/dpdk/phy.rst
> >> b/Documentation/topics/dpdk/phy.rst
> >>> index 38e52c8..55a98e2 100644
> >>> --- a/Documentation/topics/dpdk/phy.rst
> >>> +++ b/Documentation/topics/dpdk/phy.rst
> >>> @@ -385,6 +385,8 @@ Jumbo Frames
> >>>  DPDK physical ports can be configured to use Jumbo Frames. For more
> >>>  information, refer to :doc:`jumbo-frames`.
> >>>
> >>> +.. _lsc-detection:
> >>> +
> >>>  Link State Change (LSC) detection configuration
> >>>  -----------------------------------------------
> >>>
> >>>
> >
diff mbox series

Patch

diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst
index dbf88ec..be47a11 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -687,6 +687,15 @@  Limitations
   around is temporary and is expected to be removed once a method is provided
   by DPDK to query the upper bound MTU value for a given device.
 
+- Flow Control: When using i40e devices (Intel(R) 700 Series) it is recommended
+  to set Link State Change detection to interrupt mode. Otherwise it has been
+  observed that using the default polling mode, flow control changes may not be
+  applied, and flow control states will not be reflected correctly.
+  The issue is under investigation, this is a temporary work around.
+
+  For information about setting Link State Change detection, refer to
+  :ref:`lsc-detection`.
+
 Reporting Bugs
 --------------
 
diff --git a/Documentation/topics/dpdk/phy.rst b/Documentation/topics/dpdk/phy.rst
index 38e52c8..55a98e2 100644
--- a/Documentation/topics/dpdk/phy.rst
+++ b/Documentation/topics/dpdk/phy.rst
@@ -385,6 +385,8 @@  Jumbo Frames
 DPDK physical ports can be configured to use Jumbo Frames. For more
 information, refer to :doc:`jumbo-frames`.
 
+.. _lsc-detection:
+
 Link State Change (LSC) detection configuration
 -----------------------------------------------