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
*.
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
Remove this parameter from the CLI.
Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands")
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c
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.
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
: 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
---
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
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 +
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
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
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-
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
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
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 +
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
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
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
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
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 +
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
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
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 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 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 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
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 |
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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 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 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
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
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
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
301 - 400 of 461 matches
Mail list logo