net/mlx5: check VLAN push/pop support
[dpdk.git] / drivers / net / mlx4 / mlx4.c
index 7cd35cd..c522157 100644 (file)
@@ -201,6 +201,7 @@ mlx4_proc_priv_init(struct rte_eth_dev *dev)
        struct mlx4_proc_priv *ppriv;
        size_t ppriv_size;
 
+       mlx4_proc_priv_uninit(dev);
        /*
         * UAR register table follows the process private structure. BlueFlame
         * registers for Tx queues are stored in the table.