net/ice/base: add helper function to redirect flags
[dpdk.git] / drivers / net / cxgbe / base / t4_hw.c
index ef20dc6..b60bcdc 100644 (file)
@@ -9,14 +9,13 @@
 #include <rte_log.h>
 #include <rte_debug.h>
 #include <rte_pci.h>
-#include <rte_atomic.h>
 #include <rte_branch_prediction.h>
 #include <rte_memory.h>
 #include <rte_tailq.h>
 #include <rte_eal.h>
 #include <rte_alarm.h>
 #include <rte_ether.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_malloc.h>
 #include <rte_random.h>
 #include <rte_dev.h>
@@ -4595,6 +4594,7 @@ static void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl)
                lc->link_ok = link_ok;
                lc->acaps = acaps;
                lc->link_caps = link_caps;
+               t4_os_link_changed(adapter, pi->pidx);
        }
 
        if (mod_changed) {