[dpdk-dev] [PATCH] lib/librte_ether: bypass code cleanup

2016-07-11 Thread Wenzhuo Lu
In testpmd code, device id is used directly to check if bypass is supported. But APP should not know the details of HW, the NIC specific info should not be exposed here. This patch adds a new rte API to check if bypass is supported. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v2] app/testpmd: bypass code cleanup

2016-07-11 Thread Wenzhuo Lu
*. Suggested-by: Jingjing Wu Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 39 --- 1 file changed, 39 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index b6b61ad..f90befc 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test

[dpdk-dev] [PATCH] ixgbe: fix wrong VF TX registers

2016-11-06 Thread Wenzhuo Lu
The VF TX registers are using PF's addresses by mistake, correct them. Fixes: 0198848a47f5 ("ixgbe: add access to specific device info") Reported-by: Xuekun Hu Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_regs.h | 16 1 file changed, 8 insertions(+), 8

[dpdk-dev] [PATCH] ixgbe: correct the VF general registers

2016-11-06 Thread Wenzhuo Lu
Some VF registers are using PF's name by mistake. Although the addresses of the VF's and PF's are the same, we should use the right names. Fixes: 0198848a47f5 ("ixgbe: add access to specific device info") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_regs.h | 6 +++--- 1 fi

[dpdk-dev] [PATCH] ixgbe: fix wrong RX DMA registers

2016-11-06 Thread Wenzhuo Lu
Some VF RX DMA registers are using PF's addresses by mistake. Although some of them are sharing the same addresses, we should use the right ones. Fixes: 0198848a47f5 ("ixgbe: add access to specific device info") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_r

[dpdk-dev] [PATCH] lib/ip_frag: fix IP reassembly not working issue

2016-11-06 Thread Wenzhuo Lu
-by: Wenzhuo Lu --- lib/librte_ip_frag/rte_ip_frag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h index 69596ab..6708906 100644 --- a/lib/librte_ip_frag/rte_ip_frag.h +++ b/lib/librte_ip_frag/rte_ip_frag.h

[dpdk-dev] [PATCH 05/16] e1000/base: expose e1000_write_vfta_i350

2016-11-23 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_82575.c | 1 - drivers/net/e1000/base/e1000_82575.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000/base/e1000_82575.c b/drivers/net/e1000/base/e1000_82575.c index 723885d..c6400bd 100644

[dpdk-dev] [PATCH 06/16] e1000/base: add max RX jumbo frame define

2016-11-23 Thread Wenzhuo Lu
Add a define for MAX_RX_JUMBO_FRAME_SIZE to be used by igb as all igb parts (82575 and newer) have 9.5K max jumbo frame as per the datasheet. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_defines.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/e1000/base

[dpdk-dev] [PATCH 07/16] e1000/base: restore link speed after ULP exit

2016-11-23 Thread Wenzhuo Lu
After cable reconnect with Ultra Low Power (ULP) enabled, the Client PHY needs to be set up for link configuration. Previously this was only done in auto-negotiate mode. This fixes that and calls e1000_setup_copper_link_generic if autoneg is disabled. Signed-off-by: Wenzhuo Lu --- drivers/net

[dpdk-dev] [PATCH 08/16] e1000/base: clear ULP configuration register on ULP exit

2016-11-23 Thread Wenzhuo Lu
handle that. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_ich8lan.c | 2 ++ drivers/net/e1000/base/e1000_ich8lan.h | 4 2 files changed, 6 insertions(+) diff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c index 4d893d2..212526f 100644

[dpdk-dev] [PATCH 09/16] e1000/base: increase LANPHYPC low duration

2016-11-23 Thread Wenzhuo Lu
LANPHYPC low duration of 10 usec was too low for some corner cases causing interface mismatches during Ultra Low Power (ULP) exit. This patch increases the duration to 1 msec which should be enough. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_ich8lan.c | 2 +- 1 file changed, 1

[dpdk-dev] [PATCH 10/16] e1000/base: workaround for ULP entry flow

2016-11-23 Thread Wenzhuo Lu
For i217 revision 6, when entering Ultra Low Power (ULP) we need to enable Low Power Link Up (LPLU) and disable Gig speed to make it work. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_ich8lan.c | 30 ++ 1 file changed, 30 insertions(+) diff --git

