enic: fix port id in received mbufs
[dpdk.git] / lib / librte_pmd_enic / enic.h
index 57b9c80..0eba334 100644 (file)
@@ -99,6 +99,7 @@ struct enic {
        struct vnic_dev_bar bar0;
        struct vnic_dev *vdev;
 
+       unsigned int port_id;
        struct rte_eth_dev *rte_dev;
        struct enic_fdir fdir;
        char bdf_name[ENICPMD_BDF_LENGTH];
@@ -110,7 +111,7 @@ struct enic {
        pthread_t err_intr_thread;
        int promisc;
        int allmulti;
-       int ig_vlan_strip_en;
+       uint8_t ig_vlan_strip_en;
        int link_status;
        u8 hw_ip_checksum;