DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: add known issue about promiscuous mode for I40e VF
@ 2016-07-25  6:43 Jeff Guo
  2016-07-26  2:23 ` [dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops Jeff Guo
  2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
  0 siblings, 2 replies; 8+ messages in thread
From: Jeff Guo @ 2016-07-25  6:43 UTC (permalink / raw)
  To: john.mcnamara; +Cc: dev, Jeff Guo

When use i40e linux kernel driver as host driver and DPDK handler the i40e VF,
the promiscuous mode doesn't work in i40e VF. It is not supported by DPDK i40e VF driver right now.
---
 doc/guides/rel_notes/known_issues.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index 5ec1987..e907c22 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -620,3 +620,25 @@ The last EAL argument is replaced by the program name in argv[]
 
 **Driver/Module**:
    Environment Abstraction Layer (EAL).
+
+
+I40e VF can't receive the promiscuous unicast/multicast/broadcast packet.
+---------------------------------------------------------
+
+**Description**:
+   Use i40e linux kernel driver PF generate VF, and run testpmd, set Promiscuous mode and
+   All multicast mode to be enabled, then send packet with unknown destination MAC address
+   to VF, but VF can't receive the packet.
+
+**Implication**:
+   So far, the promiscuous mode is not supported by DPDK i40e VF driver if use i40e Linux kernel
+   driver as host driver.
+
+**Resolution/Workaround**:
+   Don't use promiscuous mode in i40e VF if use i40e Linux kernel driver as host driver.
+
+**Affected Environment/Platform**:
+   All.
+
+**Driver/Module**:
+   Poll Mode Driver (PMD).
-- 
1.9.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops
  2016-07-25  6:43 [dpdk-dev] [PATCH] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
@ 2016-07-26  2:23 ` Jeff Guo
  2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
  1 sibling, 0 replies; 8+ messages in thread
From: Jeff Guo @ 2016-07-26  2:23 UTC (permalink / raw)
  To: john.mcnamara; +Cc: dev, jia.guo

Since an issue has broken out the problem that even the i40e linux kernel driver
do not support the promiscuous mode in i40e VF when use i40e linux kernel driver
as host driver, the testpmd app still show the mode configure status to be enabled.
In order to reflect the real status of the i40e linux kernel driver configure result,
some i40e eth_dev_ops about enable and disable promiscuous and all multicast mode need
to be modified the return type from void to int.
---
 doc/guides/rel_notes/deprecation.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index f502f86..2f41f67 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -41,3 +41,10 @@ Deprecation Notices
 * The mempool functions for single/multi producer/consumer are deprecated and
   will be removed in 16.11.
   It is replaced by rte_mempool_generic_get/put functions.