[dpdk-dev] [PATCH 11/16] e1000/base: enable new i219 devices

2016-11-23 Thread Wenzhuo Lu
Enable the support of new i219 devices. Also define some registers for future usage. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_api.c | 12 + drivers/net/e1000/base/e1000_defines.h | 7 + drivers/net/e1000/base/e1000_hw.h | 15 +- drivers/net/e1000/base

[dpdk-dev] [PATCH 12/16] e1000/base: always request clock during K1 at 1G link speed

2016-11-23 Thread Wenzhuo Lu
This works around a possible stalled packet issue, which may occur due to clock recovery from the PCH being too slow, when the LAN is transitioning from K1 at 1G link speed. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_ich8lan.c | 10 ++ drivers/net/e1000/base

[dpdk-dev] [PATCH 13/16] e1000/base: ability to force K1-off disabled

2016-11-23 Thread Wenzhuo Lu
MAC-PHY desync may occur causing misdetection of link up event. Disabling K1-off feature can work around the problem. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_hw.h | 1 + drivers/net/e1000/base/e1000_ich8lan.c | 3 +++ 2 files changed, 4 insertions(+) diff --git

[dpdk-dev] [PATCH 14/16] e1000/base: support more i219 devices

2016-11-23 Thread Wenzhuo Lu
Add the support of more new i219 devices. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/e1000_api.c | 7 +++ drivers/net/e1000/base/e1000_hw.h | 5 + drivers/net/e1000/base/e1000_ich8lan.c | 7 +++ 3 files changed, 19 insertions(+) diff --git a/drivers/net/e1000

[dpdk-dev] [PATCH 15/16] e1000/base: update readme

2016-11-23 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/base/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/base/README b/drivers/net/e1000/base/README index 8d48135..6cdd9b3 100644 --- a/drivers/net/e1000/base/README +++ b/drivers/net/e1000/base/README

[dpdk-dev] [PATCH 16/16] e1000: add new i219 devices

2016-11-23 Thread Wenzhuo Lu
Enable the new i219 devices. Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/em_ethdev.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index aee3d34..6a4cf2b 100644

[dpdk-dev] [PATCH] e1000/base: announce supported NICs

2016-11-27 Thread Wenzhuo Lu
Announce the support of I219 NICs. Also add all the other supported NICs. Add Intel I219 NICs support in release note too. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_17_02.rst | 4 drivers/net/e1000/base/README | 21 + 2 files changed, 25

[dpdk-dev] [PATCH] app/testpmd: fix pf/vf check of flow director

2016-10-10 Thread Wenzhuo Lu
t;) Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index f90befc..2580f27 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -85

[dpdk-dev] [PATCH 0/3] fix flow director mask issues

2016-10-10 Thread Wenzhuo Lu
There're 2 issues about flow director mask. 1, MAC address mask is not supported in mac-vlan mode. 2, All the parameter are defined as big endian, but they're not treated approriately. This patch set is used to fix these 2 issues. Wenzhuo Lu (3): ixgbe: fix wrong flow director mask app

[dpdk-dev] [PATCH 1/3] ixgbe: fix wrong flow director mask

2016-10-10 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Instead, only set it in tunnel mode. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_f

[dpdk-dev] [PATCH 2/3] app/testpmd: fix flow director endian issue

2016-10-10 Thread Wenzhuo Lu
The vlan mask and tunnel id mask of flow director are defined as big endian. So they should be converted. When the mask is printed, the parameters are not converted either. Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdl

[dpdk-dev] [PATCH 3/3] app/testpmd: fix wrong flow director mask

2016-10-10 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Remove this parameter from the CLI. Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v2 0/3] fix flow director mask issues

2016-10-12 Thread Wenzhuo Lu
change. Wenzhuo Lu (3): ixgbe: fix wrong flow director mask app/testpmd: fix wrong flow director mask app/testpmd: fix flow director endian issue app/test-pmd/cmdline.c | 11 +++- app/test-pmd/config.c | 43 + doc/guides

[dpdk-dev] [PATCH v2 1/3] ixgbe: fix wrong flow director mask

2016-10-12 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Instead, only set it in tunnel mode. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_f

[dpdk-dev] [PATCH v2 3/3] app/testpmd: fix flow director endian issue

