[Intel-wired-lan] [PATCH iwl-next 0/2] Extend the dump serdes equalizer values feature

2024-10-01 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next 2/2] ice: extend dump serdes equalizer values feature

2024-10-01 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next 1/2] ice: rework of dump serdes equalizer values feature

2024-10-01 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v10 07/14] iavf: add support for indirect access to PHC time

2024-10-01 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 14/14] iavf: add support for Rx timestamps to hotpath

2024-08-13 Thread Mateusz Polchlopek
-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

[Intel-wired-lan] [PATCH iwl-next v9 11/14] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-08-13 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v9 13/14] iavf: handle set and get timestamps ops

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 12/14] iavf: Implement checking DD desc field

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 08/14] iavf: periodically cache PHC time

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 10/14] iavf: define Rx descriptors as qwords

2024-08-13 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v9 09/14] libeth: move idpf_rx_csum_decoded and idpf_rx_extracted

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 05/14] iavf: negotiate PTP capabilities

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 07/14] iavf: add support for indirect access to PHC time

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 02/14] ice: support Rx timestamp on flex descriptor

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 06/14] iavf: add initial framework for registering PTP clock

2024-08-13 Thread 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

[Intel-wired-lan] [PATCH iwl-next v9 04/14] iavf: add support for negotiating flexible RXDID format

2024-08-13 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v9 03/14] virtchnl: add enumeration for the rxdid format

2024-08-13 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v9 01/14] virtchnl: add support for enabling PTP on iAVF

2024-08-13 Thread 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

[Intel-wired-lan] [PATCH iwl-next v9 00/14] Add support for Rx timestamping for both ice and iavf drivers

2024-08-13 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v8 06/14] iavf: add initial framework for registering PTP clock

2024-08-12 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v8 06/14] iavf: add initial framework for registering PTP clock

2024-08-08 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v8 02/14] ice: support Rx timestamp on flex descriptor

2024-08-08 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v8 00/14] Add support for Rx timestamping for both ice and iavf drivers.

2024-07-31 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: devlink health: dump also skb on Tx hang

2024-07-30 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: add Tx hang devlink health reporter

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 14/14] iavf: add support for Rx timestamps to hotpath

2024-07-30 Thread Mateusz Polchlopek
-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

[Intel-wired-lan] [PATCH iwl-next v8 13/14] iavf: handle set and get timestamps ops

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 11/14] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-07-30 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v8 12/14] iavf: Implement checking DD desc field

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 10/14] iavf: flatten union iavf_32byte_rx_desc

2024-07-30 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v8 09/14] libeth: move idpf_rx_csum_decoded and idpf_rx_extracted

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 07/14] iavf: add support for indirect access to PHC time

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 08/14] iavf: periodically cache PHC time

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 06/14] iavf: add initial framework for registering PTP clock

2024-07-30 Thread 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

[Intel-wired-lan] [PATCH iwl-next v8 05/14] iavf: negotiate PTP capabilities

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 04/14] iavf: add support for negotiating flexible RXDID format

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 03/14] virtchnl: add enumeration for the rxdid format

2024-07-30 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v8 02/14] ice: support Rx timestamp on flex descriptor

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v8 01/14] virtchnl: add support for enabling PTP on iAVF

2024-07-30 Thread 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

[Intel-wired-lan] [PATCH iwl-next v8 00/14] Add support for Rx timestamping for both ice and iavf drivers.

2024-07-30 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-net v1] ice: Fix incorrect assigns of FEC counts

2024-07-26 Thread Mateusz Polchlopek
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/

Re: [Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: devlink health: dump also skb on Tx hang

2024-07-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: add Tx hang devlink health reporter

2024-07-22 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v2 4/6] ice: print ethtool stats as part of Tx hang devlink health reporter

2024-07-12 Thread Mateusz Polchlopek
: 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

[Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: devlink health: dump also skb on Tx hang

2024-07-12 Thread Mateusz Polchlopek
: 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

[Intel-wired-lan] [PATCH iwl-next v2 5/6] ice: Add MDD logging via devlink health

2024-07-12 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: add Tx hang devlink health reporter

2024-07-12 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v2 2/6] devlink: add devlink_fmsg_put() macro

2024-07-12 Thread Mateusz Polchlopek
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/

[Intel-wired-lan] [PATCH iwl-next v2 1/6] checkpatch: don't complain on _Generic() use

2024-07-12 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v2 0/6] Add support for devlink health events

2024-07-12 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v1 6/6] ice: devlink health: dump also skb on Tx hang

2024-07-03 Thread Mateusz Polchlopek
: 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

[Intel-wired-lan] [PATCH iwl-next v1 5/6] ice: Add MDD logging via devlink health

2024-07-03 Thread Mateusz Polchlopek
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/

[Intel-wired-lan] [PATCH iwl-next v1 3/6] ice: add Tx hang devlink health reporter

2024-07-03 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v1 4/6] ice: print ethtool stats as part of Tx hang devlink health reporter

