I will leave Intel soon and likely won't have dedicated time for
maintainership, so removing my name from all related maintainer roles.
Signed-off-by: Xiaolong Ye
---
MAINTAINERS | 5 -
1 file changed, 5 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 816696caf2..32da7
0 0
Signed-off-by: Xiaolong Ye
---
lib/librte_mbuf/rte_mbuf_dyn.c | 8
1 file changed, 8 insertions(+)
diff --git a/lib/librte_mbuf/rte_mbuf_dyn.c b/lib/librte_mbuf/rte_mbuf_dyn.c
index f071651acf..538a43f695 100644
--- a/lib/librte_mbuf/rte_mbuf_dyn.c
+++ b/lib/librte_mbuf/rte_mbuf_dy
each loop.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
lib/librte_mbuf/rte_mbuf_dyn.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lib/librte_mbuf/rte_mbuf_dyn.c b/lib/librte_mbuf
Set rte_errno as ENOMEM when allocation failure.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
lib/librte_mbuf/rte_mbuf_dyn.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/l
For each mbuf byte, free_space[i] == 0 means the space is occupied,
free_space[i] != 0 means space is free.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
lib/librte_mbuf/rte_mbuf_dyn.c | 2 +-
1 file changed, 1 inser
This series contains some small fixes and enhancement for mbuf's
dynamic field/flag feature.
Xiaolong Ye (5):
mbuf: fix out-of-bounds access at dyn field register
mbuf: fix missing errno for dyn field/flag registration
mbuf: fix free_space setting for dynamic field
mbuf: fix a dy
and layout of struct mbuf_dyn_shm may be changed in the future.
This patch adds boundary check explicitly to avoid potential risk of
out-of-bounds access.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
Acked-by: Olivier Mat
and layout of struct mbuf_dyn_shm may be changed in the future.
This patch adds boundary check explicitly to avoid potential risk of
out-of-bounds access.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
V3: update subje
and layout of struct mbuf_dyn_shm may be changed in the future.
This patch adds boundary check explicitly to avoid potential risk of
out-of-bounds access.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
V2: put the
and layout of struct mbuf_dyn_shm may be changed in the future.
This patch adds boundary check explicitly to avoid potential risk of
out-of-bounds access.
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
lib/librte_mbuf/rt
Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
app/test/test_mbuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 71bdab691..06e44f0a7 100644
---
sta...@dpdk.org
Signed-off-by: Xiaolong Ye
Acked-by: Olivier Matz
---
V2: update subject as Olivier suggested.
lib/librte_mbuf/rte_mbuf_dyn.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_mbuf/rte_mbuf_dyn.c b/lib/librte_mbuf/rte_mbuf_dyn.c
index d6931f847..953e3ec31 1
sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
I found this issue when reading the mbuf dynfiled/dynflag feature code,
mbuf_autotest is passed with this change, though I may miss something or
this filed has some special design purpose, please correct me if I am
wrong.
lib/librte_mbuf/rte_mbuf_
Update the description and limitation about ice PMD according to the
product release strategy.
Signed-off-by: Xiaolong Ye
Acked-by: Qiming Yang
---
doc/guides/nics/ice.rst | 29 +
1 file changed, 5 insertions(+), 24 deletions(-)
diff --git a/doc/guides/nics/ice.rst
Update the description and limitation about ice PMD according to the
product release strategy.
Signed-off-by: Xiaolong Ye
---
doc/guides/nics/ice.rst | 29 +
1 file changed, 5 insertions(+), 24 deletions(-)
diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics
Now this feature is no longer supported by kernel side, (i40e kernel
driver doesn't support it from v2.3.2 and ixgbe kernel driver isn't
guaranteed to support this feature as well in the future), so remove the
Intel PMD examples to avoid confusion.
Signed-off-by: Xiaolong Ye
---
Now this feature is no longer supported by kernel side, so remove the
intel PMD examples to avoid confusion.
Signed-off-by: Xiaolong Ye
---
doc/guides/howto/flow_bifurcation.rst | 227 --
doc/guides/howto/img/ixgbe_bifu_queue_idx.svg | 101
2 files changed, 328
Now we need to add prefix like lib. to enable the log, also changing val 8 to
"debug"" which would be more descriptive.
Fixes: ffb9fd1b0808 ("log: update legacy modules dynamic logs regex")
Cc: sta...@dpdk.org
Reported-by: Haiyue Wang
Signed-off-by: Xiaolong Ye
Now we need to add prefix like lib. to enable the log.
Fixes: ffb9fd1b0808 ("log: update legacy modules dynamic logs regex")
Cc: sta...@dpdk.org
Reported-by: Haiyue Wang
Signed-off-by: Xiaolong Ye
---
doc/guides/linux_gsg/eal_args.include.rst | 2 +-
1 file changed, 1 insertion(+),
VHOST_FEATURES has been removed in previous refactor.
Fixes: 0917f9d1f059 ("vhost: use new APIs to handle features")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
lib/librte_vhost/vhost.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_vhost/vhost.h b/lib/li
Fix the comment that's incorrect as the code evolves.
Fixes: 9470427c88e1 ("net/virtio: do not store PCI device pointer at shared
memory")
Cc: sta...@dpdk.org
Signed-off-by: Xiaolong Ye
---
drivers/net/virtio/virtio_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 del
This series contains small fixes for virtio and vhost.
Xiaolong Ye (2):
net/virtio: fix for out of date comment
vhost: remove unused variable
drivers/net/virtio/virtio_ethdev.c | 6 +++---
lib/librte_vhost/vhost.h | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
--
2.17.1
("drivers/net: enable promiscuous and multicast by default")
Signed-off-by: Xiaolong Ye
---
drivers/net/vhost/rte_eth_vhost.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 458ed58f5..fcf317151 100644
--- a/d
There is an increase in number of issues related to supported cables and
modules, this link and note can help users identify or narrow down the
issues.
Signed-off-by: Xiaolong Ye
---
doc/guides/nics/i40e.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/nics
I volunteer to be co-maintainer for Vhost-user/Vhost PMD/Virtio PMD.
Signed-off-by: Xiaolong Ye
---
MAINTAINERS | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9c22c3eb4..8e5d18235 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -855,6 +855,7 @@ F: doc
This doc describes how to enable DPDK on Openwrt in both virtual and
physical x86 environment.
Signed-off-by: Xiaolong Ye
Acked-by: John McNamara
---
V6 changes:
1. addressed review comments raised by Thomas
V5 changes:
1. improve the doc's grammar and wording according to J
Since VF has no need of firmware, we can skip further adminq init which
involves firmware operation, this patch fixes the testpmd segfault issue
when starting with i40e VF.
Fixes: d5e1a149362e ("net/i40e/base: check MAC type")
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40
This doc describes how to enable DPDK on Openwrt in both virtual and
physical x86 environment.
Signed-off-by: Xiaolong Ye
---
V5 changes:
1. improve the doc's grammar and wording according to John's
suggestions.
V4 changes:
1. add release notes
V3 changes:
1. emphasize target
Add release notes for Intel ice/iavf/i40e PMDs.
Signed-off-by: Xiaolong Ye
---
doc/guides/rel_notes/release_20_02.rst | 28 ++
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/doc/guides/rel_notes/release_20_02.rst
b/doc/guides/rel_notes/release_20_02.rst
Move the conditional compilation block to the inner check helper, so we
can reduce the number of multiple ifdef check pairs used.
Signed-off-by: Xiaolong Ye
---
drivers/net/ice/ice_rxtx.c| 9 -
drivers/net/ice/ice_rxtx_vec_common.h | 8
2 files changed, 8 insertions
Aleksandr Loktionov
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_prototype.h | 4
drivers/net/i40e/base/virtchnl.h | 4
2 files changed, 8 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_prototype.h
b/drivers/net/i40e/base/i40e_prototype.h
index 0f06e3262..d8
Add X710T*L device specific operations (in port LED detection and
handling of GLGEN_GPIO_CTL.PIN_FUNC field) to enable LED blinking.
Signed-off-by: Damian Milosek
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 28 +---
drivers/net/i40e/base
The result of the check is always FALSE and the code within "if"
is never executed.
Signed-off-by: Dzmitry Sautsa
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net
ff-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_dcb.h | 3 +--
drivers/net/i40e/base/virtchnl.h | 12 ++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_dcb.h b/drivers/net/i40e/base/i40e_dcb.h
index 520c7db73..60193c98d 100644
--- a/drivers/net
: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 56 ++
drivers/net/i40e/base/i40e_prototype.h | 3 ++
drivers/net/i40e/base/i40e_type.h | 2 +
3 files changed, 61 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
Fix display of FEC settings for ethtool.
This patch change variable 'phy.link_info.req_fec_info' sent to ethtool.
Without this patch wrong FEC settings can be shown.
Fixes: 1216fb9f0c8c ("net/i40e/base: store the requested FEC information")
Signed-off-by: Jaroslaw Gawin
Sig
Add defines for creating Flow Director flows as defined in datasheet
section 7.1.5.4 for field vectors.
Signed-off-by: Doug Dziggel
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.h | 81 +++
1 file changed, 81 insertions(+)
diff --git a/drivers/net
Introduce offsets of firmware registers holding a number of EMP resets.
Implement offsets as a preprocessor's constants.
Required by drivers to read a number of EMP resets reported by FW.
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.
The X722 FW API version 1.9 adds support for accessing PHY
registers with Admin Queue Command. This enables reading
EEPROM data from (Q)SFP+ transceivers, what was previously
possible only on X710 devices.
Signed-off-by: Adam Ludkiewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
The previous code had the LED code wrapped such that, it was
static to the file and not usable outside of it. It is now available.
Signed-off-by: Rusinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 8
drivers/net/i40e/base/i40e_prototype.h | 5 -
2
Update FW API version to 1.9.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
index
Make i40e_set_mac_type() public. i40e driver requires i40e_set_mac_type()
to be public. It is required for recovery mode handling. Without this patch
recovery mode could not be detected at probe() function.
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
This patch adds a function to read nvm module data and uses it to
read current lldp agent configuration from nvm api version 1.8.
Signed-off-by: Wnuczko Sylwia
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_dcb.c | 20 +++-
drivers/net/i40e/base/i40e_dcb.h | 5
those changes driver could show wrong state.
Signed-off-by: Adrian Podlawski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.h | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_register.h
b/drivers/net/i40e/base/i40e_register.h
ned-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 4 +++-
drivers/net/i40e/base/i40e_adminq_cmd.h | 29 +
drivers/net/i40e/base/i40e_common.c | 11 ++
drivers/net/i40e/base/i40e_prototype.h | 1 +
drivers/net/i40e/base/i40e_type.h | 1
Fixed a bug where driver was breaking out of the loop and
reporting an error without retrying first.
Fixes: 466eec7d6b1a ("net/i40e/base: retry AQC to overcome IRCRead hangs")
Signed-off-by: Marcin Formela
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_com
Mark bits 0xD through 0xF for the command flags of a cloud filter as
reserved. These bits are not yet defined and are considered as reserved
in the data sheet.
Signed-off-by: Jacob Keller
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 +++
1 file changed, 3
ponse).
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 29 --
drivers/net/i40e/base/i40e_common.c | 130
drivers/net/i40e/base/i40e_prototype.h | 10 ++
3 files changed, 163 insertions(+), 6 deletions(-)
-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_type.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index 8d257e00a..f0e4b667a 100644
--- a/drivers/net/i40e/base/i40e_type.h
+++ b/drivers/net/i40e
pe of the device
should also be checked instead of FW API version only.
Fixes: e8228f1a16b7 ("net/i40e/base: report supported link modes")
Signed-off-by: Martyna Szapar
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 delet
Currently FW use MDIO I/F number corresponded with current PF for PHY
access. This code allow to specify used MDIO I/F number.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 57 +++
drivers/net/i40e/base
Add a few new status codes and rename a few to make them more consistent.
Error code are mapped to similar values as in i40e_status.h, so as to be
compatible with older VF drivers not using this status enum.
Signed-off-by: Mitch Williams
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
The upstream virtchnl.h has a few minor style differences to what is
out-of-tree, and there is no real reason we should prefer the current
style over whats upstream.
Signed-off-by: Jacob Keller
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/virtchnl.h | 4 ++--
1 file changed, 2
When external PHY is used, MAC register may not reflect actual
state of LPI. Add function reading it directly from PHY or MAC,
depending on what is supported by the device.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
-off-by: Jaroslaw Ilgiewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 19 ++-
drivers/net/i40e/base/i40e_common.c | 173 ++--
drivers/net/i40e/base/i40e_prototype.h | 18 +--
drivers/net/i40e/base/i40e_type.h | 1 +
drivers/net/i40e
This change adds i40e_enable_eee() function controlling advertisement
of Energy Efficient Ethernet mode (EEE).
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 64 ++
drivers/net/i40e/base/i40e_prototype.h | 1
hat preceded an AQ dump have been
moved to I40E_DEBUG_AQ_COMMAND class, which seems more appropriate.
Signed-off-by: Doug Dziggel
Signed-off-by: Robert Konklewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 8
drivers/net/i40e/base/i40e_common.c |
method for checking if agent is enabled.
Current state of FW LLDP agent may be different if user disabled the
agent, so i40e_get_fw_lldp_status() uses LLDP MIB checking to determine
status of the agent.
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
Some features were introduced in different FW API version on XL710 and X722
MACs. Others are available only on specific MAC type. Make sure that they
are properly assigned. Also fix the style issues reported by current
check-patch.
Signed-off-by: Galazka Krzysztof
Signed-off-by: Xiaolong Ye
Adding bit flags to enable/disable EEE capability for 2.5GBase-T and
5GBase-T PHY types as well as 'Set autonomous EEE for relevant enabled PHY
types' flag.
Signed-off-by: Doug Dziggel
Signed-off-by: Michal Litwicki
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq
New device ids are created to support SFP+ and backplane connections.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 2 ++
drivers/net/i40e/base/i40e_devids.h | 2 ++
drivers/net/i40e/i40e_ethdev.c | 2 ++
3 files changed, 6 insertions
Extend NVM Update API to support reporting of features
available for the tools.
This change is needed by NVM Update to determine if driver
supports changing NVM layout from structured to flat.
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Galazka Krzysztof
Signed-off-by: Xiaolong Ye
missing SOBs
V2:
* strip some unnecessary code
* squash some fixes
* improve commit logs
Xiaolong Ye (36):
net/i40e/base: add support for feature flags
net/i40e/base: increase max VSI count for VFs
net/i40e/base: change buffer address
net/i40e/base: decouple cfg_lldp_mib_change from init_dcb
The high 32-bits were being set incorrectly in the 'Set Local LLDP MIB'
AQ command (0x0A08). Change it to use the right macro to get the correct
bits.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 2 +-
1 file changed, 1 inser
For historical reasons, we allowed 3 VSIs per VF, but never used more
than one. Now with ADq, we can use up to 4 VSIs per VF, so change this
value to match.
Signed-off-by: Mitch Williams
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_type.h | 2 +-
1 file changed, 1 insertion(+), 1
This patch changes an error code for an admin queue head overrun to use
I40E_ERR_ADMIN_QUEUE_FULL instead of I40E_ERR_QUEUE_EMPTY.
Signed-off-by: Carolyn Wyborny
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
There is a need to enable MIB change event, not at the same time as
init_dcb. This patch will serve this requirement.
Modify the i40e_init_dcb to return the correct error when LLDP or DCBX
is not in operational state.
Signed-off-by: Chinh T Cao
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e
The ice PMD supports 10/25/50/100 Gbps.
Signed-off-by: Xiaolong Ye
---
doc/guides/nics/ice.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst
index 9b90b389e..cde3fd620 100644
--- a/doc/guides/nics/ice.rst
+++ b/doc/guides
This doc describes how to enable DPDK on openwrt in both virtual and
physical x86 environment.
Signed-off-by: Xiaolong Ye
---
V4 changes:
1. add release notes
V3 changes:
1. emphasize target select in `OpenWrt configuration` section
V2 changes:
1. add meson build steps for dpdk
2. replace
Add X710T*L device specific operations (in port LED detection and
handling of GLGEN_GPIO_CTL.PIN_FUNC field) to enable LED blinking.
Signed-off-by: Damian Milosek
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 28 +---
drivers/net/i40e/base
: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 56 ++
drivers/net/i40e/base/i40e_prototype.h | 3 ++
drivers/net/i40e/base/i40e_type.h | 2 +
3 files changed, 61 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
This patch fixes 'NIC Link is Up, Unknown bps' message in dmesg
for 2.5Gb/5Gb speeds. This problem is fixed by adding constants
for VIRTCHNL_LINK_SPEED_2_5GB and VIRTCHNL_LINK_SPEED_5GB.
Signed-off-by: Aleksandr Loktionov
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_p
Introduce offsets of firmware registers holding a number of EMP resets.
Implement offsets as a preprocessor's constants.
Required by drivers to read a number of EMP resets reported by FW.
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.
The previous code had the LED code wrapped such that, it was
static to the file and not usable outside of it. It is now available.
Signed-off-by: Rusinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 8
drivers/net/i40e/base/i40e_prototype.h | 5 -
2
ff-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_dcb.h | 3 +--
drivers/net/i40e/base/virtchnl.h | 12 ++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_dcb.h b/drivers/net/i40e/base/i40e_dcb.h
index 520c7db73..60193c98d 100644
--- a/drivers/net
Make i40e_set_mac_type() public. i40e driver requires i40e_set_mac_type()
to be public. It is required for recovery mode handling. Without this patch
recovery mode could not be detected at probe() function.
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
The result of the check is always FALSE and the code within "if"
is never executed.
Signed-off-by: Dzmitry Sautsa
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net
Mark bits 0xD through 0xF for the command flags of a cloud filter as
reserved. These bits are not yet defined and are considered as reserved
in the data sheet.
Signed-off-by: Jacob Keller
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 +++
1 file changed, 3
Fix display of FEC settings for ethtool.
This patch change variable 'phy.link_info.req_fec_info' sent to ethtool.
Without this patch wrong FEC settings can be shown.
Signed-off-by: Jaroslaw Gawin
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 13 ++-
Add defines for creating Flow Director flows as defined in datasheet
section 7.1.5.4 for field vectors.
Signed-off-by: Doug Dziggel
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.h | 81 +++
1 file changed, 81 insertions(+)
diff --git a/drivers/net
The X722 FW API version 1.9 adds support for accessing PHY
registers with Admin Queue Command. This enables reading
EEPROM data from (Q)SFP+ transceivers, what was previously
possible only on X710 devices.
Signed-off-by: Adam Ludkiewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
Fixed a bug where driver was breaking out of the loop and
reporting an error without retrying first.
Signed-off-by: Marcin Formela
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers
This patch adds a function to read nvm module data and uses it to
read current lldp agent configuration from nvm api version 1.8.
Signed-off-by: Wnuczko Sylwia
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_dcb.c | 20 +++-
drivers/net/i40e/base/i40e_dcb.h | 5
ned-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 4 +++-
drivers/net/i40e/base/i40e_adminq_cmd.h | 29 +
drivers/net/i40e/base/i40e_common.c | 11 ++
drivers/net/i40e/base/i40e_prototype.h | 1 +
drivers/net/i40e/base/i40e_type.h | 1
Add a few new status codes and rename a few to make them more consistent.
Error code are mapped to similar values as in i40e_status.h, so as to be
compatible with older VF drivers not using this status enum.
Signed-off-by: Mitch Williams
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_type.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index 8d257e00a..f0e4b667a 100644
--- a/drivers/net/i40e/base/i40e_type.h
+++ b/drivers/net/i40e
Currently FW use MDIO I/F number corresponded with current PF for PHY
access. This code allow to specify used MDIO I/F number.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 57 +++
drivers/net/i40e/base
those changes driver could show wrong state.
Signed-off-by: Adrian Podlawski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_register.h | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_register.h
b/drivers/net/i40e/base/i40e_register.h
Update FW API version to 1.9.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
index
When external PHY is used, MAC register may not reflect actual
state of LPI. Add function reading it directly from PHY or MAC,
depending on what is supported by the device.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
pe of the device
should also be checked instead of FW API version only.
Signed-off-by: Martyna Szapar
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/b
hat preceded an AQ dump have been
moved to I40E_DEBUG_AQ_COMMAND class, which seems more appropriate.
Signed-off-by: Doug Dziggel
Signed-off-by: Robert Konklewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq.c | 8
drivers/net/i40e/base/i40e_common.c |
The upstream virtchnl.h has a few minor style differences to what is
out-of-tree, and there is no real reason we should prefer the current
style over whats upstream.
Signed-off-by: Jacob Keller
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/virtchnl.h | 4 ++--
1 file changed, 2
method for checking if agent is enabled.
Current state of FW LLDP agent may be different if user disabled the
agent, so i40e_get_fw_lldp_status() uses LLDP MIB checking to determine
status of the agent.
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base
ponse).
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 29 --
drivers/net/i40e/base/i40e_common.c | 130
drivers/net/i40e/base/i40e_prototype.h | 10 ++
3 files changed, 163 insertions(+), 6 deletions(-)
This change adds i40e_enable_eee() function controlling advertisement
of Energy Efficient Ethernet mode (EEE).
Signed-off-by: Piotr Pietruszewski
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c| 64 ++
drivers/net/i40e/base/i40e_prototype.h | 1
Adding bit flags to enable/disable EEE capability for 2.5GBase-T and
5GBase-T PHY types as well as 'Set autonomous EEE for relevant enabled PHY
types' flag.
Signed-off-by: Doug Dziggel
Signed-off-by: Michal Litwicki
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_adminq
There is a need to enable MIB change event, not at the same time as
init_dcb. This patch will serve this requirement.
Modify the i40e_init_dcb to return the correct error when LLDP or DCBX
is not in operational state.
Signed-off-by: Chinh T Cao
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e
Some features were introduced in different FW API version on XL710 and X722
MACs. Others are available only on specific MAC type. Make sure that they
are properly assigned. Also fix the style issues reported by current
check-patch.
Signed-off-by: Galazka Krzysztof
Signed-off-by: Xiaolong Ye
New device ids are created to support SFP+ and backplane connections.
Signed-off-by: Piotr Azarewicz
Signed-off-by: Xiaolong Ye
---
drivers/net/i40e/base/i40e_common.c | 2 ++
drivers/net/i40e/base/i40e_devids.h | 2 ++
drivers/net/i40e/i40e_ethdev.c | 2 ++
3 files changed, 6 insertions
1 - 100 of 402 matches
Mail list logo