]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/ice_dcf_parent.c
net/ice: enable QinQ filter for switch
[dpdk.git] / drivers / net / ice / ice_dcf_parent.c
index 30ead4c9fd51a4b23b304b0c6b2b7b77c848030e..7d565028f605fa43a5d3b36865994a13962a1da9 100644 (file)
@@ -202,7 +202,7 @@ ice_dcf_init_parent_hw(struct ice_hw *hw)
 
        /* Initialize port_info struct with PHY capabilities */
        status = ice_aq_get_phy_caps(hw->port_info, false,
-                                    ICE_AQC_REPORT_TOPO_CAP, pcaps, NULL);
+                                    ICE_AQC_REPORT_TOPO_CAP_MEDIA, pcaps, NULL);
        ice_free(hw, pcaps);
        if (status)
                goto err_unroll_alloc;