2024-07-03 Thread Mateusz Polchlopek
: 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

[Intel-wired-lan] [PATCH iwl-next v1 2/6] devlink: add devlink_fmsg_put() macro

2024-07-03 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v1 1/6] checkpatch: don't complain on _Generic() use

2024-07-03 Thread Mateusz Polchlopek
: 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

[Intel-wired-lan] [PATCH iwl-next v1 0/6] Add support for devlink health events

2024-07-03 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v7 01/12] virtchnl: add support for enabling PTP on iAVF

2024-06-10 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 12/12] iavf: add support for Rx timestamps to hotpath

2024-06-04 Thread Mateusz Polchlopek
-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/

[Intel-wired-lan] [PATCH iwl-next v7 09/12] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-06-04 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v7 10/12] iavf: Implement checking DD desc field

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 11/12] iavf: handle set and get timestamps ops

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 07/12] iavf: add support for indirect access to PHC time

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 08/12] iavf: periodically cache PHC time

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 04/12] iavf: add support for negotiating flexible RXDID format

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 06/12] iavf: add initial framework for registering PTP clock

2024-06-04 Thread 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 Co-developed-by: Ahmed Zaki Signed-off-by: Ahmed Zaki Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polchlopek --- drivers

[Intel-wired-lan] [PATCH iwl-next v7 05/12] iavf: negotiate PTP capabilities

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 03/12] virtchnl: add enumeration for the rxdid format

2024-06-04 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v7 02/12] ice: support Rx timestamp on flex descriptor

2024-06-04 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v7 01/12] virtchnl: add support for enabling PTP on iAVF

2024-06-04 Thread Mateusz Polchlopek
-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

[Intel-wired-lan] [PATCH iwl-next v7 00/12] Add support for Rx timestamping for both ice and iavf drivers.

2024-06-04 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v6 11/12] iavf: handle SIOCSHWTSTAMP and SIOCGHWTSTAMP

2024-05-29 Thread Mateusz Polchlopek
-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

Re: [Intel-wired-lan] [PATCH iwl-net v2] ice: Add support for devlink loopback param.

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 10/12] iavf: Implement checking DD desc field

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 12/12] iavf: add support for Rx timestamps to hotpath

2024-05-28 Thread Mateusz Polchlopek
-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/

[Intel-wired-lan] [PATCH iwl-next v6 11/12] iavf: handle SIOCSHWTSTAMP and SIOCGHWTSTAMP

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 09/12] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-05-28 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v6 07/12] iavf: add support for indirect access to PHC time

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 06/12] iavf: add initial framework for registering PTP clock

2024-05-28 Thread 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 Co-developed-by: Ahmed Zaki Signed-off-by: Ahmed Zaki Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polchlopek --- drivers

[Intel-wired-lan] [PATCH iwl-next v6 08/12] iavf: periodically cache PHC time

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 05/12] iavf: negotiate PTP capabilities

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 04/12] iavf: add support for negotiating flexible RXDID format

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 03/12] virtchnl: add enumeration for the rxdid format

2024-05-28 Thread Mateusz Polchlopek
. 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

[Intel-wired-lan] [PATCH iwl-next v6 02/12] ice: support Rx timestamp on flex descriptor

2024-05-28 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v6 01/12] virtchnl: add support for enabling PTP on iAVF

2024-05-28 Thread Mateusz Polchlopek
-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

[Intel-wired-lan] [PATCH iwl-next v6 00/12] Add support for Rx timestamping for both ice and iavf drivers.

2024-05-28 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 09/12] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-04-26 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 00/12] Add support for Rx timestamping for both ice and iavf drivers.

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 00/12] Add support for Rx timestamping for both ice and iavf drivers.

2024-04-22 Thread Mateusz Polchlopek
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.

Re: [Intel-wired-lan] [PATCH iwl-next v5 02/12] ice: support Rx timestamp on flex descriptor

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 04/12] iavf: add support for negotiating flexible RXDID format

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 05/12] iavf: negotiate PTP capabilities

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 06/12] iavf: add initial framework for registering PTP clock

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 08/12] iavf: periodically cache PHC time

2024-04-22 Thread Mateusz Polchlopek
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

Re: [Intel-wired-lan] [PATCH iwl-next v5 09/12] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors

2024-04-22 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH iwl-next v1] ice: refactor struct ice_vsi_cfg_params to be inside of struct ice_vsi

2024-04-19 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH net-next v10 6/6] ice: Document tx_scheduling_layers parameter

2024-04-19 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH net-next v10 5/6] ice: Add tx_scheduling_layers devlink param

2024-04-19 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH net-next v10 4/6] ice: Enable switching default Tx scheduler topology

2024-04-19 Thread Mateusz Polchlopek
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

[Intel-wired-lan] [PATCH net-next v10 3/6] ice: Adjust the VSI/Aggregator layers

2024-04-19 Thread Mateusz Polchlopek
. 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   2   3   >