[dpdk-dev] [PATCH v2 01/11] ixgbe/base: add x550em_a device support

2016-02-14 Thread Wenzhuo Lu
Add new X550EM_a devices and their mac types, X550EM_a and X550EM_a_vf. Update the code to use the new devices and mac types. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 5 ++ drivers/net/ixgbe/base/ixgbe_82599.c | 4 +- drivers/net/ixgbe/base/ixgbe_api.c | 23

[dpdk-dev] [PATCH v2 03/11] ixgbe/base: sw-firmware sync for resource sharing

2016-02-14 Thread Wenzhuo Lu
Use the PHY token, shared between sw-fw for PHY access on X550EM_a. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 5 ++ drivers/net/ixgbe/base/ixgbe_x550.c| 114 + drivers/net/ixgbe/base/ixgbe_x550.h| 2 + 3 files changed, 121

[dpdk-dev] [PATCH v2 04/11] ixgbe/base: set VF mac addr only when acked by PF

2016-02-14 Thread Wenzhuo Lu
This patch resolves an issue where VF mac address is zeroed out in cases where the VF driver is loaded while the PF interface is down. The solution is to only set it when we get an ACK from the PF. Fixes: 6202266e5680 ("ixgbe/base: vf changes") Signed-off-by: Wenzhuo Lu --- doc/guides

[dpdk-dev] [PATCH v2 05/11] ixgbe/base: ignore manageability for phy power on

2016-02-14 Thread Wenzhuo Lu
Instead of not defining the callback for set_phy_power when manageability is enabled, put the check in the set_phy_power function so that only turning the power off is conditional on management, but not turning the PHY on. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_phy.c | 3

[dpdk-dev] [PATCH v2 08/11] ixgbe/base: set MDIO speed after MAC reset

2016-02-14 Thread Wenzhuo Lu
than one place, make a function for it so it will always be done correctly. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 7 +++ drivers/net/ixgbe/base/ixgbe_x550.c| 35 +++--- 2 files changed, 35 insertions(+), 7 deletions(-) diff

[dpdk-dev] [PATCH v2 10/11] ixgbe/base: update readme

2016-02-14 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/base/README b/drivers/net/ixgbe/base/README index 5d66f86..caa2664 100644 --- a/drivers/net/ixgbe/base/README +++ b/drivers/net/ixgbe/base/README

[dpdk-dev] [PATCH v2 07/11] ixgbe/base: fix setting flow dir flag twice

2016-02-14 Thread Wenzhuo Lu
behavior. Fixes: 2241ce281646 ("ixgbe/base: add flow director drop queue") Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_04.rst | 8 drivers/net/ixgbe/base/ixgbe_82599.c | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/guides

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

2016-02-16 Thread Wenzhuo Lu
http://www.ieee802.org/1/pages/802.1br.html. V2: * Add the introduction for E-tag. V3: * Add the hlep info for the new CLIs. * Update the doc for testpmd. * Update the E-tag insertion setting. Should insert different tunnel id for every VF, not a common one for all. Wenzhuo Lu (7): ixgbe

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

2016-02-16 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 4c4c6df..83df0c0 100644 --- a/drivers/net/ixgbe

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

2016-02-16 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 v3 3/7] ixgbe: support l2 tunnel config

2016-02-16 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 v3 4/7] app/testpmd: add CLIs for l2 tunnel config

2016-02-16 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 v3 5/7] lib/librte_ether: support new l2 tunnel operation

2016-02-16 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 v3 7/7] app/testpmd: add CLIs for E-tag operation

2016-02-16 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 6/7] ixgbe: support l2 tunnel operation

2016-02-16 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 v4 0/7] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-18 Thread Wenzhuo Lu
is not working issue. * Update the filter adding function. Make sure there's only one filter entry for one tunnel entry. * Update the release note to add some info about how to use this feature. Wenzhuo Lu (7): ixgbe: select pool by MAC when using double VLAN lib/librte_ether: support l2 tunnel config

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

2016-02-18 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 v4 2/7] lib/librte_ether: support l2 tunnel config

2016-02-18 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 v4 3/7] ixgbe: support l2 tunnel config

2016-02-18 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 v4 5/7] lib/librte_ether: support new l2 tunnel operation

2016-02-18 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 v4 6/7] ixgbe: support l2 tunnel operation

2016-02-18 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 v4 4/7] app/testpmd: add CLIs for l2 tunnel config

2016-02-18 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 v4 7/7] app/testpmd: add CLIs for E-tag operation

2016-02-18 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 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-02-18 Thread Wenzhuo Lu
KSUM_BAD but not add a new one. * Correct the tunnel len for TX, and remove the useless out_l2_len. * Don't set the tunnel type for TX, and remove the unused ol_flag_nvgre. Wenzhuo Lu (5): lib/librte_ether: change function name of tunnel port config i40e: rename the tunnel port config functions

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

