common/cnxk: convert warning to debug print
[dpdk.git] / drivers / net / hns3 / hns3_ethdev_vf.c
index 9e9fdc4..589de0a 100644 (file)
@@ -495,7 +495,6 @@ hns3vf_dev_configure(struct rte_eth_dev *dev)
        /* When RSS is not configured, redirect the packet queue 0 */
        if ((uint32_t)mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) {
                conf->rxmode.offloads |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
-               hw->rss_dis_flag = false;
                rss_conf = conf->rx_adv_conf.rss_conf;
                ret = hns3_dev_rss_hash_update(dev, &rss_conf);
                if (ret)
@@ -997,7 +996,6 @@ hns3vf_get_configuration(struct hns3_hw *hw)
        int ret;
 
        hw->mac.media_type = HNS3_MEDIA_TYPE_NONE;
-       hw->rss_dis_flag = false;
 
        /* Get device capability */
        ret = hns3vf_get_capability(hw);
@@ -1337,10 +1335,12 @@ hns3vf_service_handler(void *param)
         * Before querying the link status, check whether there is a reset
         * pending, and if so, abandon the query.
         */
-       if (!hns3vf_is_reset_pending(hns))
+       if (!hns3vf_is_reset_pending(hns)) {
                hns3vf_request_link_info(hw);
-       else
+               hns3_update_hw_stats(hw);
+       } else {
                hns3_warn(hw, "Cancel the query when reset is pending");
+       }
 
        rte_eal_alarm_set(HNS3VF_SERVICE_INTERVAL, hns3vf_service_handler,
                          eth_dev);