net/i40e: support ipn3ke FPGA port bonding
[dpdk.git] / drivers / net / i40e / base / i40e_type.h
index 112866b..06863d7 100644 (file)
@@ -660,6 +660,9 @@ struct i40e_hw {
        struct i40e_nvm_info nvm;
        struct i40e_fc_info fc;
 
+       /* switch device is used to get link status when i40e is in ipn3ke */
+       struct rte_eth_dev *switch_dev;
+
        /* pci info */
        u16 device_id;
        u16 vendor_id;