2016-10-12 Thread Wenzhuo Lu
: 7c554b4f0484 ("app/testpmd: update display of flow director information") Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 6 +++--- app/test-pmd/config.c | 34 +- 2 files changed,

[dpdk-dev] [PATCH v2 2/3] app/testpmd: fix wrong flow director mask

2016-10-12 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Remove this parameter from the CLI. Remove MAC address from mask print too. Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH v5 1/5] lib/librte_ether: change function name of tunnel port config

2016-03-02 Thread Wenzhuo Lu
release after an ABI change announcement. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 6 +++-- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether/rte_ethdev.h | 18

[dpdk-dev] [PATCH v5 2/5] i40e: rename the tunnel port config functions

2016-03-02 Thread Wenzhuo Lu
As the names of tunnel port config functions are not accurate, change them from tunnel_add/del to tunnel_port_add/del. And support both the old and new rte ops. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c | 22 -- 1 file changed, 12 insertions(+), 10

[dpdk-dev] [PATCH v5 4/5] ixgbe: support VxLAN & NVGRE RX checksum off-load

2016-03-02 Thread Wenzhuo Lu
X550 will do VxLAN & NVGRE RX checksum off-load automatically. This patch exposes the result of the checksum off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++- lib/librte_ether/rte_ethdev.h| 1 +

[dpdk-dev] [PATCH v5 3/5] ixgbe: support UDP tunnel port config

2016-03-02 Thread Wenzhuo Lu
is 0. So please set it when using VxLAN off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 123 +++ 1 file changed, 123 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..ec2ff0e