2016-02-18 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 v3 2/5] i40e: rename the tunnel port config functions

2016-02-18 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 v3 3/5] ixgbe: support UDP tunnel port config

2016-02-18 Thread Wenzhuo Lu
using VxLAN off-load. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 95 1 file changed, 95 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 4c4c6df..c04edde 100644 --- a/drivers/net/ixgbe

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

2016-02-18 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] doc: Malicious Driver Detection not supported by ixgbe

2016-02-24 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- doc/guides/nics/ixgbe.rst | 21 + doc/guides/rel_notes/release_16_04.rst | 24 2 files changed, 45 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 8cae299..aac5586

[dpdk-dev] [PATCH 20/31] app/testpmd: use VFD APIs on i40e

2016-12-02 Thread Wenzhuo Lu
The new VF Daemon (VFD) APIs is implemented on i40e. Change testpmd code to use them, inlcuding VF MAC anti-spoofing, VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN insert. Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> Signed-off-by: Chen Jing D(Mark) <jing.d.c...@intel.co

[dpdk-dev] [PATCH 12/31] net/i40e: set VF MAC from PF support

2016-12-02 Thread Wenzhuo Lu
Support setting VF MAC address from PF. User can call the API on PF to set a speific VF's MAC address. Signed-off-by: Ferruh Yigit --- app/test/Makefile | 8 +++ app/test/test_pmd_i40e.c | 96 +++

[dpdk-dev] [PATCH 31/31] i40e: enhance in sanity check of mac

2016-12-02 Thread Wenzhuo Lu
When VF sends request to add a new mac address, PF host will check if it's a non-zero or uncast address, or it will return with error. In fact, VF still can set multicast address. This change remove to check if it's a unicast address. Signed-off-by: Chen Jing D(Mark) ---

[dpdk-dev] [PATCH 28/31] net/i40e: return correct vsi_id

2016-12-02 Thread Wenzhuo Lu
PF host didn't return correct VSI id to VF. This change fix it. Signed-off-by: Chen Jing D(Mark) --- drivers/net/i40e/i40e_pf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c index

[dpdk-dev] [PATCH 02/31] net/i40e: add callback to user on VF to PF mbox msg

2016-12-02 Thread Wenzhuo Lu
The callback asks the user application if it is allowed to perform the mailbox messages. If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED then continue. If ACK or NACK, do nothing and send not_supported to VF. Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> --- drivers/ne

[dpdk-dev] [PATCH 07/31] net/i40e: set VF multicast promisc mode from PF

2016-12-02 Thread Wenzhuo Lu
Support enabling/disabling VF multicast promicscuous mode from PF. User can call the API on PF to enable/disable a specific VF's multicast promiscuous mode. Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> --- drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH] ixgbe: add TX queue number check

2016-03-22 Thread Wenzhuo Lu
than 64 during device configuration, so the user can know the problem as early as possible. Signed-off-by: Wenzhuo Lu Reported-by: Antonio Fischetti --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++- drivers/net/ixgbe/ixgbe_ethdev.h | 1 + 2 files changed, 11 insertions(+), 1 deletion

[dpdk-dev] [PATCH 0/2] fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
In the function set_rx_mode, the pointer of device data points to the wrong address. Wenzhuo Lu (2): ixgbe: fix the wrong address of device data pointer igb: fix the wrong address of device data pointer drivers/net/e1000/igb_pf.c | 2 +- drivers/net/ixgbe/ixgbe_pf.c | 2 +- 2 files

[dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
dd PF support") Signed-off-by: Wenzhuo Lu Reported-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c index b854c72..0f8ad55 100644 --- a/drivers/net/ixgbe/ixgbe_

[dpdk-dev] [PATCH 2/2] igb: fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
In the function set_rx_mode, the pointer of device data points to the wrong address as found in ixgbe code. Fixes: be2d648a2dd3("igb: add PF support") Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/igb_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[dpdk-dev] [PATCH v2 0/2] fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
In the function set_rx_mode, the pointer of device data points to the wrong address. v2: - Remove the unnecessary cast. Wenzhuo Lu (2): ixgbe: fix the wrong address of device data pointer igb: fix the wrong address of device data pointer drivers/net/e1000/igb_pf.c | 3 +-- drivers/net

[dpdk-dev] [PATCH v2 1/2] ixgbe: fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
dd PF support") Signed-off-by: Wenzhuo Lu Reported-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_pf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c index b854c72..a540343 100644 --- a/drivers/net/ixgbe/

[dpdk-dev] [PATCH v2 2/2] igb: fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
In the function set_rx_mode, the pointer of device data points to the wrong address as found in ixgbe code. Fixes: be2d648a2dd3("igb: add PF support") Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/igb_pf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH] ixgbe: extend the timer support to x550em

