]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/thunderx/base/nicvf_hw.c
net/thunderx: support link up and down
[dpdk.git] / drivers / net / thunderx / base / nicvf_hw.c
index b07a2937df462ea16d11dccdf5f8f0963ae03cda..5b1abe20152580c15c39eb5f99ae8170a93d7f8c 100644 (file)
@@ -699,6 +699,7 @@ nicvf_vlan_hw_strip(struct nicvf *nic, bool enable)
        else
                val &= ~((STRIP_SECOND_VLAN | STRIP_FIRST_VLAN) << 25);
 
+       nic->vlan_strip = enable;
        nicvf_reg_write(nic, NIC_VNIC_RQ_GEN_CFG, val);
 }