Revert "net/iavf: fix check for PF Rx timestamp support"
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.
--- drivers/net/intel/iavf/iavf_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/intel/iavf/iavf_ethdev.c +1 -2
@@ -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
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.
--- drivers/net/intel/iavf/iavf_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/intel/iavf/iavf_ethdev.c +1 -2
@@ -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
Thomas Monjalon
Applied27/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")Suggested-by Jacob Keller <[email protected]>Signed-off-by Bruce Richardson <[email protected]>Acked-by Soumyadeep Hore <[email protected]>
Applied, thanks.
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 reportRx 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")Suggested-by Jacob Keller <[email protected]>Signed-off-by Bruce Richardson <[email protected]>Acked-by Soumyadeep Hore <[email protected]>Applied, thanks.
Thanks!