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

2024-04-10 Thread Mateusz Polchlopek
or Rx timestamps to hotpath Mateusz Polchlopek (1): iavf: Implement checking DD desc field Simei Su (1): ice: support Rx timestamp on flex descriptor drivers/net/ethernet/intel/iavf/Makefile | 3 +- drivers/net/ethernet/intel/iavf/iavf.h| 33 +- drivers/net/ethernet/intel

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

2024-04-10 Thread Mateusz Polchlopek
-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 index 8e177b67e82f..5003d29e3f5b

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

2024-04-10 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. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller Signed-off-by: Mateusz Polchlopek --- include/linux/avf/virtchnl.h | 46

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

2024-04-10 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. Reviewed-by: Wojciech Drewek Signed-off-by: Simei Su Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz

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

2024-04-10 Thread Mateusz Polchlopek
format. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 | 124 +- drivers/net/ethernet

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

2024-04-10 Thread Mateusz Polchlopek
it would probably perform poorly due to the lack of direct time access. Reviewed-by: Sai Krishna Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 v4 05/12] iavf: negotiate PTP capabilities

2024-04-10 Thread Mateusz Polchlopek
initialization. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 v4 08/12] iavf: periodically cache PHC time

2024-04-10 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. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polch

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

2024-04-10 Thread Mateusz Polchlopek
Drewek Signed-off-by: Jacob Keller Signed-off-by: Mateusz Polchlopek --- drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +- drivers/net/ethernet/intel/iavf/iavf_ptp.c| 153 ++ drivers/net/ethernet/intel/iavf/iavf_ptp.h| 16 ++ .../net/ethernet/intel/iavf/iavf_virtchnl.c

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

2024-04-10 Thread Mateusz Polchlopek
at the very beginning, before extracting other fields. Reviewed-by: Wojciech Drewek Signed-off-by: Mateusz Polchlopek --- drivers/net/ethernet/intel/iavf/iavf_txrx.c | 28 - drivers/net/ethernet/intel/iavf/iavf_txrx.h | 17 - drivers/net/ethernet/intel/iavf

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

2024-04-10 Thread Mateusz Polchlopek
code. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polchlopek --- drivers/net/ethernet/intel/iavf/iavf_main.c | 25 drivers/net/ethernet/intel/iavf/iavf_ptp.c | 135 drivers/net/ethernet/intel

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

2024-04-10 Thread Mateusz Polchlopek
. Reviewed-by: Wojciech Drewek 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_txrx.h | 8 + drivers/net/ethernet/intel/iavf

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

2024-04-10 Thread Mateusz Polchlopek
: Wojciech Drewek Signed-off-by: Jacob Keller Signed-off-by: Mateusz Polchlopek --- drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++ drivers/net/ethernet/intel/iavf/iavf_ptp.c | 67 + drivers/net/ethernet/intel/iavf/iavf_ptp.h | 4 ++ drivers/net/ethernet/intel/iavf/iavf_t

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

2024-04-17 Thread Mateusz Polchlopek
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: Implement checking DD desc field Simei Su (1): ice: support Rx timestamp on flex descr

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

2024-04-17 Thread Mateusz Polchlopek
-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 index 8e177b67e82f..5003d29e3f5b

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

2024-04-17 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. Reviewed-by: Wojciech Drewek Signed-off-by: Simei Su Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz

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

2024-04-17 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. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller Signed-off-by: Mateusz Polchlopek --- include/linux/avf/virtchnl.h | 46

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

2024-04-17 Thread Mateusz Polchlopek
format. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 | 124 +- drivers/net/ethernet

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

2024-04-17 Thread Mateusz Polchlopek
it would probably perform poorly due to the lack of direct time access. Reviewed-by: Sai Krishna Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 v5 08/12] iavf: periodically cache PHC time

2024-04-17 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. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polch

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

2024-04-17 Thread Mateusz Polchlopek
initialization. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 v5 07/12] iavf: add support for indirect access to PHC time

2024-04-17 Thread Mateusz Polchlopek
Drewek Signed-off-by: Jacob Keller 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/ethernet/intel/iavf/iavf_virtchnl.c

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

2024-04-17 Thread Mateusz Polchlopek
at the very beginning, before extracting other fields. Reviewed-by: Wojciech Drewek Signed-off-by: Mateusz Polchlopek --- drivers/net/ethernet/intel/iavf/iavf_txrx.c | 30 - drivers/net/ethernet/intel/iavf/iavf_txrx.h | 17 drivers/net/ethernet/intel/iavf

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

2024-04-17 Thread Mateusz Polchlopek
. Reviewed-by: Wojciech Drewek 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_txrx.h | 8 + drivers/net/ethernet/intel/iavf

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

2024-04-17 Thread Mateusz Polchlopek
code. Reviewed-by: Wojciech Drewek Signed-off-by: Jacob Keller 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 drivers/net/ethernet/intel

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

2024-04-17 Thread Mateusz Polchlopek
: Wojciech Drewek Signed-off-by: Jacob Keller 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/iavf_ptp.h | 4 ++ drivers/net/ethernet/intel/iavf/iavf_t

[Intel-wired-lan] [PATCH net-next v10 0/6] ice: Support 5 layer Tx scheduler topology

2024-04-19 Thread Mateusz Polchlopek
netdev/20231006110212.96305-1-mateusz.polchlo...@intel.com/ v1: https://lore.kernel.org/netdev/20230523174008.3585300-1-anthony.l.ngu...@intel.com/ --- Lukasz Czapnik (1): ice: Add tx_scheduling_layers devlink param Mateusz Polchlopek (1): devlink: extend devlink_param *set pointer Michal Wi

[Intel-wired-lan] [PATCH net-next v10 1/6] devlink: extend devlink_param *set pointer

2024-04-19 Thread Mateusz Polchlopek
: Mateusz Polchlopek --- drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c | 9 ++--- drivers/net/ethernet/amd/pds_core/core.h | 3 ++- drivers/net/ethernet/amd/pds_core/devlink.c | 3 ++- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c| 6 -- drivers/net

[Intel-wired-lan] [PATCH net-next v10 2/6] ice: Support 5 layer topology

2024-04-19 Thread Mateusz Polchlopek
5. Reflect this on driver side. Signed-off-by: Raj Victor Co-developed-by: Michal Wilczynski Signed-off-by: Michal Wilczynski Tested-by: Pucha Himasekhar Reddy Co-developed-by: Mateusz Polchlopek Signed-off-by: Mateusz Polchlopek --- .../net/ethernet/intel/ice/ice_adminq_cmd.h | 23 ++ dr

[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

[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 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 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 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

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

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 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 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 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 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 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 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 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

[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

[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 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 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 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 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 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 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 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 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 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 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/

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

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

[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

[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 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 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 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 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 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 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 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 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 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 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 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/

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 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

[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 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 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 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 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 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 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 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 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 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 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 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 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

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

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

[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/

[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-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 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 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 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 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 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 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 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 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 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

  1   2   3   >