Skip to contentSkip to conversation

Revert "net/iavf: fix check for PF Rx timestamp support"

PATCH Applied Bruce Richardson 4 participants 4 messages Nov 26, 2025 – Dec 1, 2025 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "net/iavf: fix check for PF Rx timestamp support"

This reverts commit d21c2fe6e5a1ef1e7cc9490f54f359db1cfd5283. While fixing an issue with enabling Rx timestamping on PFs which don't report Rx timestamping, the offending commit broke PFs which do support Rx timestamping.

Fixes d21c2fe6e5a1 ("net/iavf: fix check for PF Rx timestamp support")
---
 drivers/net/intel/iavf/iavf_ethdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/intel/iavf/iavf_ethdev.c +1 -2
index 3ef766de47..15e49fe248 100644
@@ -1177,8 +1177,7 @@ iavf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_CRC)
 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_KEEP_CRC;
 
-	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_CAP_PTP &&
-	    vf->ptp_caps & VIRTCHNL_1588_PTP_CAP_RX_TSTAMP)
+	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_CAP_PTP)
 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_TIMESTAMP;
 
 	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2 &&
Signature · 1 line
2.48.1
Acked-by on v1 1/1
#1 lore raw

This reverts commit d21c2fe6e5a1ef1e7cc9490f54f359db1cfd5283.
While fixing an issue with enabling Rx timestamping on PFs which don't report Rx timestamping, the offending commit broke PFs which do support Rx timestamping.

Fixes d21c2fe6e5a1 ("net/iavf: fix check for PF Rx timestamp support")
---
 drivers/net/intel/iavf/iavf_ethdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/intel/iavf/iavf_ethdev.c +1 -2
index 3ef766de47..15e49fe248 100644
@@ -1177,8 +1177,7 @@ iavf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_CRC)
 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_KEEP_CRC;
 
-	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_CAP_PTP &&
-	    vf->ptp_caps & VIRTCHNL_1588_PTP_CAP_RX_TSTAMP)
+	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_CAP_PTP)
 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_TIMESTAMP;
 
 	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2 &&

--
2.48.1

#2 lore raw

27/11/2025 10:25, Hore, Soumyadeep:

Quoted 9 lines

This reverts commit d21c2fe6e5a1ef1e7cc9490f54f359db1cfd5283.
While fixing an issue with enabling Rx timestamping on PFs which don't report Rx timestamping, the offending commit broke PFs which do support Rx timestamping.

Fixes d21c2fe6e5a1 ("net/iavf: fix check for PF Rx timestamp support")

Applied, thanks.

#3 lore raw
Quoted 16 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Friday, November 28, 2025 2:56 AM
To: Richardson, Bruce <[email protected]>
Cc: [email protected]; Keller, Jacob E <[email protected]>; Hore, Soumyadeep <[email protected]>
Subject: Re: [PATCH] Revert "net/iavf: fix check for PF Rx timestamp support"

27/11/2025 10:25, Hore, Soumyadeep:

Quoted 2 lines

This reverts commit d21c2fe6e5a1ef1e7cc9490f54f359db1cfd5283. While fixing an issue with enabling Rx timestamping on PFs which don't report

Rx timestamping, the offending commit broke PFs which do support Rx timestamping.

Quoted 1 line
Quoted 9 lines
Quoted 6 lines
Fixes d21c2fe6e5a1 ("net/iavf: fix check for PF Rx timestamp support")

Applied, thanks.

Thanks!