VF NICs' behavior change without being noticed.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 23 +++
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
drivers/net/ixgbe/ixgbe_rxtx.c | 18 +++---
3 files changed, 40 insertions(+), 3 deletions(-)
diff
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_2.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 5687676..d9d2a3d 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
to support per bit mask in future.
Set default VxLAN port only when the NIC support VxLAN.
Make the condition more strict when check the fdir mode for avoiding the code
being broken with future expansion.
Make mac mask more flexible.
Add a new function for MAC VLAN and tunnel mask.
Wenzhuo Lu (7
Define the new modes and modify the filter and mask structures for
the mac vlan and tunnel modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 69 ++---
1 file changed, 51 insertions(+), 18 deletions(-)
diff --git a/lib/librte_ether
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
tunnel modes. So, we output different thing for different mode.
Signed-off-by: Wenzhuo Lu
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-tunnel.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test
.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 293 ++---
1 file changed, 278 insertions(+), 15 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 0f8f48f..ac44ab0 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index bc9b00f..9d0a4d7 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
This patch will drop flow control frames from being transmitted
from VSIs.
With this patch in place a malicious VF cannot send flow control
or PFC packets out on the wire.
V2:
Reword the comments.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_pf.c | 43
the enum rte_fdir_mode to resolve a compile issue. But after all
this code change, there's no such issue. Move the enum back to its original
place.
Wenzhuo Lu (7):
lib/librte_ether: modify the structures for fdir new modes
app/testpmd: initialize the new fields for fdir mask
app/testpmd: new
Define the new modes and modify the filter and mask structures for
the mac vlan and tunnel modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 51 +
1 file changed, 42 insertions(+), 9 deletions(-)
diff --git a/lib/librte_ether
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-tunnel.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
tunnel modes. So, we output different thing for different mode.
Signed-off-by: Wenzhuo Lu
.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 293 ++---
1 file changed, 278 insertions(+), 15 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 0f8f48f..ac44ab0 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd
Implement the new CLIs for fdir mac vlan and tunnel modes, including
flow_director_filter and flow_director_mask. Set the mask of fdir.
Add, delete or update the entities of filter.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_fdir.c | 261
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_2.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index bc9b00f..9d0a4d7 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
an ethertype_filter entity without using it.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_pf.c | 47
1 file changed, 47 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c
index fd1c4ca..1627030 100644
an ethertype_filter entity without using it.
V4:
Remove the useless braces and return.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_pf.c | 44
1 file changed, 44 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe
Define the new modes and modify the filter and mask structures for
the mac vlan and tunnel modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-tunnel.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
tunnel modes. So, we output different thing for different mode.
Signed-off-by: Wenzhuo Lu
the enum rte_fdir_mode to resolve a compile issue. But after all
this code change, there's no such issue. Move the enum back to its original
place.
V5:
Remove some blank spaces.
Adjust the value of RTE_FDIR_TUNNEL_TYPE_UNKNOWN to 0.
Wenzhuo Lu (7):
lib/librte_ether: modify the structures
.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 294 ++---
1 file changed, 279 insertions(+), 15 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 0f8f48f..b3c36f3 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd
When setting TSO on VF ixgbe NICs, for example, 82599, x550, the
prompt that TSO is not supported will be printed. But TSO is
supported by VF ixgbe NICs.
We should add TSO to the capability flag, so, we will not see the
wrong prompt.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe
.
Now, only x550 supports these 2 modes. We should not use the new mode on
other NICs. If so, the ports will not be initialized successfully.
Wenzhuo Lu (6):
lib/librte_ether: modify the structures for fdir new modes
app/testpmd: initialize the new fields for fdir mask
app/testpmd: new fdir
Define the new modes and modify the filter and mask
structure for the mac vlan and cloud modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 68 ++---
1 file changed, 50 insertions(+), 18 deletions(-)
diff --git a/lib/librte_ether
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-cloud.
The mac vlan and cloud modes can only be used in perfect match mode.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
cloud modes. So, we output different info for different mode.
Signed-off-by: Wenzhuo Lu
.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 293 ++---
1 file changed, 278 insertions(+), 15 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 0f8f48f..7fbd83b 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd
Implement the new CLIs for fdir mac vlan and cloud modes, including
flow_director_filter and flow_director_mask. Set the mask of fdir.
Add, delete or update the entities of filter.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_fdir.c | 241
This patch set implements the RSS enhancement on x550.
The enhancement includes, the PF RSS redirection table is enlarged
from 128 entries to 512 entries, the VF doesn't share the same
registers with PF and per VF RSS redirection table is provided.
Wenzhuo Lu (4):
ixgbe: 512 entries RSS table
.
This patch configs the entries beyond 128 on x550 to let RSS work well, and also
update the query and update functions to support 512 entries.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 106 ++-
drivers/net/ixgbe/ixgbe_rxtx.c | 18
-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_rxtx.c | 111 +++--
1 file changed, 108 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c
index a746ae7..4a2d24a 100644
--- a/drivers/net/ixgbe/ixgbe_rxtx.c
+++ b/drivers
' behavior change without being noticed.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +
drivers/net/ixgbe/ixgbe_ethdev.h | 6 +++
drivers/net/ixgbe/ixgbe_rxtx.c | 95
3 files changed, 103 insertions(+)
diff --git a/drivers/net/ixgbe
and other VF NICs'
behavior change without being noticed.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 103 +++
1 file changed, 103 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 5e50ee6
masked.
Now, only x550 supports these 2 modes. We should not use the new mode on
other NICs. If so, the ports will not be initialized successfully.
V2:
Change the word 'cloud' to 'tunnel'
change 'tni_vni' to 'tunnel_id'
Wenzhuo Lu (6):
lib/librte_ether: modify the structures for fdir new modes
app
Define the new modes and modify the filter and mask structures for
the mac vlan and tunnel modes.
Signed-off-by: Wenzhuo Lu
---
lib/librte_ether/rte_eth_ctrl.h | 69 ++---
1 file changed, 51 insertions(+), 18 deletions(-)
diff --git a/lib/librte_ether
When a port is enabled, there're default values for the parameters of
fdir mask. For the new parameters, the default values also need to be
set.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for
fdir new modes, perfect-mac-vlan, perfect-tunnel.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/parameters.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test
There're fdir mask and supported flow type in the output of the CLI,
show port fdir. But not every parameter has meaning for all the fdir
modes, and the supported flow type is meaningless for mac vlan and
tunnel modes. So, we output different thing for different mode.
Signed-off-by: Wenzhuo Lu
.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 293 ++---
1 file changed, 278 insertions(+), 15 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 0f8f48f..864b479 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_2.rst | 110 +++
1 file changed, 110 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index cf510e9..dc03905 100644
--- a/doc/guides/rel_notes
After implementing the fdir new modes for x550, the CLIs are modified.
Forgot to update the related help info and doc.
Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands")
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 35 +++
is not updated for the target of this patch is R2.3.
Send these patchs in case someone may hit related issues on new
platforms.
Wenzhuo Lu (17):
ixgbe/base: update README
ixgbe/base: avoid needless PHY access on copper phys
ixgbe/base: do not wait for signature rule addition
ixgbe/base
Avoid a needless PHY access on copper phys to save the 10ms wait
time for each PHY access. A helper function is introduced to
actually do the register access and process the contents.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_phy.c | 72
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/base/README b/drivers/net/ixgbe/base/README
index cec48a6..5d66f86 100644
--- a/drivers/net/ixgbe/base/README
+++ b/drivers/net/ixgbe/base/README
the return of the function to void, since it has
no meaningful return value.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_82599.c | 19 ++-
drivers/net/ixgbe/base/ixgbe_api.h | 8
2 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/drivers/net
This patch changes code to use registers offsets stored in mvals table
instead of values defined statically.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_82599.c | 4 +--
drivers/net/ixgbe/base/ixgbe_common.c | 58 +--
drivers/net/ixgbe/base
Adds a new Sage Pond device X550T1.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_api.c| 1 +
drivers/net/ixgbe/base/ixgbe_common.c | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--
4 files changed, 5 insertions(+), 2 deletions
The KX4 PHY will be configured by the NVM image. The driver
had been overwriting this config.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_phy.c | 2 +-
drivers/net/ixgbe/base/ixgbe_type.h | 11 ---
drivers/net/ixgbe/base/ixgbe_x550.c | 39
This patch adds the flow control ethertype to the defines for the
ETQF filter list. This only adds the define. Each driver
can add this ethertype to the filter. This is needed to prevent
denial of service by malicious VFs sending out flow control
packets.
Signed-off-by: Wenzhuo Lu
---
drivers
This patch should allow native SPI SFP+ to work as we understand it now.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_x550.c | 86 ++---
1 file changed, 52 insertions(+), 34 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers
.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_x550.c | 79 +++--
1 file changed, 40 insertions(+), 39 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index 6b27234..4ca7998 100644
--- a/drivers
This patch addes some new defines for FW, and includes some minor change.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_common.c | 5 +
drivers/net/ixgbe/base/ixgbe_phy.c| 4 +---
drivers/net/ixgbe/base/ixgbe_type.h | 39 +++
drivers/net
If use DPDK PF + DPDK VF on igb NICs, we find the MAC address of VF
port is always 0. Because we forget to give it a value if this MAC
address is not assigned by PF. This patch'll assign a random MAC
address to igb VF port as ixgbe does.
Signed-off-by: Wenzhuo Lu
---
drivers/net/e1000
In SR-IOV mode a VF sending LFC or PFC would throttle the
entire port.
The workaround is to add a filter to drop pause frames from
VFs from sending pause frames.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_pf.c | 43 +++
1 file changed, 43
-by: Wenzhuo Lu
Acked-by: Shaopeng He
---
doc/guides/rel_notes/release_16_04.rst | 8 +++
drivers/net/ixgbe/ixgbe_ethdev.c | 38 ++
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
3 files changed, 47 insertions(+)
diff --git a/doc/guides/rel_notes/release_16_04.rst
Announce that Malicious Driver Detection is not supported.
V2:
*Rework the words.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/ixgbe.rst | 20
doc/guides/rel_notes/release_16_04.rst | 23 +++
2 files changed, 43 insertions(+)
diff --git
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.
V4:
* Fix the issue that not setting the MAC length correctly.
Wenzhuo Lu (5):
lib/librte_ether: change function name o
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
promiscuous mode. If use dpdk PF + dpdk VF,
better make sure PF driver is the same version as VF.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 4 +++
drivers/net/ixgbe/ixgbe_ethdev.c | 66 ++
drivers/net/ixgbe/ixgbe_pf.c | 65
This patch set add the VxLAN & NVGRE checksum off-load support.
Both RX and TX checksum off-load can be used for VxLAN & NVGRE.
And the VxLAN port can be set, it's implemented in this patch
set either.
Wenzhuo Lu (4):
ixgbe: support UDP tunnel add/del
ixgbe: support VxLAN & NVGRE
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_rxtx.c | 11 ++-
lib/librte_mbuf/rte_mbuf.c | 1 +
lib/librte_mbuf/rte_mbuf.h | 1 +
3 files changed
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.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_rxtx.c | 52 ++
dri
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_3.rst | 9 +
1 file changed, 9 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b/doc/guides/rel_notes/release_2_3.rst
index 99de186..8a8f878 100644
--- a/doc/guides/rel_notes/release_2_3.rst
+++ b/doc/guides
VxLAN off-load.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 93
1 file changed, 93 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 4c4c6df..381cbad 100644
--- a/drivers/net/ixgbe
This patch set add the VxLAN & NVGRE checksum off-load support.
Both RX and TX checksum off-load can be used for VxLAN & NVGRE.
And the VxLAN port can be set, it's implemented in this patch
set either.
Wenzhuo Lu (6):
lib/librte_ether: change function name of tunnel port config
i40e
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_rxtx.c | 11 ++-
lib/librte_mbuf/rte_mbuf.c | 1 +
lib/librte_mbuf/rte_mbuf.h | 1 +
3 files changed
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
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.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_rxtx.c | 52 ++
dri
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_3.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b/doc/guides/rel_notes/release_2_3.rst
index 99de186..5dce7fb 100644
--- a/doc/guides/rel_notes/release_2_3.rst
+++ b/doc/guides
speed-setting
*use link instead of I2C combined abstraction
Wenzhuo Lu (12):
ixgbe/base: update readme
ixgbe/base: add new devices and mac type
ixgeb/base: use PHY token for X550EM_a
ixgbe/base: set VF mac address only when acked by PF
ixgbe/base: always turn PHY power on when requested
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
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
---
drivers/net/ixgbe/base/ixgbe_82599.c | 4 +-
drivers/net/ixgbe/base/ixgbe_api.c| 23 +
drivers/net/ixgbe/base/ixgbe_common.c
Use the PHY token for PHY access on X550EM_a.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_x550.c | 114
drivers/net/ixgbe/base/ixgbe_x550.h | 2 +
2 files changed, 116 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b
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.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_vf.c | 4 +++-
1 file changed, 3
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
to map
out which reads need to wait for which writes. So we should wait
when anything is marked as "busy".
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b/drivers/net/ixgbe/base/ix
behavior.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_82599.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c
b/drivers/net/ixgbe/base/ixgbe_82599.c
index 85114e9..154c1f1 100644
--- a/drivers/net/ixgbe/base/ixgbe_82599.c
+++ b/drivers/net
than one place, make a
function for it so it will always be done correctly.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_x550.c | 35 ---
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net
Add the support for new devices and mac types.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_bypass_api.h| 1 +
drivers/net/ixgbe/ixgbe_ethdev.c| 12 ++--
drivers/net/ixgbe/ixgbe_fdir.c | 10 +++---
drivers/net/ixgbe/ixgbe_pf.c
Only x550em_x V1 was supported before. Now V2 is supported.
A mask for V1 and V2 is defined and used to support both.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
drivers/net/ixgbe/base/ixgbe_x550.c | 19 +++
2 files changed, 12 insertions(+), 9
Update the release note.
Also include the update for the last time of the ixgbe base
code update.
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_3.rst | 54
1 file changed, 54 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b
ons involved in combined I2C accesses were moved from
ixgbe_phy.c to ixgbe_x550.c. The underlying functions that carry
out the combined I2C accesses were left in ixgbe_phy.c because
they share some functions with other I2C methods.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/base/ixgbe
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 (8):
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
.
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 | 259 +
1 file changed, 259 insertions(+)
diff --git a/app/test-pmd
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
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_3.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b/doc/guides/rel_notes/release_2_3.rst
index 99de186..16bd80b 100644
--- a/doc/guides/rel_notes/release_2_3.rst
+++ b/doc/guides
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 | 178
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.
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe
e's another way, disabling MDD in PF kernel driver.
Like this,
>insmod ixgbe.ko MDD=0,0
Signed-off-by: Wenzhuo Lu
---
doc/guides/rel_notes/release_2_3.rst | 12
drivers/net/ixgbe/ixgbe_rxtx.c | 16 ++--
drivers/net/ixgbe/ixgbe_rxtx.h | 3 ++-
lib/librte_ethe
201 - 300 of 461 matches
Mail list logo