initialization.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Tested-by: Rafal Romanowski
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 17 +-
drivers/net/ethernet/intel/iavf
format.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Simon Horman
Tested-by: Rafal Romanowski
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h| 20 ++-
drivers/net/ethernet/intel/iavf
ed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 53 ++
1 file changed, 53 insertions(+)
diff --git a/drivers/net/ethernet/intel/iavf/iavf_ptp.c
b/drivers/net/ethernet/intel/iavf/iavf_ptp.c
index b9a341e
s
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 Su (1):
ice: support Rx timestamp
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Reviewed-by: Simon Horman
Tested-by: Rafal Romanowski
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++
drivers/net/ethernet/intel/iavf/iavf_p
Lobakin
Tested-by: Rafal Romanowski
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 50 +++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
index 56baf97c44d0..bc10e6ffa50b
-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_base.c | 3 -
drivers/net/ethernet/intel/ice/ice_lib.c | 5 +-
drivers/net/ethernet/intel/ice/ice_ptp.c | 4 +-
drivers/net/ethernet/intel/ice/ice_ptp.h | 8 ++
drivers/net
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Tested-by: Rafal Romanowski
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel
Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/Kconfig| 1 +
drivers/net/ethernet/intel/iavf/Makefile | 2 +
drivers/net/ethernet/intel/iavf/iavf_main.c | 6 +
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 122 ++
drivers/net
.
Signed-off-by: Jacob Keller
Tested-by: Rafal Romanowski
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_type.h | 127 ---
2 files changed, 327 insertions
at the very beginning, before
extracting other fields.
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Tested-by: Rafal Romanowski
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 54 -
drivers/net
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Tested-by: Rafal Romanowski
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +-
drivers/net/ethernet/intel/iavf/iavf_ptp.c| 149 ++
drivers/net
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf.h | 2 +-
drivers/net/ethernet/intel/iavf/iavf_trace.h | 6 +-
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 56 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 7 +-
drivers/net/ethernet/intel/iavf
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Tested-by: Rafal Romanowski
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 67 +++-
1 file changed, 66
igned-off-by: Mateusz Polchlopek
---
.../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/rx.h | 47 +
4
On 11/2/2024 3:38 PM, Simon Horman wrote:
On Mon, Oct 28, 2024 at 12:59:22PM -0400, Mateusz Polchlopek wrote:
Fix Flow Director not allowing to re-map traffic to 0th queue when action
is configured to drop (and vice versa).
The current implementation of ethtool callback in the ice driver
he variable value is
overwritten in the function.
Fixes: cac2a27cd9ab ("ice: Support IPv4 Flow Director filters")
Reviewed-by: Przemek Kitszel
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 3 ++-
drivers/net/ethernet/intel/ice/ice_fdir.h
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 21
-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 | 61 +
d
.
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
at the very beginning, before
extracting other fields.
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 54 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h
.
Signed-off-by: Jacob Keller
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_type.h | 127 ---
2 files changed, 327 insertions(+), 154 deletions(-)
diff
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| 149 ++
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
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
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
Structs idpf_rx_csum_decoded and idpf_rx_extracted are used both in
idpf and iavf Intel drivers. Change the prefix from idpf_* to libeth_*
and move mentioned structs to libeth's rx.h header file.
Adjust usage in idpf driver.
Suggested-by: Alexander Lobakin
Signed-off-by: Mateusz Polch
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
Lobakin
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 50 +++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
index 56baf97c44d0..bc10e6ffa50b 100644
--- a/include/linux/avf
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
acy 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 Su (1):
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 67 +++-
1 file changed, 66 insertions(+), 1 deletion
-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 | 61 +
d
at the very beginning, before
extracting other fields.
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 54 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h
.
Signed-off-by: Jacob Keller
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_type.h | 127 ---
2 files changed, 327 insertions(+), 154 deletions(-)
diff
.
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
EOPNOTSUPP error code.
Signed-off-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Co-developed-by: Mateusz Polchlopek
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 21
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| 147 ++
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
Structs idpf_rx_csum_decoded and idpf_rx_extracted are used both in
idpf and iavf Intel drivers. Change the prefix from idpf_* to libeth_*
and move mentioned structs to libeth's rx.h header file.
Adjust usage in idpf driver.
Suggested-by: Alexander Lobakin
Signed-off-by: Mateusz Polch
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 | 60
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
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
Lobakin
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 50 +++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
index 2ae9b9ba2f1b..3a3265861e7b 100644
--- a/include/linux/avf
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Simon Horman
Reviewed-by: Alexander Lobakin
Signed-off-by: Mateusz Polchlopek
---
include/linux/avf/virtchnl.h | 67 +++-
1 file changed, 66 insertions(+), 1 deletion
q 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: define Rx descriptors as qwords
iavf: Implement checking DD desc fie
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
1 - 100 of 279 matches
Mail list logo