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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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 +
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
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
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 +++
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)
---
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
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
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
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
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
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_
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
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
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/
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
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
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
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
: 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
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
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/
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/
, 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
, 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
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/
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 +++
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
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/
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/
;)
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
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
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
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
: 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 +--
401 - 461 of 461 matches
Mail list logo