Extend the work done in commit 70838938e89c ("ice: Implement driver
functionality to dump serdes equalizer values") by refactor the
ice_get_tx_rx_equa() function, shorten struct fields names and add
new Rx registers that can be read using command:
$ ethtool -d interface_name.
Mateusz
to
gather information about configuration and status to debug link and
connection issues in the field.
Reviewed-by: Przemek Kitszel
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 17 +
drivers/net/ethernet/intel/ice/ice_ethtool
readability purposes.
Reviewed-by: Przemek Kitszel
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_ethtool.c | 93 ++--
drivers/net/ethernet/intel/ice/ice_ethtool.h | 22 ++---
2 files changed, 38 insertions(+), 77 deletions(-)
diff --git a/drivers/net
On 8/21/2024 4:31 PM, Alexander Lobakin wrote:
From: Wojciech Drewek
Date: Wed, 21 Aug 2024 14:15:32 +0200
From: Jacob Keller
Implement support for reading the PHC time indirectly via the
VIRTCHNL_OP_1588_PTP_GET_TIME operation.
[...]
+/**
+ * iavf_queue_ptp_cmd - Queue PTP command fo
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 11 +++-
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 61 +
d
.
Signed-off-by: Jacob Keller
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 331 ++--
drivers/net/ethernet/intel/iavf/iavf_type.h | 171 +++---
2 files changed, 359 insertions(+), 143 deletions(-)
diff
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 21
drivers/net/ethernet/intel/iavf
at the very beginning, before
extracting other fields.
Signed-off-by: Mateusz Polchlopek
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 90 +++--
drivers/net/ethernet/intel/iavf/iavf_txrx.h
time
from the PF. The jitter and latency involved with this command aren't
important, because the cached time just needs to be kept up to date
within about ~2 seconds.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
S
.
This commit changes the representation of iavf_32byte_rx_desc union
to store four __le64 fields (qw0, qw1, qw2, qw3) that represent
quad-words. Those quad-words will be then accessed by calling
leXY_get_bits macros in upcoming commits.
Suggested-by: Alexander Lobakin
Signed-off-by: Mateusz
ff-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 2 +-
.../ethernet/intel/idpf/idpf_singleq_txrx.c | 51 ++-
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 16 +++---
drivers/net/ethernet/intel/idpf/idpf_txrx.h | 19 ---
include/net/libeth
initialization.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 17 -
drivers/net/ethernet/intel/iavf/iavf_main.c | 60
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +-
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 144 ++
drivers/net/ethernet/intel/iavf/iavf_ptp.h
timestamps that the stack expects.
To convert 32b to 64b, we need a current PHC time.
VIRTCHNL_OP_1588_PTP_GET_TIME is sent by the VF and responded by the
PF with the current PHC time.
Signed-off-by: Simei Su
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
it would probably
perform poorly due to the lack of direct time access.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Sai Krishna
Reviewed-by: Simon Horman
Co-developed-by: Ahmed Zaki
Signed-off-by: Ahmed Zaki
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz
format.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 20 ++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 123
.
Provide an enumeration for the values as well as the bit positions as
returned by the supported_rxdids data from the
VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 63
1 file changed, 63 insertions(+)
diff --git a/include/linux/avf/virtchnl.h b
support legacy and flex
descriptors
iavf: handle set and get timestamps ops
iavf: add support for Rx timestamps to hotpath
Mateusz Polchlopek (3):
libeth: move idpf_rx_csum_decoded and idpf_rx_extracted
iavf: define Rx descriptors as qwords
iavf: Implement checking DD desc field
Simei
On 8/8/2024 2:24 PM, Alexander Lobakin wrote:
From: Mateusz Polchlopek
Date: Thu, 8 Aug 2024 13:04:29 +0200
On 7/30/2024 3:40 PM, Alexander Lobakin wrote:
From: Mateusz Polchlopek
Date: Tue, 30 Jul 2024 05:15:01 -0400
[...]
+bool iavf_ptp_cap_supported(struct iavf_adapter *adapter
On 7/30/2024 3:40 PM, Alexander Lobakin wrote:
From: Mateusz Polchlopek
Date: Tue, 30 Jul 2024 05:15:01 -0400
From: Jacob Keller
Add the iavf_ptp.c file and fill it in with a skeleton framework to
allow registering the PTP clock device.
Add implementation of helper functions to check if
On 7/30/2024 2:54 PM, Alexander Lobakin wrote:
From: Mateusz Polchlopek
Date: Tue, 30 Jul 2024 05:14:57 -0400
From: Simei Su
To support Rx timestamp offload, VIRTCHNL_OP_1588_PTP_CAPS is sent by
the VF to request PTP capability and responded by the PF what capability
is enabled for that
On 7/30/2024 2:30 PM, Alexander Lobakin wrote:
From: Mateusz Polchlopek
Date: Tue, 30 Jul 2024 05:14:55 -0400
[PATCH iwl-next v8 00/14] Add support for Rx timestamping for both ice
and iavf drivers.
Oops, please remove that period at the end of the sentence when sending
next version
On 7/14/2024 4:30 PM, Jakub Kicinski wrote:
On Fri, 12 Jul 2024 05:32:51 -0400 Mateusz Polchlopek wrote:
+ buf_pos = ice_emit_to_buf(buf, buf_size, buf_pos,
+ "skb len=%u headroom=%u headlen=%u tailroom=%u\n"
+ "mac=(%d,%d) net=(%d
On 7/22/2024 11:23 AM, Mateusz Polchlopek wrote:
On 7/14/2024 4:23 PM, Jakub Kicinski wrote:
On Fri, 12 Jul 2024 05:32:48 -0400 Mateusz Polchlopek wrote:
+ err = devlink_health_report(reporter, msg, priv_ctx);
+ if (err) {
+ struct ice_pf *pf = devlink_health_reporter_priv
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 69 +
d
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 19 +++
drivers/net/ethernet/intel/iavf
.
Signed-off-by: Jacob Keller
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 340 +-
drivers/net/ethernet/intel/iavf/iavf_type.h | 143 +---
.../net/ethernet/intel/iavf/iavf_virtchnl.c | 5 +
3
at the very beginning, before
extracting other fields.
Signed-off-by: Mateusz Polchlopek
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 27 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h
.
This commit changes the representation of iavf_32byte_rx_desc union
to store four __le64 fields (qw0, qw1, qw2, qw3) that represent
quad-words. Those quad-words will be then accessed by calling
leXY_get_bits macros in upcoming commits.
Suggested-by: Alexander Lobakin
Signed-off-by: Mateusz
ff-by: Mateusz Polchlopek
---
.../ethernet/intel/idpf/idpf_singleq_txrx.c | 20 +--
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 8 ++---
drivers/net/ethernet/intel/idpf/idpf_txrx.h | 19 ---
include/net/libeth/rx.h | 34 +++
4 files ch
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +-
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 161 ++
drivers/net/ethernet/intel/iavf/iavf_ptp.h
time
from the PF. The jitter and latency involved with this command aren't
important, because the cached time just needs to be kept up to date
within about ~2 seconds.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
S
it would probably
perform poorly due to the lack of direct time access.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Sai Krishna
Reviewed-by: Simon Horman
Co-developed-by: Ahmed Zaki
Signed-off-by: Ahmed Zaki
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz
initialization.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 17 +++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 69
format.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 20 ++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 127
.
Provide an enumeration for the values as well as the bit positions as
returned by the supported_rxdids data from the
VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz
timestamps that the stack expects.
To convert 32b to 64b, we need a current PHC time.
VIRTCHNL_OP_1588_PTP_GET_TIME is sent by the VF and responded by the
PF with the current PHC time.
Signed-off-by: Simei Su
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Co-developed-by: Mateusz Polchlopek
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 63
1 file changed, 63 insertions(+)
diff --git a/include/linux/avf/virtchnl.h b
C time
iavf: refactor iavf_clean_rx_irq to support legacy and flex
descriptors
iavf: handle set and get timestamps ops
iavf: add support for Rx timestamps to hotpath
Mateusz Polchlopek (3):
libeth: move idpf_rx_csum_decoded and idpf_rx_extracted
iavf: flatten union iavf_32byte_r
ssignments.
Fixes: ac21add2540e ("ice: Implement driver functionality to dump fec
statistics")
Reviewed-by: Wojciech Drewek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_ethtool.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/
On 7/14/2024 4:30 PM, Jakub Kicinski wrote:
On Fri, 12 Jul 2024 05:32:51 -0400 Mateusz Polchlopek wrote:
+ buf_pos = ice_emit_to_buf(buf, buf_size, buf_pos,
+ "skb len=%u headroom=%u headlen=%u tailroom=%u\n"
+ "mac=(%d,%d) net=(%d
On 7/14/2024 4:23 PM, Jakub Kicinski wrote:
On Fri, 12 Jul 2024 05:32:48 -0400 Mateusz Polchlopek wrote:
+ err = devlink_health_report(reporter, msg, priv_ctx);
+ if (err) {
+ struct ice_pf *pf = devlink_health_reporter_priv(reporter);
+
+ dev_err
: Przemek Kitszel
Reviewed-by: Igor Bagnucki
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 32 +++
drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 +++---
drivers/net/ethernet/intel/ice
: Wojciech Drewek
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 197 ++
1 file changed, 197 insertions(+)
diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink_health.c
b/drivers/net/ethernet/intel/ice/devlink
ek Kitszel
Signed-off-by: Przemek Kitszel
Reviewed-by: Igor Bagnucki
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 77 +++
.../intel/ice/devlink/devlink_health.h| 11 +++
d
Drewek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/Makefile | 1 +
.../intel/ice/devlink/devlink_health.c| 178 ++
.../intel/ice/devlink/devlink_health.h| 34
drivers/net/ethernet/intel/ice/ice.h | 2 +
drivers/net
From: Przemek Kitszel
Add devlink_fmsg_put() that dispatches based on the type
of the value to put, example: bool -> devlink_fmsg_bool_pair_put().
Signed-off-by: Przemek Kitszel
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
include/
Horman
Signed-off-by: Mateusz Polchlopek
---
scripts/checkpatch.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2b812210b412..c4a087d325d4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5840,6 +5840,8 @@ sub process
Reports for two kinds of events are implemented, Malicious Driver
Detection (MDD) and Tx hang.
Patches 1, 2: minor core improvements (checkpatch.pl and devlink extension)
Patches 3, 4, 5: ice devlink health infra + straightforward status reports
Patch 6: extension to dump also skb on Tx hang, this
: Wojciech Drewek
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 197 ++
1 file changed, 197 insertions(+)
diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink_health.c
b/drivers/net/ethernet/intel/ice/devlink/devlink_health.c
index
ek Kitszel
Signed-off-by: Przemek Kitszel
Reviewed-by: Igor Bagnucki
Reviewed-by: Wojciech Drewek
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 77 +++
.../intel/ice/devlink/devlink_health.h| 11 +++
drivers/net/ethernet/intel/ice/
Drewek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/Makefile | 1 +
.../intel/ice/devlink/devlink_health.c| 179 ++
.../intel/ice/devlink/devlink_health.h| 34
drivers/net/ethernet/intel/ice/ice.h | 2 +
drivers/net
: Przemek Kitszel
Reviewed-by: Igor Bagnucki
Reviewed-by: Wojciech Drewek
Signed-off-by: Mateusz Polchlopek
---
.../intel/ice/devlink/devlink_health.c| 32 +++
drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 +++---
drivers/net/ethernet/intel/ice/ice_ethtool.h | 2
From: Przemek Kitszel
Add devlink_fmsg_put() that dispatches based on the type
of the value to put, example: bool -> devlink_fmsg_bool_pair_put().
Signed-off-by: Przemek Kitszel
Reviewed-by: Wojciech Drewek
Signed-off-by: Mateusz Polchlopek
---
include/net/devlink.h | 11 +++
1 f
: Mateusz Polchlopek
---
scripts/checkpatch.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2b812210b412..c4a087d325d4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5840,6 +5840,8 @@ sub process {
#CamelCase
Reports for two kinds of events are implemented, Malicious Driver
Detection (MDD) and Tx hang.
Patches 1, 2: minor core improvements (checkpatch.pl and devlink extension)
Patches 3, 4, 5: ice devlink health infra + straightforward status reports
Patch 6: extension to dump also skb on Tx hang, this
On 6/8/2024 2:55 PM, Simon Horman wrote:
On Tue, Jun 04, 2024 at 09:13:49AM -0400, Mateusz Polchlopek wrote:
From: Jacob Keller
Add support for allowing a VF to enable PTP feature - Rx timestamps
The new capability is gated by VIRTCHNL_VF_CAP_PTP, which must be
set by the VF to request
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 69 +
drivers/net/ethernet/intel/iavf/
.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 354 +-
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 8 +
drivers/net/ethernet/intel/iavf
at the very beginning, before
extracting other fields.
Signed-off-by: Mateusz Polchlopek
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 30 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 17
drivers
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 19 +++
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 136
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +-
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 161 ++
drivers/net/ethernet/intel/iavf/iavf_ptp.h| 16 ++
.../net
time
from the PF. The jitter and latency involved with this command aren't
important, because the cached time just needs to be kept up to date
within about ~2 seconds.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polch
format.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 20 ++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 127 --
drivers/net/ethernet
it would probably
perform poorly due to the lack of direct time access.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Sai Krishna
Co-developed-by: Ahmed Zaki
Signed-off-by: Ahmed Zaki
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers
initialization.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 17 +++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 69
drivers/net/ethernet
.
Provide an enumeration for the values as well as the bit positions as
returned by the supported_rxdids data from the
VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
include/linux
timestamps that the stack expects.
To convert 32b to 64b, we need a current PHC time.
VIRTCHNL_OP_1588_PTP_GET_TIME is sent by the VF and responded by the
PF with the current PHC time.
Signed-off-by: Simei Su
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 66
1 file changed, 66 insertions(+)
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
avf: refactor iavf_clean_rx_irq to support legacy and flex
descriptors
iavf: handle set and get timestamps ops
iavf: add support for Rx timestamps to hotpath
Mateusz Polchlopek (1):
iavf: Implement checking DD desc field
Simei Su (1):
ice: support Rx timestamp on flex descriptor
drivers
-wired-lan] [PATCH iwl-next v6 11/12] iavf: handle
SIOCSHWTSTAMP and SIOCGHWTSTAMP
On Tue, 28 May 2024 07:23:00 -0400 Mateusz Polchlopek wrote:
+ .ndo_eth_ioctl = iavf_do_ioctl,
Please use the new ndos:
* int (*ndo_hwtstamp_get)(struct net_device *dev
On 5/28/2024 1:01 PM, Wojciech Drewek wrote:
From: Pawel Kaminski
Add support for driver-specific devlink loopback param. Supported values
are "enabled", "disabled" and "prioritized". Default configuration is
set to "enabled".
Add documentation in networking/devlink/ice.rst.
In previous ge
at the very beginning, before
extracting other fields.
Signed-off-by: Mateusz Polchlopek
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 30 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 17
drivers
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 69 +
drivers/net/ethernet/intel/iavf/
code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 28
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 141
.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 354 +-
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 8 +
drivers/net/ethernet/intel/iavf
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +-
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 161 ++
drivers/net/ethernet/intel/iavf/iavf_ptp.h| 16 ++
.../net
it would probably
perform poorly due to the lack of direct time access.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Sai Krishna
Co-developed-by: Ahmed Zaki
Signed-off-by: Ahmed Zaki
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers
time
from the PF. The jitter and latency involved with this command aren't
important, because the cached time just needs to be kept up to date
within about ~2 seconds.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polch
initialization.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 17 +++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 69
drivers/net/ethernet
format.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 20 ++-
drivers/net/ethernet/intel/iavf/iavf_main.c | 127 --
drivers/net/ethernet
.
Provide an enumeration for the values as well as the bit positions as
returned by the supported_rxdids data from the
VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
include/linux
timestamps that the stack expects.
To convert 32b to 64b, we need a current PHC time.
VIRTCHNL_OP_1588_PTP_GET_TIME is sent by the VF and responded by the
PF with the current PHC time.
Signed-off-by: Simei Su
Reviewed-by: Wojciech Drewek
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 66
1 file changed, 66 insertions(+)
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
k
iavf: add support for indirect access to PHC time
iavf: periodically cache PHC time
iavf: refactor iavf_clean_rx_irq to support legacy and flex
descriptors
iavf: handle SIOCSHWTSTAMP and SIOCGHWTSTAMP
iavf: add support for Rx timestamps to hotpath
Mateusz Polchlopek (1):
iavf: I
On 4/23/2024 12:51 PM, Sunil Kovvuri Goutham wrote:
-Original Message-
From: Mateusz Polchlopek
Sent: Thursday, April 18, 2024 10:55 AM
To: intel-wired-...@lists.osuosl.org
Cc: net...@vger.kernel.org; ho...@kernel.org; anthony.l.ngu...@intel.com;
Jacob Keller ; Wojciech Drewek
On 4/23/2024 7:57 AM, Rahul Rameshbabu wrote:
On Mon, 22 Apr, 2024 11:37:14 +0200 Mateusz Polchlopek
wrote:
On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek
wrote:
Initially, during VF creation it registers the PTP clock in
the
On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek
wrote:
Initially, during VF creation it registers the PTP clock in
the system and negotiates with PF it's capabilities. In the
meantime the PF enables the Flexible Descriptor for VF.
On 4/18/2024 8:57 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:50 -0400 Mateusz Polchlopek
wrote:
From: Simei Su
To support Rx timestamp offload, VIRTCHNL_OP_1588_PTP_CAPS is sent by
the VF to request PTP capability and responded by the PF what capability
is enabled for that VF
On 4/18/2024 9:11 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:52 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF
driver the ability to determine what Rx descriptor formats are
available. This requires
On 4/18/2024 9:16 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:53 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Add a new extended capabilities negotiation to exchange information from
the PF about what PTP capabilities are supported by this VF. This
requires sending a
On 4/18/2024 9:28 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:54 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Add the iavf_ptp.c file and fill it in with a skeleton framework to
allow registering the PTP clock device.
Add implementation of helper functions to check if a
On 4/18/2024 9:51 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:56 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
The Rx timestamps reported by hardware may only have 32 bits of storage
for nanosecond time. These timestamps cannot be directly reported to the
Linux stack, as
On 4/18/2024 10:00 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:57 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Using VIRTCHNL_VF_OFFLOAD_FLEX_DESC, the iAVF driver is capable of
negotiating to enable the advanced flexible descriptor layout. Add the
flexible NIC layout
Kitszel
Reviewed-by: Przemek Kitszel
Reviewed-by: Vaishnavi Tipireddy
Signed-off-by: Mateusz Polchlopek
---
.../net/ethernet/intel/ice/devlink/devlink.c | 6 +--
drivers/net/ethernet/intel/ice/ice.h | 14 ---
drivers/net/ethernet/intel/ice/ice_lib.c | 33
From: Michal Wilczynski
New driver specific parameter 'tx_scheduling_layers' was introduced.
Describe parameter in the documentation.
Signed-off-by: Michal Wilczynski
Acked-by: Jakub Kicinski
Reviewed-by: Jiri Pirko
Reviewed-by: Przemek Kitszel
Co-developed-by: Mateusz Polchlop
Himasekhar Reddy
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
.../net/ethernet/intel/ice/devlink/devlink.c | 172 +-
.../net/ethernet/intel/ice/ice_adminq_cmd.h | 9 +
.../net/ethernet/intel/ice/ice_fw_update.c| 7 +-
.../net/ethernet/intel/ice
ange in Tx
topology is finished. To trigger the Tx change user selection should be
changed in NVM using devlink. Then the platform should be rebooted.
Signed-off-by: Michal Wilczynski
Tested-by: Pucha Himasekhar Reddy
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
d
. It requires a readjustment of these VSI/Aggregator layer values.
Signed-off-by: Raj Victor
Co-developed-by: Michal Wilczynski
Signed-off-by: Michal Wilczynski
Tested-by: Pucha Himasekhar Reddy
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_sched.c | 37
1 - 100 of 232 matches
Mail list logo