aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <[email protected]>2022-06-28 10:36:57 +0000
committerTony Nguyen <[email protected]>2022-07-15 17:41:39 +0000
commit896a55aa52328ec146394c69d1ece5f6baa1aa11 (patch)
tree7b379bdd078c989a9c20e828890aa07ab8e0e532 /drivers/net/ethernet/intel/ice/ice_lib.c
parentocteontx2-af: Set NIX link credits based on max LMAC (diff)
downloadkernel-896a55aa52328ec146394c69d1ece5f6baa1aa11.tar.gz
kernel-896a55aa52328ec146394c69d1ece5f6baa1aa11.zip
ice: Add EXTTS feature to the feature bitmap
External time stamp sources are supported only on certain devices. Enforce the right support matrix by adding the ICE_F_PTP_EXTTS bit to the feature bitmap set. Co-developed-by: Maciej Machnikowski <[email protected]> Signed-off-by: Maciej Machnikowski <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Signed-off-by: Anatolii Gerasymenko <[email protected]> Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c
index a6c4be5e5566..bc357dfae306 100644
--- a/drivers/net/ethernet/intel/ice/ice_lib.c
+++ b/drivers/net/ethernet/intel/ice/ice_lib.c
@@ -4182,6 +4182,7 @@ void ice_init_feature_support(struct ice_pf *pf)
case ICE_DEV_ID_E810C_QSFP:
case ICE_DEV_ID_E810C_SFP:
ice_set_feature_support(pf, ICE_F_DSCP);
+ ice_set_feature_support(pf, ICE_F_PTP_EXTTS);
if (ice_is_e810t(&pf->hw)) {
ice_set_feature_support(pf, ICE_F_SMA_CTRL);
if (ice_gnss_is_gps_present(&pf->hw))