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 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 +++
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
: 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 +--
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
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
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
;)
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
: 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,
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
---
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
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
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
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
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
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
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
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
*.
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
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
Implement the device reset function.
This reset function will detach device then
attach device, reconfigure dev, re-setup the Rx/Tx queues.
Signed-off-by: Zhe Tao
---
doc/guides/rel_notes/release_16_07.rst | 4 ++
drivers/net/i40e/i40e_ethdev.h | 4 ++
Implement the device reset function.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 2 +-
drivers/net/e1000/igb_ethdev.c | 59 ++
2 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_16_07
Implement the device reset function.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 9 +
drivers/net/ixgbe/ixgbe_ethdev.c | 64 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 2 +-
drivers/net/ixgbe/ixgbe_rxtx.c | 12
ice, then reset the
device, then recover the device and rx/tx.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/overview.rst | 1 +
lib/librte_ether/rte_ethdev.c | 17 +
lib/librte_ether/rte_ethdev.h | 24
lib/librte_et
recovery on ixgbe/igb VF*, and it's base on the
patch set *support mailbox interruption on ixgbe/igb VF*.
Wenzhuo Lu (3):
lib/librte_ether: support device reset
ixgbe: implement device reset on VF
igb: implement device reset on VF
Zhe Tao (1):
i40e: implement device reset on VF
v1:
- Added
Implement the device reset function.
This reset function will detach device then
attach device, reconfigure dev, re-setup the Rx/Tx queues.
Signed-off-by: Zhe Tao
---
doc/guides/rel_notes/release_16_07.rst | 4 ++
drivers/net/i40e/i40e_ethdev.h | 4 ++
Implement the device reset function.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 2 +-
drivers/net/e1000/igb_ethdev.c | 59 ++
2 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_16_07
Implement the device reset function.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 9 +
drivers/net/ixgbe/ixgbe_ethdev.c | 64 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 2 +-
drivers/net/ixgbe/ixgbe_rxtx.c | 12
ice, then reset the
device, then recover the device and rx/tx.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_ethdev.c | 17 +
lib/librte_ether/rte_ethdev.h | 14 ++
lib/librte_ether/rte_ether_version.map | 7 +++
3 files changed, 38 inserti
recovery on ixgbe/igb VF*, and it's base on the
patch set *support mailbox interruption on ixgbe/igb VF*.
Wenzhuo Lu (3):
lib/librte_ether: support device reset
ixgbe: implement device reset on VF
igb: implement device reset on VF
Zhe Tao (1):
i40e: implement device reset on VF
v1:
- Added
Add a new example to show when the PF is down and up,
VF port can be reset and recover.
Signed-off-by: Wenzhuo Lu
---
MAINTAINERS | 4 +
doc/guides/sample_app_ug/link_reset.rst | 177
examples/link_reset/Makefile| 50 +++
examples/link_reset
Add a new example to show how to handle the reset event
on VF when PF link down/up.
PS: This patch set is base on the patch set *support reset
of VF link*.
Wenzhuo Lu (1):
examples: add a new example for link reset
MAINTAINERS | 4 +
doc/guides/sample_app_ug
Implement the device reset function.
1, Add the fake RX/TX functions.
2, The reset function tries to stop RX/TX by replacing
the RX/TX functions with the fake ones and getting the
locks to make sure the regular RX/TX finished.
3, After the RX/TX stopped, reset the VF port, and then
Add RX/TX paths with lock for VF. It's used when
the function of link reset on VF is needed.
When the lock for RX/TX is added, the RX/TX can be
stopped. Then we have a chance to reset the VF link.
Please be aware there's performence drop if the lock
path is chosen.
Signed-off-by: Zhe Tao
---
, and then
release the locks and restore the RX/TX functions.
BTW: The definition of some structures are moved from .c
file to .h file.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 2 +-
drivers/net/e1000/e1000_ethdev.h | 116 ++
drivers/net/e1000
Add RX/TX paths with lock for VF. It's used when
the function of link reset on VF is needed.
When the lock for RX/TX is added, the RX/TX can be
stopped. Then we have a chance to reset the VF link.
Please be aware there's performence drop if the lock
path is chosen.
Signed-off-by: Wenzhuo Lu
, and then
release the locks and restore the RX/TX functions.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_16_07.rst | 9 +++
drivers/net/ixgbe/ixgbe_ethdev.c | 108 -
drivers/net/ixgbe/ixgbe_ethdev.h | 12 +++-
drivers/net/ixgbe/ixgbe_rxtx.c
Add RX/TX paths with lock for VF. It's used when
the function of link reset on VF is needed.
When the lock for RX/TX is added, the RX/TX can be
stopped. Then we have a chance to reset the VF link.
Please be aware there's performence drop if the lock
path is chosen.
Signed-off-by: Wenzhuo Lu
-by: Wenzhuo Lu
Signed-off-by: Zhe Tao
---
lib/librte_ether/rte_ethdev.h | 62 +++
1 file changed, 62 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 74e895f..4efb5e9 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b
Add an API to reset the device.
It's for VF device in this scenario, kernel PF + DPDK VF.
When the PF port down/up, APP should call this API to
reset VF port. Most likely, APP should call it in its
management thread and guarantee the thread safe.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether
change.
This patch enables the support of the mailbox interruption,
so VF can receive the message of link up/down.
After VF receives this message, VF port need to be reset to
recover. So the handler of this message registers a reset
callback to let APP reset the VF port.
Signed-off-by: Wenz
change.
This patch enables the support of the mailbox interruption,
so VF can receive the message of link up/down.
After VF receives this message, VF port need to be reset to
recover. So the handler of this message registers a reset
callback to let APP reset the VF port.
Signed-off-by: Wenz
log and add more details.
- Rebase the patches on the latest code.
Wenzhuo Lu (2):
ixgbe: VF supports mailbox interruption for PF link up/down
igb: VF supports mailbox interruption for PF link up/down
doc/guides/rel_notes/release_16_07.rst | 6 ++
drivers/net/e1000/igb_ethdev.c
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/
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
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 +++
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/
, 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
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/
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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.
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 461 matches
Mail list logo