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
-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
.
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
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
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
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
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
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
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
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
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
.
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
: 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
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
-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
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
.
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
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
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
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
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
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
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
.
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
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
: 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
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
: 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
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
. 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
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
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
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
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
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
On 4/18/2024 9:51 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:56 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
The Rx timestamps reported by hardware may only have 32 bits of storage
for nanosecond time. These timestamps cannot be directly reported to the
Linux stack, as
On 4/18/2024 9:28 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:54 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Add the iavf_ptp.c file and fill it in with a skeleton framework to
allow registering the PTP clock device.
Add implementation of helper functions to check if a
On 4/18/2024 9:16 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:53 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Add a new extended capabilities negotiation to exchange information from
the PF about what PTP capabilities are supported by this VF. This
requires sending a
On 4/18/2024 9:11 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:52 -0400 Mateusz Polchlopek
wrote:
From: Jacob Keller
Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF
driver the ability to determine what Rx descriptor formats are
available. This requires
On 4/18/2024 8:57 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:50 -0400 Mateusz Polchlopek
wrote:
From: Simei Su
To support Rx timestamp offload, VIRTCHNL_OP_1588_PTP_CAPS is sent by
the VF to request PTP capability and responded by the PF what capability
is enabled for that VF
On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek
wrote:
Initially, during VF creation it registers the PTP clock in
the system and negotiates with PF it's capabilities. In the
meantime the PF enables the Flexible Descriptor for VF.
On 4/23/2024 7:57 AM, Rahul Rameshbabu wrote:
On Mon, 22 Apr, 2024 11:37:14 +0200 Mateusz Polchlopek
wrote:
On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote:
On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek
wrote:
Initially, during VF creation it registers the PTP clock in
the
On 4/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
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
-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
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
.
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
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
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
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
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
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
.
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
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
at the very beginning, before
extracting other fields.
Signed-off-by: Mateusz Polchlopek
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
---
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 30 -
drivers/net/ethernet/intel/iavf/iavf_txrx.h | 17
drivers
-by: Jacob Keller
Reviewed-by: Wojciech Drewek
Reviewed-by: Rahul Rameshbabu
Reviewed-by: Sunil Goutham
Signed-off-by: Mateusz Polchlopek
---
drivers/net/ethernet/intel/iavf/iavf_main.c | 9 +++
drivers/net/ethernet/intel/iavf/iavf_ptp.c | 69 +
drivers/net/ethernet/intel/iavf/
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
-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
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
-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
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
.
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
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
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
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
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
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
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
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
.
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
-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/
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
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
: 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
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
: 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
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
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/
: 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
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
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
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/
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
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
: 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
: 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
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
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
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/
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
-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
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
.
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
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
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
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
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
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
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
.
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 - 100 of 290 matches
Mail list logo