common/mlx5: optimize cache list object memory
[dpdk.git] / drivers / common / mlx5 / linux / mlx5_nl.h
index 53021e1..15129ff 100644 (file)
@@ -25,6 +25,7 @@ struct mlx5_nl_vlan_dev {
 struct mlx5_nl_vlan_vmwa_context {
        int nl_socket;
        uint32_t vf_ifindex;
+       rte_spinlock_t sl;
        struct mlx5_nl_vlan_dev vlan_dev[4096];
 };