[dpdk-dev] [PATCH v5 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-03-02 Thread Wenzhuo Lu
The patch add VxLAN & NVGRE TX checksum off-load. When the flag of outer IP header checksum offload is set, we'll set the context descriptor to enable this checksum off-load. Also update release note for VxLAN & NVGRE checksum off-load support. Signed-off-by: Wenzhuo Lu --- do

[dpdk-dev] [PATCH v6 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-03-03 Thread Wenzhuo Lu
it align with i40e. v6: - Fix x86_64-native-linuxapp-gcc-shared compile error. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions ixgbe: support UDP tunnel port config ixgbe: support VxLAN & NVGRE RX checksum off-

[dpdk-dev] [PATCH v6 1/5] lib/librte_ether: change function name of tunnel port config

2016-03-03 Thread Wenzhuo Lu
release after an ABI change announcement. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 6 +++-- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether/rte_ethdev.h | 18

[dpdk-dev] [PATCH v6 2/5] i40e: rename the tunnel port config functions

2016-03-03 Thread Wenzhuo Lu
As the names of tunnel port config functions are not accurate, change them from tunnel_add/del to tunnel_port_add/del. And support both the old and new rte ops. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c | 22 -- 1 file changed, 12 insertions(+), 10

[dpdk-dev] [PATCH v6 3/5] ixgbe: support UDP tunnel port config

2016-03-03 Thread Wenzhuo Lu
is 0. So please set it when using VxLAN off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 123 +++ 1 file changed, 123 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..ec2ff0e

[dpdk-dev] [PATCH v6 4/5] ixgbe: support VxLAN & NVGRE RX checksum off-load

2016-03-03 Thread Wenzhuo Lu
X550 will do VxLAN & NVGRE RX checksum off-load automatically. This patch exposes the result of the checksum off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++- lib/librte_ether/rte_ethdev.h| 1 +

[dpdk-dev] [PATCH v6 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-03-03 Thread Wenzhuo Lu
The patch add VxLAN & NVGRE TX checksum off-load. When the flag of outer IP header checksum offload is set, we'll set the context descriptor to enable this checksum off-load. Also update release note for VxLAN & NVGRE checksum off-load support. Signed-off-by: Wenzhuo Lu --- do

[dpdk-dev] [PATCH v7 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-03-04 Thread Wenzhuo Lu
it align with i40e. v6: - Fix x86_64-native-linuxapp-gcc-shared compile error. v7: - Change the return value from hardcode to macro. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions ixgbe: support UDP tunnel port config

[dpdk-dev] [PATCH v7 1/5] lib/librte_ether: change function name of tunnel port config

2016-03-04 Thread Wenzhuo Lu
release after an ABI change announcement. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 6 +++-- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether/rte_ethdev.h | 18

[dpdk-dev] [PATCH v7 2/5] i40e: rename the tunnel port config functions

2016-03-04 Thread Wenzhuo Lu
As the names of tunnel port config functions are not accurate, change them from tunnel_add/del to tunnel_port_add/del. And support both the old and new rte ops. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c | 22 -- 1 file changed, 12 insertions(+), 10

[dpdk-dev] [PATCH v7 3/5] ixgbe: support UDP tunnel port config

2016-03-04 Thread Wenzhuo Lu
is 0. So please set it when using VxLAN off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 123 +++ 1 file changed, 123 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..25e2e38

[dpdk-dev] [PATCH v7 4/5] ixgbe: support VxLAN & NVGRE RX checksum off-load

2016-03-04 Thread Wenzhuo Lu
X550 will do VxLAN & NVGRE RX checksum off-load automatically. This patch exposes the result of the checksum off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++- lib/librte_ether/rte_ethdev.h| 1 +

[dpdk-dev] [PATCH v7 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-03-04 Thread Wenzhuo Lu
The patch add VxLAN & NVGRE TX checksum off-load. When the flag of outer IP header checksum offload is set, we'll set the context descriptor to enable this checksum off-load. Also update release note for VxLAN & NVGRE checksum off-load support. Signed-off-by: Wenzhuo Lu --- do

[dpdk-dev] [PATCH v5 0/7] support E-tag offloading and forwarding on X550

2016-03-07 Thread Wenzhuo Lu
entry. - Update the release note to add some info about how to use this feature. v5: - Use macro for return value. - Correct print info. Wenzhuo Lu (7): ixgbe: select pool by MAC when using double VLAN lib/librte_ether: support l2 tunnel config ixgbe: support l2 tunnel config app/testpmd

[dpdk-dev] [PATCH v5 1/7] ixgbe: select pool by MAC when using double VLAN

2016-03-07 Thread Wenzhuo Lu
to identify the VM channel and the virtual port. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..b99e48e 100644 --- a/drivers/net/ixgbe

[dpdk-dev] [PATCH v5 2/7] lib/librte_ether: support l2 tunnel config

2016-03-07 Thread Wenzhuo Lu
. Enabling/disabling a tunnel support means enabling/disabling the ability of parsing the specific type of tunnel. This ability should be enabled before we enable filtering, forwarding, offloading for this specific type of tunnel. Only support e-tag tunnel now. Signed-off-by: Wenzhuo Lu --- lib

[dpdk-dev] [PATCH v5 3/7] ixgbe: support l2 tunnel config

2016-03-07 Thread Wenzhuo Lu
Add support of l2 tunnel configuration. Support modifying ether type of a type of l2 tunnel. Support enabling and disabling the support of a type of l2 tunnel. Only E-tag tunnel is supported now. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 140

[dpdk-dev] [PATCH v5 4/7] app/testpmd: add CLIs for l2 tunnel config

2016-03-07 Thread Wenzhuo Lu
Add CLIs to config ether type of l2 tunnel, and to enable/disable a type of l2 tunnel. Now only e-tag tunnel is supported. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 269 +++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files

[dpdk-dev] [PATCH v5 5/7] lib/librte_ether: support new l2 tunnel operation

2016-03-07 Thread Wenzhuo Lu
Add functions to support the new l2 tunnel operation. 1, Insertion and stripping for l2 tunnel tag. 2, Forwarding the packets to a pool based on l2 tunnel tag. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_ethdev.c | 183 lib/librte_ether/rte_ethdev.h

[dpdk-dev] [PATCH v5 6/7] ixgbe: support l2 tunnel operation

2016-03-07 Thread Wenzhuo Lu
Add support of l2 tunnel operation. Support enabling/disabling l2 tunnel tag insertion/stripping. Support enabling/disabling l2 tunnel packets forwarding. Support adding/deleting forwarding rules for l2 tunnel packets. Only support E-tag now. Also update the release note. Signed-off-by: Wenzhuo

[dpdk-dev] [PATCH v5 7/7] app/testpmd: add CLIs for E-tag operation

2016-03-07 Thread Wenzhuo Lu
Add the CLIs to support the E-tag operation. 1, Offloading of E-tag insertion and stripping. 2, Forwarding the E-tag packets to pools based on the GRP and E-CID_base. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 378 doc/guides

[dpdk-dev] [PATCH v3] doc: Malicious Driver Detection not supported by ixgbe

2016-03-07 Thread Wenzhuo Lu
Announce that Malicious Driver Detection is not supported. v2: - Rework the words. v3: - Remove the duplicate info in the release note. - Create a new section for this description. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He intel.com> --- doc/guides/nics/ixgbe.rst |

[dpdk-dev] [PATCH v6 3/5] ixgbe: support l2 tunnel operations

2016-03-08 Thread Wenzhuo Lu
forwarding. 5, Support adding/deleting forwarding rules for l2 tunnel packets. Only support E-tag now. Also update the release note. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 21 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 538 + 2 files

[dpdk-dev] [PATCH v6 2/5] lib/librte_ether: support l2 tunnel operations

2016-03-08 Thread Wenzhuo Lu
tunnel tag. Only support e-tag tunnel now. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h| 9 +++ lib/librte_ether/rte_ethdev.c | 102 + lib/librte_ether/rte_ethdev.h | 131 + lib/librte_ether

[dpdk-dev] [PATCH v6 4/5] app/testpmd: add CLIs for l2 tunnel config

2016-03-08 Thread Wenzhuo Lu
Add CLIs to config ether type of l2 tunnel, and to enable/disable a type of l2 tunnel. Now only e-tag tunnel is supported. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 278 +++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files

[dpdk-dev] [PATCH v6 5/5] app/testpmd: add CLIs for E-tag operation

2016-03-08 Thread Wenzhuo Lu
Add the CLIs to support the E-tag operation. 1, Offloading of E-tag insertion and stripping. 2, Forwarding the E-tag packets to pools based on the GRP and E-CID_base. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 399 doc/guides

[dpdk-dev] [PATCH v8 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-03-09 Thread Wenzhuo Lu
. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions ixgbe: support UDP tunnel port config ixgbe: support VxLAN & NVGRE RX checksum off-load ixgbe: support VxLAN & NVGRE TX checksum off-load app/test-pmd/c

[dpdk-dev] [PATCH v8 1/5] lib/librte_ether: change function name of tunnel port config

2016-03-09 Thread Wenzhuo Lu
release after an ABI change announcement. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- app/test-pmd/cmdline.c | 6 +++-- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether

[dpdk-dev] [PATCH v8 2/5] i40e: rename the tunnel port config functions

2016-03-09 Thread Wenzhuo Lu
As the names of tunnel port config functions are not accurate, change them from tunnel_add/del to tunnel_port_add/del. And support both the old and new rte ops. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/i40e/i40e_ethdev.c | 22 -- 1 file changed

[dpdk-dev] [PATCH v8 3/5] ixgbe: support UDP tunnel port config

2016-03-09 Thread Wenzhuo Lu
is 0. So please set it when using VxLAN off-load. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 123 +++ 1 file changed, 123 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe

[dpdk-dev] [PATCH v8 4/5] ixgbe: support VxLAN & NVGRE RX checksum off-load

2016-03-09 Thread Wenzhuo Lu
X550 will do VxLAN & NVGRE RX checksum off-load automatically. This patch exposes the result of the checksum off-load. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++- lib/librte_e

[dpdk-dev] [PATCH v8 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-03-09 Thread Wenzhuo Lu
The patch add VxLAN & NVGRE TX checksum off-load. When the flag of outer IP header checksum offload is set, we'll set the context descriptor to enable this checksum off-load. Also update release note for VxLAN & NVGRE checksum off-load support and ABI change. Signed-off-by: Wenzhuo L

[dpdk-dev] [PATCH v7 0/5] support E-tag offloading and forwarding on X550

2016-03-09 Thread Wenzhuo Lu
entry. - Update the release note to add some info about how to use this feature. v5: - Use macro for return value. - Correct print info. v6: - Merge some rte ops. v7: - Squash the l2 tunnel filter ops to filter ctrl ops. Wenzhuo Lu (5): ixgbe: select pool by MAC when using double VLAN lib

[dpdk-dev] [PATCH v7 2/5] lib/librte_ether: support l2 tunnel operations

2016-03-09 Thread Wenzhuo Lu
tunnel tag. Only support e-tag tunnel now. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h| 18 lib/librte_ether/rte_ethdev.c | 54 lib/librte_ether/rte_ethdev.h | 75 ++ lib/librte_ether

[dpdk-dev] [PATCH v7 4/5] app/testpmd: add CLIs for l2 tunnel config

2016-03-09 Thread Wenzhuo Lu
Add CLIs to config ether type of l2 tunnel, and to enable/disable a type of l2 tunnel. Now only e-tag tunnel is supported. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 278 +++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files

[dpdk-dev] [PATCH v7 3/5] ixgbe: support l2 tunnel operations

2016-03-09 Thread Wenzhuo Lu
forwarding. 5, Support adding/deleting forwarding rules for l2 tunnel packets. Only support E-tag now. Also update the release note. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 21 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 577 + 2 files

[dpdk-dev] [PATCH v7 5/5] app/testpmd: add CLIs for E-tag operation

2016-03-09 Thread Wenzhuo Lu
Add the CLIs to support the E-tag operation. 1, Offloading of E-tag insertion and stripping. 2, Forwarding the E-tag packets to pools based on the GRP and E-CID_base. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 424 doc/guides

[dpdk-dev] [PATCH v7 1/5] ixgbe: select pool by MAC when using double VLAN

2016-03-09 Thread Wenzhuo Lu
to identify the VM channel and the virtual port. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..b99e48e 100644 --- a/drivers/net/ixgbe

[dpdk-dev] [PATCH v9 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-03-10 Thread Wenzhuo Lu
sion.map. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions ixgbe: support UDP tunnel port config ixgbe: support VxLAN & NVGRE RX checksum off-load ixgbe: support VxLAN & NVGRE TX checksum off-load app/te

[dpdk-dev] [PATCH v9 1/5] lib/librte_ether: change function name of tunnel port config

2016-03-10 Thread Wenzhuo Lu
release after an ABI change announcement. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- app/test-pmd/cmdline.c | 6 +++-- examples/tep_termination/vxlan_setup.c | 2 +- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether

[dpdk-dev] [PATCH v9 2/5] i40e: rename the tunnel port config functions

2016-03-10 Thread Wenzhuo Lu
As the names of tunnel port config functions are not accurate, change them from tunnel_add/del to tunnel_port_add/del. And support both the old and new rte ops. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/i40e/i40e_ethdev.c | 22 -- 1 file changed

[dpdk-dev] [PATCH v9 4/5] ixgbe: support VxLAN & NVGRE RX checksum off-load

2016-03-10 Thread Wenzhuo Lu
X550 will do VxLAN & NVGRE RX checksum off-load automatically. This patch exposes the result of the checksum off-load. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++- lib/librte_e

[dpdk-dev] [PATCH v9 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-03-10 Thread Wenzhuo Lu
The patch add VxLAN & NVGRE TX checksum off-load. When the flag of outer IP header checksum offload is set, we'll set the context descriptor to enable this checksum off-load. Also update release note for VxLAN & NVGRE checksum off-load support and ABI change. Signed-off-by: Wenzhuo L

[dpdk-dev] [PATCH v9 3/5] ixgbe: support UDP tunnel port config

2016-03-10 Thread Wenzhuo Lu
is 0. So please set it when using VxLAN off-load. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 123 +++ 1 file changed, 123 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe

[dpdk-dev] [PATCH v8 0/5] support E-tag offloading and forwarding on X550

2016-03-11 Thread Wenzhuo Lu
entry. - Update the release note to add some info about how to use this feature. v5: - Use macro for return value. - Correct print info. v6: - Merge some rte ops. v7: - Squash the l2 tunnel filter ops to filter ctrl ops. v8: - Merge the rte_eth_l2_tunnel_type to rte_eth_tunnel_type. Wenzhuo Lu (5

[dpdk-dev] [PATCH v8 1/5] ixgbe: select pool by MAC when using double VLAN

2016-03-11 Thread Wenzhuo Lu
to identify the VM channel and the virtual port. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He Acked-by: Jingjing Wu Tested-by: Yong Liu --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe

[dpdk-dev] [PATCH v8 2/5] lib/librte_ether: support l2 tunnel operations

2016-03-11 Thread Wenzhuo Lu
tunnel tag. Only support e-tag tunnel now. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He Acked-by: Jingjing Wu Tested-by: Yong Liu --- lib/librte_ether/rte_eth_ctrl.h| 13 ++ lib/librte_ether/rte_ethdev.c | 54 lib/librte_ether/rte_ethdev.h

[dpdk-dev] [PATCH v8 3/5] ixgbe: support l2 tunnel operations

2016-03-11 Thread Wenzhuo Lu
forwarding. 5, Support adding/deleting forwarding rules for l2 tunnel packets. Only support E-tag now. Also update the release note. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He Acked-by: Jingjing Wu Tested-by: Yong Liu --- doc/guides/rel_notes/release_16_04.rst | 21 ++ drivers/net/ixgbe

[dpdk-dev] [PATCH v8 4/5] app/testpmd: add CLIs for l2 tunnel config

2016-03-11 Thread Wenzhuo Lu
Add CLIs to config ether type of l2 tunnel, and to enable/disable a type of l2 tunnel. Now only e-tag tunnel is supported. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He Acked-by: Jingjing Wu Tested-by: Yong Liu --- app/test-pmd/cmdline.c | 278

[dpdk-dev] [PATCH v8 5/5] app/testpmd: add CLIs for E-tag operation

2016-03-11 Thread Wenzhuo Lu
Add the CLIs to support the E-tag operation. 1, Offloading of E-tag insertion and stripping. 2, Forwarding the E-tag packets to pools based on the GRP and E-CID_base. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He Acked-by: Jingjing Wu Tested-by: Yong Liu --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH] igb: fix i350 VF RX issue

2016-04-01 Thread Wenzhuo Lu
A problem is found on i350 VF. We found TX will happen once per 4 packets. If only 1~3 packets are received, they will not be forwarded. But the real problem is on RX side. The reason is the default RX write-back threshold is changed to 4, so every first 3 packets may be hung there. This patch

[dpdk-dev] [PATCH] doc: update overview

2016-04-01 Thread Wenzhuo Lu
Update the overview.rst for e1000, igb, ixgbe. Signed-off-by: Wenzhuo Lu --- doc/guides/nics/overview.rst | 94 ++-- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index 542479a

[dpdk-dev] [PATCH v2] igb: fix i350 VF RX issue

2016-04-05 Thread Wenzhuo Lu
checks the RX wthresh when setting up the RX queue, and forces it to be 1, so every packet can be handled immediately. v2: - Add missed signoff. Fixes: 4a41c17dba18 (igb: set default thresholds based on MAC type) Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- drivers/net/e1000

[dpdk-dev] [PATCH v2] doc: update overview

2016-04-05 Thread Wenzhuo Lu
Update the overview.rst for e1000, igb, ixgbe. v2: - Some "X"s are put in the wrong place, correct it. Signed-off-by: Wenzhuo Lu --- doc/guides/nics/overview.rst | 94 ++-- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/doc/g

[dpdk-dev] [PATCH] doc: announce per queue stats support for ixgbe

2016-04-07 Thread Wenzhuo Lu
Fixes: 83a4a15404ef (doc: fill nics features matrix for e1000/igb and ixgbe) Reported-by: Thomas Monjalon Signed-off-by: Wenzhuo Lu --- doc/guides/nics/overview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst

[dpdk-dev] [PATCH] ixgbe: fix wrong packet type for VxLAN & NVGRE

2016-04-08 Thread Wenzhuo Lu
der. This patch implement the support of packet type for VxLAN & NVGRE. And it fixes the wrong packet type issue either. BTW: It doesn't fix any existing commit as although it resolve an issue it's more like a new feature but not a fix. Reported-by: Konstantin Ananyev Signed-off-by: Wenzhuo

[dpdk-dev] [PATCH] lib: fix DCB config issue on ixgbe

2016-04-11 Thread Wenzhuo Lu
mber. Fixes: 96c0450dff86 (ixgbe: fix dropping packets from unsupported Tx queues) Signed-off-by: Wenzhuo Lu --- app/test-pmd/testpmd.c | 40 +++--- lib/librte_ether/rte_ethdev.c | 17 +++ lib/librte_ether/rte_ethdev.h

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-05 Thread Wenzhuo Lu
info can be got depending on the configuration. Fixes: 96c0450dff86 (ixgbe: fix dropping packets from unsupported Tx queues) Signed-off-by: Wenzhuo Lu --- app/test-pmd/testpmd.c | 39 +-- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x

2016-02-01 Thread Wenzhuo Lu
Normally the auto-negotiation is supported by FW. But on X550EM_X_10G_T it's not supported by FW. As the port of X550EM_X_10G_T is 10G. If we connect the port with a peer which is 1G. The link is always down. We have to supprted auto-neg by SW to avoid such link down issue. Signed-off-by: Wenzhuo

[dpdk-dev] [PATCH v2 0/7] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-02 Thread Wenzhuo Lu
This patch set adds the support of E-tag offloading and forwarding on X550. The offloading means E-tag can be inserted and stripped by HW. And E-tag packets can be recognized and forwarded to specific pools based on GRP and E-CID_base in E-tag. Wenzhuo Lu (7): ixgbe: select pool by MAC when

[dpdk-dev] [PATCH v2 1/7] ixgbe: select pool by MAC when using double VLAN

2016-02-02 Thread Wenzhuo Lu
On X550, as required by datasheet, E-tag packets are not expected when double VLAN are used. So modify the register PFVTCTL after enabling double VLAN to select pool by MAC but not MAC or E-tag. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 ++ 1 file changed, 10

[dpdk-dev] [PATCH v2 2/7] lib/librte_ether: support l2 tunnel config

2016-02-02 Thread Wenzhuo Lu
and the virtual port. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h | 9 + lib/librte_ether/rte_ethdev.c | 61 ++ lib/librte_ether/rte_ethdev.h | 84 + 3 files changed, 154 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH v2 3/7] ixgbe: support l2 tunnel config

2016-02-02 Thread Wenzhuo Lu
Add support of l2 tunnel configuration. Support modifying ether type of a type of l2 tunnel. Support enabling and disabling the support of a type of l2 tunnel. Only E-tag tunnel is supported now. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 140

[dpdk-dev] [PATCH v2 6/7] ixgbe: support l2 tunnel operation

2016-02-02 Thread Wenzhuo Lu
Add support of l2 tunnel operation. Support enabling/disabling l2 tunnel tag insertion/stripping. Support enabling/disabling l2 tunnel packets forwarding. Support adding/deleting forwarding rules for l2 tunnel packets. Only support E-tag now. Also update the release note. Signed-off-by: Wenzhuo

[dpdk-dev] [PATCH v2 7/7] app/testpmd: add CLIs for E-tag operation

2016-02-02 Thread Wenzhuo Lu
Add the CLIs to support the E-tag operation. 1, Offloading of E-tag insertion and stripping. 2, Forwarding the E-tag packets to pools based on the GRP and E-CID_base. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 340 + 1 file changed

[dpdk-dev] [PATCH v2 4/7] app/testpmd: add CLIs for l2 tunnel config

2016-02-02 Thread Wenzhuo Lu
Add CLIs to config ether type of l2 tunnel, and to enable/disable a type of l2 tunnel. Now only e-tag tunnel is supported. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 259 + 1 file changed, 259 insertions(+) diff --git a/app/test-pmd

[dpdk-dev] [PATCH v2] ixgbe: support multicast promiscuous mode on VF

2016-02-14 Thread Wenzhuo Lu
promiscuous mode. If use dpdk PF + dpdk VF, better make sure PF driver is the same version as VF. V2: Update release note. Signed-off-by: Wenzhuo Lu Acked-by: Shaopeng He --- doc/guides/rel_notes/release_16_04.rst | 11 ++ drivers/net/ixgbe/base/ixgbe_mbx.h | 4 +++ drivers/net/ixgbe

[dpdk-dev] [PATCH v2 00/11] update ixgbe base driver

2016-02-14 Thread Wenzhuo Lu
link read/write ops V2: Rework the tittles and comments. Split the release note update to each patch. Wenzhuo Lu (11): ixgbe/base: add x550em_a device support ixgbe/base: add x550em_x V2 device support ixgbe/base: sw-firmware sync for resource sharing ixgbe/base: set VF mac addr only when

<    1   2   3   4   5   >