2016-03-25 Thread Wenzhuo Lu
An issue is found on x550em NICs, that ieee1588 is not working, the time always be 0. The root cause is the timer is only supported by x550, it's not extended to x550em_x and x550em_a. Fixes: a7740dc1303a("ixgbe: support new devices and MAC types") Signed-off-by: Wenzhuo Lu --- d

[dpdk-dev] [PATCH] ixgbe: support mac type x550em_a

2016-03-25 Thread Wenzhuo Lu
rt L2 tunnel operations") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 42 ++-- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index d4d883a..5521

[dpdk-dev] [PATCH] ixgbe/base: fix VF multi-queue failure

2016-03-30 Thread Wenzhuo Lu
romiscuous mode on VF") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_vf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/base/ixgbe_vf.c b/drivers/net/ixgbe/base/ixgbe_vf.c index dbb5194..40dc1c8 100644 --- a/drivers/net/ixgbe/base/ixgbe_vf.c +++ b/dr

[dpdk-dev] [PATCH] igb: change default RX wthresh back

2016-03-31 Thread Wenzhuo Lu
: 4a41c17dba18 (igb: set default thresholds based on MAC type) Signed-off-by: Wenzhuo Lu --- drivers/net/e1000/igb_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index bd0ae26..34120ae 100644 --- a/drivers/net/e1000

[dpdk-dev] [PATCH 0/4] automatic link recovery on ixgbe/igb VF

2016-05-05 Thread Wenzhuo Lu
automatically. Wenzhuo Lu (4): ixgbe: VF supports mailbox interruption for PF link up/down igb: VF supports mailbox interruption for PF link up/down ixgbe: automatic link recovery on VF igb: automatic link recovery on VF doc/guides/rel_notes/release_16_07.rst | 11 ++ drivers/net/e1000

[dpdk-dev] [PATCH 1/4] ixgbe: VF supports mailbox interruption for PF link up/down

2016-05-05 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu --- doc/

[dpdk-dev] [PATCH 2/4] igb: VF supports mailbox interruption for PF link up/down

2016-05-05 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu --- doc/

[dpdk-dev] [PATCH 4/4] igb: automatic link recovery on VF

2016-05-05 Thread Wenzhuo Lu
, it will replace the RX/TX and operation functions with fake ones to stop RX/TX and any future operation. Then reset the VF port. After successfully resetting the port, recover the RX/TX and operation functions. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_07.rst | 2 +- drivers/net

[dpdk-dev] [PATCH 3/4] ixgbe: automatic link recovery on VF

2016-05-05 Thread Wenzhuo Lu
, it will replace the RX/TX and operation functions with fake ones to stop RX/TX and any future operation. Then reset the VF port. After successfully resetting the port, recover the RX/TX and operation functions. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_16_07.rst | 5 ++ drivers/net

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

2016-05-05 Thread Wenzhuo Lu
number. v2: - Changed the release to 16.07. 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/

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

2016-05-06 Thread Wenzhuo Lu
queue number. Fixes: 96c0450dff86 (ixgbe: fix dropping packets from unsupported Tx queues) Signed-off-by: Wenzhuo Lu --- v2: - Changed the release to 16.07. v3: - Changed the title prefix to ethdev. - Reworded the commit log. app/test-pmd/testpmd.c | 40 +++

[dpdk-dev] [PATCH 0/2] support mailbox interruption on ixgbe/igb VF

2016-05-24 Thread Wenzhuo Lu
This patch set addes the support of the mailbox interruption on VF. So, VF can receice the messges for physical link down/up. PS: This patch set is splitted from a previous patch set, *automatic link recovery on ixgbe/igb VF*. Wenzhuo Lu (2): ixgbe: VF supports mailbox interruption for PF link

[dpdk-dev] [PATCH 1/2] ixgbe: VF supports mailbox interruption for PF link up/down

2016-05-24 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu --- doc/

[dpdk-dev] [PATCH 2/2] igb: VF supports mailbox interruption for PF link up/down

2016-05-24 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu --- doc/

[dpdk-dev] [PATCH v2] app/testpmd: fix PF/VF check of flow director

2016-10-19 Thread Wenzhuo Lu
;) Signed-off-by: Wenzhuo Lu Acked-by: Pablo de Lara --- v2: - Reword the title and commit log. 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 a1da8b8..6e95ca2 100644

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

2016-10-19 Thread Wenzhuo Lu
change. v3: - Reword the commit log. 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

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

2016-10-19 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 v3 2/3] app/testpmd: fix wrong flow director mask

2016-10-19 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

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

2016-10-19 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 Acked-by: Pablo de Lara --- app/test-pmd/cmdline.c | 6 +++--- app/test-pmd/config.c | 34 +--

<    1   2   3   4   5