]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/base/efx_mcdi.c
net/sfc/base: import PHY statistics
[dpdk.git] / drivers / net / sfc / base / efx_mcdi.c
index 85c1ac182648115a016056af2aa50e8b07080a2f..c5422daad6843644466666aabe40ab0ce2da09b8 100644 (file)
@@ -1435,6 +1435,11 @@ efx_mcdi_get_phy_cfg(
        encp->enc_mcdi_mdio_channel =
                (uint8_t)MCDI_OUT_DWORD(req, GET_PHY_CFG_OUT_CHANNEL);
 
+#if EFSYS_OPT_PHY_STATS
+       encp->enc_mcdi_phy_stat_mask =
+               MCDI_OUT_DWORD(req, GET_PHY_CFG_OUT_STATS_MASK);
+#endif /* EFSYS_OPT_PHY_STATS */
+
 #if EFSYS_OPT_BIST
        encp->enc_bist_mask = 0;
        if (MCDI_OUT_DWORD_FIELD(req, GET_PHY_CFG_OUT_FLAGS,