+
+* The i40e eth_dev_ops about enable and disable promiscuous and all multicast
+  mode are planned to modify the return type from void to int, in order to reflect
+  the real status of the hardware driver configure result to APIs users. The deprecated ops include,
+  i40evf_dev_promiscuous_enable, i40evf_dev_promiscuous_disable, i40evf_dev_allmulticast_enable,
+  i40evf_dev_allmulticast_disable, i40e_dev_promiscuous_enable, i40e_dev_promiscuous_disable,
+  i40e_dev_allmulticast_enable, i40e_dev_allmulticast_disable.
-- 
1.9.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF
  2016-07-25  6:43 [dpdk-dev] [PATCH] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
  2016-07-26  2:23 ` [dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops Jeff Guo
@ 2016-07-26  2:24 ` Jeff Guo
  2016-07-26  2:57   ` Wu, Jingjing
                     ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Jeff Guo @ 2016-07-26  2:24 UTC (permalink / raw)
  To: john.mcnamara; +Cc: dev, jia.guo

When use i40e linux kernel driver as host driver and DPDK handler
the i40e VF, the promiscuous mode doesn't work in i40e VF. It is
not supported by DPDK i40e VF driver right now.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
---
v1->v2:
- add singned-off and modify some format

 doc/guides/rel_notes/known_issues.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index 5ec1987..e907c22 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -620,3 +620,25 @@ The last EAL argument is replaced by the program name in argv[]
 
 **Driver/Module**:
    Environment Abstraction Layer (EAL).
+
+
+I40e VF can't receive the promiscuous unicast/multicast/broadcast packet.
+---------------------------------------------------------
+
+**Description**:
+   Use i40e linux kernel driver PF generate VF, and run testpmd, set Promiscuous mode and
+   All multicast mode to be enabled, then send packet with unknown destination MAC address
+   to VF, but VF can't receive the packet.
+
+**Implication**:
+   So far, the promiscuous mode is not supported by DPDK i40e VF driver if use i40e Linux kernel
+   driver as host driver.
+
+**Resolution/Workaround**:
+   Don't use promiscuous mode in i40e VF if use i40e Linux kernel driver as host driver.
+
+**Affected Environment/Platform**:
+   All.
+
+**Driver/Module**:
+   Poll Mode Driver (PMD).
-- 
1.9.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF
  2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
@ 2016-07-26  2:57   ` Wu, Jingjing
  2016-07-26 14:18   ` Mcnamara, John
  2016-07-27  2:56   ` [dpdk-dev] [PATCH v3] " Jeff Guo
  2 siblings, 0 replies; 8+ messages in thread
