: app/test/sample_packet_forward.c
F: app/test/sample_packet_forward.h
Networking drivers testing tool
-M: Xiaoyun Li
M: Aman Singh
M: Yuying Zhang
T: git://dpdk.org/next/dpdk-next-net
--
2.25.1
XDP socket into copy mode.
Signed-off-by: Xiaoyun Li
---
doc/guides/nics/af_xdp.rst | 2 ++
drivers/net/af_xdp/rte_eth_af_xdp.c | 25 -
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst
i
ocket into copy mode.
Signed-off-by: Xiaoyun Li
---
v2:
* Change name from no_zerocopy to force_copy.
---
doc/guides/nics/af_xdp.rst | 2 ++
drivers/net/af_xdp/rte_eth_af_xdp.c | 25 -
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/doc/guides/ni
Added functions to calculate UDP/TCP checksum for packets which may be
over multi-segments and called the functions in testpmd csum forwarding
mode to support UDP/TCP sotfware checksum over multi-segments.
Xiaoyun Li (2):
net: add functions to calculate UDP/TCP cksum in mbuf
app/testpmd
Csum forwarding mode only supports software UDP/TCP csum calculation
for single segment packets when hardware offload is not enabled.
This patch enables software UDP/TCP csum calculation over multiple
segments.
Signed-off-by: Xiaoyun Li
Tested-by: Sunil Pai G
---
app/test-pmd/csumonly.c
Add functions to call rte_raw_cksum_mbuf() to calculate IPv4/6
UDP/TCP checksum in mbuf which can be over multi-segments.
Signed-off-by: Xiaoyun Li
Acked-by: Aman Singh
Acked-by: Ferruh Yigit
Tested-by: Sunil Pai G
---
doc/guides/rel_notes/release_22_03.rst | 11 ++
lib/net/rte_ip.h
("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
app/test-pmd/csumonly.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c
index 090797318a..5df3be0a6f 100644
---
("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v2:
* Use static stack memory instead of dynamic allocating in datapath.
---
app/test-pmd/csumonly.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/app/test-pmd/csumon
("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v3:
* Use rte_raw_cksum() for multi-segs case instead of copying the whole
* packet.
v2:
* Use static stack memory instead of dynamic allocating in datapath
---
app/test-pmd/csumo
("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v3:
* Use rte_raw_cksum() for multi-segs case instead of copying the whole
* packet.
v2:
* Use static stack memory instead of dynamic allocating in datapath
---
app/test-pmd/csumo
Function check_tx_thresh is called with wrong parameter. If the
check fails, tx_queue_setup should return error not keep going.
iThis patch fixes above issues.
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
driver
Added functions to calculate UDP/TCP checksum for packets which may be
over multi-segments and fix the checksum issue with testpmd csum
forwarding mode.
Xiaoyun Li (2):
net: add functions to calculate UDP/TCP cksum in mbuf
testpmd: fix l4 sw csum over multi segments
---
v4:
* Called
Add functions to call rte_raw_cksum_mbuf() to calculate IPv4/6
UDP/TCP checksum in mbuf which can be over multi-segments.
Signed-off-by: Xiaoyun Li
---
doc/guides/rel_notes/release_22_03.rst | 10 ++
lib/net/rte_ip.h | 186 +
lib/net/version.map
In csum forwarding mode, software UDP/TCP csum calculation only takes
the first segment into account while using the whole packet length so
the calculation will read invalid memory region with multi-segments
packets and will get wrong value.
This patch fixes this issue.
Signed-off-by: Xiaoyun Li
Added functions to calculate UDP/TCP checksum for packets which may be
over multi-segments and fix the checksum issue with testpmd csum
forwarding mode.
Xiaoyun Li (2):
net: add functions to calculate UDP/TCP cksum in mbuf
testpmd: fix l4 sw csum over multi segments
---
v5:
* Fixed commit
Add functions to call rte_raw_cksum_mbuf() to calculate IPv4/6
UDP/TCP checksum in mbuf which can be over multi-segments.
Signed-off-by: Xiaoyun Li
Acked-by: Aman Singh
Tested-by: Sunil Pai G
---
doc/guides/rel_notes/release_22_03.rst | 11 ++
lib/net/rte_ip.h | 186
In csum forwarding mode, software UDP/TCP csum calculation only takes
the first segment into account while using the whole packet length so
the calculation will read invalid memory region with multi-segments
packets and will get wrong value.
This patch fixes this issue.
Signed-off-by: Xiaoyun Li
The new VIRTCHNL_VF_OFFLOAD_VLAN_V2 capability allows PF to set the
location of TX VLAN insertion.
So VF needs to insert VLAN tag according to the location flags.
Fixes: 1c301e8c3cff ("net/iavf: support new VLAN capabilities")
Signed-off-by: Xiaoyun Li
---
drivers/net/iavf/iavf_r
d: VXLAN packet identification")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
app/test-pmd/cmdline.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 59722d268b..d77958b783 100644
--- a/app/test-pm
1:
Rule 1: mask=0x3fff, spec=0
Only fragment packets can hit rule 2:
Rule 2: mask=0x3fff, spec=0x8, last=0x2000
This patch allows the above rules.
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
driver
1:
Rule 1: mask=0x3fff, spec=0
Only fragment packets can hit rule 2:
Rule 2: mask=0x3fff, spec=0x8, last=0x2000
This patch allows the above rules.
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v2:
* Fixed a typ
Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API
that was introduced in 18.11 and have been around for 11 releases.
Signed-off-by: Xiaoyun Li
---
lib/ethdev/rte_ethdev.h | 4
lib/ethdev/version.map | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a
1.3.0 and the original code is in
https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/tree/v1.3.0
Xiaoyun Li (10):
net/gve: introduce GVE PMD base code
net/gve: add logs and OS specific implementation
net/gve: support device initialization
net/gve: add link update support
/google/gve
Signed-off-by: Xiaoyun Li
Signed-off-by: Haiyue Wang
---
drivers/net/gve/gve_adminq.c | 925 +
drivers/net/gve/gve_adminq.h | 381 ++
drivers/net/gve/gve_desc.h | 137 +
drivers/net/gve/gve_desc_dqo.h | 254 +
drivers/net
Add GVE PMD logs.
Add some MACRO definitions and memory operations which are specific
for DPDK.
Signed-off-by: Haiyue Wang
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve_adminq.h | 2 +
drivers/net/gve/gve_desc.h | 2 +
drivers/net/gve/gve_desc_dqo.h | 2 +
drivers/net/gve
Support device init and the fowllowing devops:
- dev_configure
- dev_start
- dev_stop
- dev_close
Signed-off-by: Haiyue Wang
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve.h| 249 +++
drivers/net/gve/gve_adminq.c | 1 +
drivers/net/gve/gve_ethdev.c
Support dev_ops link_update.
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve_ethdev.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c
index f10f273f7d..435115c047 100644
--- a/drivers/net/gve
Support dev_ops mtu_set.
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve_ethdev.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c
index 435115c047..26b45fde6f 100644
--- a/drivers/net/gve
Add support for queue operations:
- setup rx/tx queue
- release rx/tx queue
- start rx/tx queues
- stop rx/tx queues
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve.h| 52 +
drivers/net/gve/gve_ethdev.c | 203 +
drivers/net/gve/gve_rx.c
Add Rx/Tx of GQI_QPL queue format and GQI_RDA queue format.
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve.h| 17 ++
drivers/net/gve/gve_ethdev.c | 5 +
drivers/net/gve/gve_rx.c | 143 +++
drivers/net/gve/gve_tx.c | 452 +++
4 files
Add dev_ops dev_infos_get.
Complete dev_configure with RX offloads configuration.
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve.h| 3 ++
drivers/net/gve/gve_ethdev.c | 61
2 files changed, 64 insertions(+)
diff --git a/drivers/net/gve/gve.h b
Update stats add support of dev_ops stats_get/reset.
Signed-off-by: Xiaoyun Li
---
drivers/net/gve/gve.h| 10 ++
drivers/net/gve/gve_ethdev.c | 69
drivers/net/gve/gve_rx.c | 15 ++--
drivers/net/gve/gve_tx.c | 12 +++
4 files
Update documentation of GVE PMD and release note.
Add Junfeng Guo as GVE PMD maintainer since he'll work on GVE PMD
in the future and maintain it and I won't be available for maintaining.
Signed-off-by: Xiaoyun Li
---
MAINTAINERS| 6 +++
doc/guides/nic
offloading can be replaced with flow rules in
testpmd like Chapter "Sample VXLAN flow rules" in Testpmd Application
User Guide.
And this example hasn't been used for a long time.
So deprecate this example.
Signed-off-by: Xiaoyun Li
Acked-by: Thomas Monjalon
Acked-by: Andrew Rybchenko
A
This patch modifies PF notify error to warning when not
starting up VF.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_pf.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/driver
This patch modifies PF notify error to warning when not starting
up VF and modifies VF state to active when VF reset is completed.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v2 changes:
* add VF state modification when VF res
This patch stops PF from sending messages to inactive VF
and modifies VF state to active when VF reset is completed.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_pf.c | 29 ---
org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_pf.c | 28
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
index e64f849..100f8dc 100644
--- a/drivers/net/i40e/i40e_pf.c
+++ b/drivers/net
When starting the device, the RSS table is initialized. So the RSS
update before device_start would be overwitten. This patch allows users
to update the RSS reta table before device_start and adjusts the order
to set entries sequentially.
Signed-off-by: Xiaoyun Li
---
v2:
* Adds support to
Check the firmware status at init time. If the firmware is in
recovery mode, alert the user to check it.
Signed-off-by: Xiaoyun Li
---
v2:
* Rebase to the newest codes.
---
drivers/net/i40e/i40e_ethdev.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers
When starting the device, the RSS table is initialized. So the RSS
update before device_start would be overwritten. This patch allows users
to update the RSS reta table before device_start and adjusts the order
to set entries sequentially.
Signed-off-by: Xiaoyun Li
---
v3:
* Rename the variable
When starting the device, the RSS table is initialized. So the RSS
update before device_start would be overwritten. This patch allows users
to update the RSS reta table before device_start.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++
drivers/net/ixgbe
or PF")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 25 -
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index c1934d9..30cd1dd 100644
--- a/driver
ff-by: Xiaoyun Li
---
v3:
* Fixed fdir config doesn't automatically remove when last flow is
* destroyed.
v2:
* Added fdir teardown in i40e_flow_flush_fdir_filter.
* Replace TAILQ_FIRST with TAILQ_EMPTY which is more intuitive.
* Remove the workaround in flow_filtering example since the d
I40e driver needed users to config exact fdir mode to create rte_flow
rules but it shouldn't. This patch allows users to create rte_flow rules
without configuring fdir mode and let the driver config fdir automatically.
And remove the workaround in flow filtering example.
Signed-off-by: Xiaoy
I40e driver needed users to config exact fdir mode to create rte_flow
rules but it shouldn't. This patch allows users to create rte_flow rules
without configuring fdir mode and let the driver config fdir automatically.
And remove the workaround in flow filtering example.
Signed-off-by: Xiaoy
known issue.
Signed-off-by: Xiaoyun Li
---
v2:
* Correct the link of X550 spec update.
* Polish the known issue title.
---
doc/guides/nics/ixgbe.rst | 26 ++
1 file changed, 26 insertions(+)
diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst
index
known issue.
Signed-off-by: Xiaoyun Li
---
v3:
* Correct a misspelling.
v2:
* Correct the link of X550 spec update.
* Polish the known issue title.
---
doc/guides/nics/ixgbe.rst | 26 ++
1 file changed, 26 insertions(+)
diff --git a/doc/guides/nics/ixgbe.rst b/doc
known issue.
Signed-off-by: Xiaoyun Li
---
v4:
* Clarify that the vfio workaround only works when the intx is not shared
with other devices.
v3:
* Correct a misspelling.
v2:
* Correct the link of X550 spec update.
* Polish the known issue title.
---
doc/guides/nics/ixgbe.rst | 27
ation")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 58 ++
1 file changed, 36 insertions(+), 22 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 13c5d32..272a975 100644
--
: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 790ecc3..031eba0 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e
ned-off-by: Xiaoyun Li
---
app/test-pmd/testpmd.c | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 24c1998..0600806 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -12
ation")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v2:
* Strengthened the condition that no need to config the speed.
* Removed useless code.
---
drivers/net/i40e/i40e_ethdev.c | 67 ++
1 file changed, 41 insertions(+), 26 deletions(-)
diff --gi
ation")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
v2:
* Strengthened the condition that no need to config the speed.
* Removed useless code.
---
drivers/net/i40e/i40e_ethdev.c | 67 ++
1 file changed, 41 insertions(+), 26 deletions(-)
diff --gi
ned-off-by: Xiaoyun Li
---
v2:
* Update ports_ids when user attach or detach a port.
---
app/test-pmd/testpmd.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index dde7d43..e4f39be 100644
--- a/ap
There is about 3% perf drop. And it is because of a bitrate
calculation in the datapath. So improve it by maintaining an array
of port indexes in testpmd, which is updated with ethdev events.
Fixes: 8728ccf37615 ("fix ethdev ports enumeration")
Cc: sta...@dpdk.org
Signed-off-by:
Add suggested kernel driver and firmware version for i40e PMD.
Signed-off-by: Xiaoyun Li
---
doc/guides/nics/i40e.rst | 29 +
1 file changed, 29 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index d5b02c9..d377d92 100644
--- a/doc
Add suggested kernel driver and firmware version for i40e PMD.
Signed-off-by: Xiaoyun Li
---
doc/guides/nics/i40e.rst | 29 +
1 file changed, 29 insertions(+)
---
v2:
* Polish the title and section name
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics
Add suggested DPDK/kernel driver/firmware version matching list for i40e.
Signed-off-by: Xiaoyun Li
---
doc/guides/nics/i40e.rst | 29 +
1 file changed, 29 insertions(+)
---
v3:
Polish the title and commit log.
v2:
Polish the title and section name.
diff --git a
: 8863a1fbfc66 ("ethdev: add supported hash function check")
Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/
Add suggested DPDK/kernel driver/firmware version matching list for i40e.
Signed-off-by: Xiaoyun Li
Acked-by: Beilei Xing
---
doc/guides/nics/i40e.rst | 30 ++
1 file changed, 30 insertions(+)
---
v4:
* Add statement that the detail can refer to the release notes
There are several tx/rx offload capabilities missing in AVF.
Add them in this patch since AVF supports them.
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/avf/avf_ethdev.c | 18 --
1 file c
Right now, vector path is limited to only use on later platform due
to the frequency penalty. This patch adds a devarg enable-latest-vec
to allow the users to use the latest vector path that the platform
supported. Namely, using AVX2 vector path on broadwell is possible.
Signed-off-by: Xiaoyun Li
Right now, vector path is limited to only use on later platform due
to the frequency penalty. This patch adds a devarg enable-latest-vec
to allow the users to use the latest vector path that the platform
supported. Namely, using AVX2 vector path on broadwell is possible.
Signed-off-by: Xiaoyun Li
Right now, vector path is limited to only use on later platform.
This patch adds a devarg enable-latest-vec to allow the users to
use the latest vector path that the platform supported. Namely,
using AVX2 vector path on broadwell is possible.
Signed-off-by: Xiaoyun Li
---
v3:
* Polish the doc
Check the firmware status at init time. If the firmware is in
recovery mode, alert the user to check it.
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e
Check the firmware status at init time. If the firmware is in
recovery mode, alert the user to check it.
Signed-off-by: Xiaoyun Li
---
v1:
* This patch needs base code updating which will be done later.
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8
1 file changed, 8 insertions(+)
diff
Right now, vector path is limited to only use on later platform.
This patch adds a devarg use-latest-vec to allow the users to
use the latest vector path that the platform supported. Namely,
using AVX2 vector path on broadwell is possible.
Signed-off-by: Xiaoyun Li
---
v4:
* Polish the codes
Update the ixgbe base code to version cid-ixgbe.2018.08.28.tar.gz.
Xiaoyun Li (8):
net/ixgbe/base: update the license
net/ixgbe/base: cleanup codes
net/ixgbe/base: add FW recovery mode check
net/ixgbe/base: relpace an operation in X550 setup
net/ixgbe/base: update X550 SFP
Cleanup UNREFERENCED_1PARAMETER() macro because "hw" is used.
And remove Light Spring codes because the device was never
productised. And cleanup unused bypass codes.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_82599.c | 10 --
drivers/net/ixgbe/base/ixgbe_api
Update the GPL and BSD license headers to use the SPDX License
Identifier instead.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_82598.c | 35 ++-
drivers/net/ixgbe/base/ixgbe_82598.h | 35 ++-
drivers/net/ixgbe/base/ixgbe_82599.c
Use ixgbe_identify_sfp_module_X550em to update SFP identification
flow. ixgbe_identify_sfp_module_X550em includes specific checks for
X550 about supported SFP modules.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Since the base code is updated to remove the Light Spring device
due to the device was never productised. So also remove it in ethdev.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/ixgbe_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net
Replace "=" operation with "|=" operation to only set the intended
register bits.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixg
Add FM NVM recovery mode check. Allow the software to detect this.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_api.c | 12
drivers/net/ixgbe/base/ixgbe_api.h | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 4
drivers/net/ixgbe/base/ixgbe_x550.c | 16
Add support for DCB registers dump.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_type.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b/drivers/net/ixgbe/base/ixgbe_type.h
index ea34bb979..cee6ba2e0 100644
--- a/drivers/net/ixgbe
Update README file to specify the version of CID drop.
Signed-off-by: Xiaoyun Li
---
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 70fdfe7c8..431be0260 100644
--- a
Right now, vector path is limited to only use on later platform.
This patch adds a devarg use-latest-vec to allow the users to
use the latest vector path that the platform supported. Namely,
using AVX2 vector path on broadwell is possible.
Signed-off-by: Xiaoyun Li
---
v5:
* Simpify the rx set
Update the ixgbe base code to version cid-ixgbe.2018.08.28.tar.gz.
Xiaoyun Li (7):
net/ixgbe/base: update the license
net/ixgbe/base: cleanup codes
net/ixgbe/base: add FW recovery mode check
net/ixgbe/base: relpace an operation in X550 setup
net/ixgbe/base: update X550 SFP
Cleanup UNREFERENCED_1PARAMETER() macro because "hw" is used.
And remove Light Spring codes because the device was never
productised. And cleanup unused bypass codes.
Signed-off-by: Xiaoyun Li
---
v2:
* Merge base code change and ethdev fix into 1 patch to avoid in
* between b
Update the GPL and BSD license headers to use the SPDX License
Identifier instead.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_82598.c | 35 ++-
drivers/net/ixgbe/base/ixgbe_82598.h | 35 ++-
drivers/net/ixgbe/base/ixgbe_82599.c
Replace "=" operation with "|=" operation to only set the intended
register bits.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixg
Add support for DCB registers dump.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_type.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b/drivers/net/ixgbe/base/ixgbe_type.h
index ea34bb979..cee6ba2e0 100644
--- a/drivers/net/ixgbe
Use ixgbe_identify_sfp_module_X550em to update SFP identification
flow. ixgbe_identify_sfp_module_X550em includes specific checks for
X550 about supported SFP modules.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_x550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Add FM NVM recovery mode check. Allow the software to detect this.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/base/ixgbe_api.c | 12
drivers/net/ixgbe/base/ixgbe_api.h | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 4
drivers/net/ixgbe/base/ixgbe_x550.c | 16
Update README file to specify the version of CID drop.
Signed-off-by: Xiaoyun Li
---
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 70fdfe7c8..431be0260 100644
--- a
For IA, the AVX2 vector path is only recommended to be used on later
platforms (identified by AVX512 support, like SKL etc.) This is because
performance benchmark shows downgrade when running AVX2 vector path on
early platform (BDW/HSW) in some cases. But we still observe perf gain
with some real w
For IA, the AVX2 vector path is only recommended to be used on later
platforms (identified by AVX512 support, like SKL etc.) This is because
performance benchmark shows downgrade when running AVX2 vector path on
early platform (BDW/HSW) in some cases. But we still observe perf gain
with some real w
Check the firmware status at init time. If the firmware is in
recovery mode, alert the user to check it.
Signed-off-by: Xiaoyun Li
---
v2:
* The check should be after the shared code init. Fix it.
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8
1 file changed, 8 insertions(+)
diff --git a
known issue.
Signed-off-by: Xiaoyun Li
---
doc/guides/nics/ixgbe.rst | 26 ++
1 file changed, 26 insertions(+)
diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst
index 16d6390..4f89a6d 100644
--- a/doc/guides/nics/ixgbe.rst
+++ b/doc/guides/nics/ixgbe.rst
Since rte_intr_enable is called at init and start time. Remove it in
interrupt_action function to avoid too many system calls.
Xiaoyun Li (2):
net/ixgbe: remove unnecessary call of rte intr enable
net/i40e: remove unnecessary call of rte intr enable
drivers/net/i40e/i40e_ethdev.c | 1
Since rte_intr_enable is called at init and start time. Remove it in
interrupt_action function to avoid too many system calls.
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e
Since rte_intr_enable is called at init and start time. Remove it in
interrupt_action function to avoid too many system calls.
Signed-off-by: Xiaoyun Li
---
drivers/net/ixgbe/ixgbe_ethdev.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ixgbe
Some users want to use their own epoll instances to control both
DPDK rxq interrupt fds and their own other fds. So added a function
to get rxq interrupt fd based on port id and queue id.
Signed-off-by: Xiaoyun Li
---
lib/librte_ethdev/rte_ethdev.c | 37 ++
lib
I40e driver needed users to config exact fdir mode to create rte_flow
rules but it shouldn't. This patch allows users to create rte_flow rules
without configuring fdir mode and let the driver select the config
automatically.
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_flow.c
Some users want to use their own epoll instances to control both
DPDK rxq interrupt fds and their own other fds. So added a function
to get rxq interrupt fd based on port id and queue id.
Signed-off-by: Xiaoyun Li
---
v2:
* Added missing API doxygen comments.
* Set the new API to be
ff-by: Xiaoyun Li
---
v2:
* Added fdir teardown in i40e_flow_flush_fdir_filter.
* Replace TAILQ_FIRST with TAILQ_EMPTY which is more intuitive.
* Remove the workaround in flow_filtering example since the driver will
* set the fdir config automatically.
---
drivers/net/i40e/i40e_flow.c
Some users want to use their own epoll instances to control both
DPDK rxq interrupt fds and their own other fds. So added a function
to get rxq interrupt fd based on port id and queue id.
Signed-off-by: Xiaoyun Li
---
v3:
* Since the API only wants to return fd, return fd or -1.
v2:
* Added
When resetting ports, traffic will be blocked. There is a mistake when
getting hw info at avf_dev_stop. This causes the device stop without
stopping queues. This patch fixes this issue.
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: sta...@dpdk.org
Signed-off-by:
Check the firmware status at init time. If the status is abnormal,
alert the user to exit DPDK.
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_ethdev.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e
1 - 100 of 288 matches
Mail list logo