From: Wu, Jingjing @ 2016-07-26  2:57 UTC (permalink / raw)
  To: Guo, Jia, Mcnamara, John; +Cc: dev, Guo, Jia



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jeff Guo
> Sent: Tuesday, July 26, 2016 10:24 AM
> To: Mcnamara, John
> Cc: dev@dpdk.org; Guo, Jia
> Subject: [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous
> mode for I40e VF
> 
> When use i40e linux kernel driver as host driver and DPDK handler the i40e
> VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
> DPDK i40e VF driver right now.
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF
  2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
  2016-07-26  2:57   ` Wu, Jingjing
@ 2016-07-26 14:18   ` Mcnamara, John
  2016-07-27  2:56   ` [dpdk-dev] [PATCH v3] " Jeff Guo
  2 siblings, 0 replies; 8+ messages in thread
From: Mcnamara, John @ 2016-07-26 14:18 UTC (permalink / raw)
  To: Guo, Jia; +Cc: dev

> -----Original Message-----
> From: Guo, Jia
> Sent: Tuesday, July 26, 2016 3:24 AM
> To: Mcnamara, John <john.mcnamara@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>
> Subject: [PATCH v2] doc: add known issue about promiscuous mode for I40e
> VF
> 
> When use i40e linux kernel driver as host driver and DPDK handler the i40e
> VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
> DPDK i40e VF driver right now.
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>
> ---
> v1->v2:
> - add singned-off and modify some format
> 
>  doc/guides/rel_notes/known_issues.rst | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/known_issues.rst
> b/doc/guides/rel_notes/known_issues.rst
> index 5ec1987..e907c22 100644
> --- a/doc/guides/rel_notes/known_issues.rst
> +++ b/doc/guides/rel_notes/known_issues.rst
> @@ -620,3 +620,25 @@ The last EAL argument is replaced by the program name
> in argv[]
> 
>  **Driver/Module**:
>     Environment Abstraction Layer (EAL).
> +
> +
> +I40e VF can't receive the promiscuous unicast/multicast/broadcast packet.
> +---------------------------------------------------------

The underline here is too short and generates a warning:

    doc/guides/rel_notes/known_issues.rst:626: WARNING: Title underline too short.

    I40e VF can't receive the promiscuous unicast/multicast/broadcast packet.
    ---------------------------------------------------------

> +
> +**Description**:
> +   Use i40e linux kernel driver PF generate VF, and run testpmd, set
> Promiscuous mode and
> +   All multicast mode to be enabled, then send packet with unknown
> destination MAC address
> +   to VF, but VF can't receive the packet.


The text style and tense doesn't match the rest of the doc. I would suggest
something like:

   
I40e VF may not receive packets in promiscuous mode
---------------------------------------------------

**Description**:
   Promiscuous mode is not supported by the DPDK i40e VF driver when using the
   i40e Linux kernel driver as host driver.

**Implication**:
   The i40e VF does not receive packets when the destination MAC address is unknown.

**Resolution/Workaround**:
   Use a destination MAC address that matches the VF.

**Affected Environment/Platform**:
   All.

**Driver/Module**:
   Poll Mode Driver (PMD).

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [dpdk-dev] [PATCH v3] doc: add known issue about promiscuous mode for I40e VF
  2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
  2016-07-26  2:57   ` Wu, Jingjing
  2016-07-26 14:18   ` Mcnamara, John
@ 2016-07-27  2:56   ` Jeff Guo
  2016-07-27  7:22     ` Mcnamara, John
  2 siblings, 1 reply; 8+ messages in thread
From: Jeff Guo @ 2016-07-27  2:56 UTC (permalink / raw)
  To: john.mcnamara; +Cc: dev, jia.guo

When use i40e linux kernel driver as host driver and DPDK handler the i40e
VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
DPDK i40e VF driver right now.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
---
v2->v3:
- Title underline align and refine some description

 doc/guides/rel_notes/known_issues.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index 5ec1987..3cd4237 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -620,3 +620,23 @@ The last EAL argument is replaced by the program name in argv[]
 
 **Driver/Module**:
    Environment Abstraction Layer (EAL).
+
+
+I40e VF may not receive packets in the promiscuous mode
+-------------------------------------------------------
+
+**Description**:
+   Promiscuous mode is not supported by the DPDK i40e VF driver when using the
+   i40e Linux kernel driver as host driver.
+
+**Implication**:
+   The i40e VF does not receive packets when the destination MAC address is unknown.
+
+**Resolution/Workaround**:
+   Use a explicit destination MAC address that matches the VF.
+
+**Affected Environment/Platform**:
+   All.
+
+**Driver/Module**:
+   Poll Mode Driver (PMD).
-- 
1.9.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH v3] doc: add known issue about promiscuous mode for I40e VF
  2016-07-27  2:56   ` [dpdk-dev] [PATCH v3] " Jeff Guo
@ 2016-07-27  7:22     ` Mcnamara, John
  2016-07-28 15:12       ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: Mcnamara, John @ 2016-07-27  7:22 UTC (permalink / raw)
  To: Guo, Jia; +Cc: dev

> -----Original Message-----
> From: Guo, Jia
> Sent: Wednesday, July 27, 2016 3:57 AM
> To: Mcnamara, John <john.mcnamara@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>
> Subject: [PATCH v3] doc: add known issue about promiscuous mode for I40e
> VF
> 
> When use i40e linux kernel driver as host driver and DPDK handler the i40e
> VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
> DPDK i40e VF driver right now.
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>

Acked-by: John McNamara <john.mcnamara@intel.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH v3] doc: add known issue about promiscuous mode for I40e VF
  2016-07-27  7:22     ` Mcnamara, John
@ 2016-07-28 15:12       ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2016-07-28 15:12 UTC (permalink / raw)
  To: Guo, Jia; +Cc: dev, Mcnamara, John

> > When use i40e linux kernel driver as host driver and DPDK handler the i40e
> > VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
> > DPDK i40e VF driver right now.
> > 
> > Signed-off-by: Jeff Guo <jia.guo@intel.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-28 15:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25  6:43 [dpdk-dev] [PATCH] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
2016-07-26  2:23 ` [dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops Jeff Guo
2016-07-26  2:24 ` [dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF Jeff Guo
2016-07-26  2:57   ` Wu, Jingjing
2016-07-26 14:18   ` Mcnamara, John
2016-07-27  2:56   ` [dpdk-dev] [PATCH v3] " Jeff Guo
2016-07-27  7:22     ` Mcnamara, John
2016-07-28 15:12       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).