Searched refs:hw_vlan_strip (Results 1 – 5 of 5) sorted by relevance
100 if (!priv->sh->dev_cap.hw_vlan_strip) { in mlx5_vlan_strip_queue_set()146 int hw_vlan_strip = !!(dev->data->dev_conf.rxmode.offloads & in mlx5_vlan_offload_set() local149 if (!priv->sh->dev_cap.hw_vlan_strip) { in mlx5_vlan_offload_set()156 mlx5_vlan_strip_queue_set(dev, i, hw_vlan_strip); in mlx5_vlan_offload_set()
149 uint32_t hw_vlan_strip:1; /* VLAN stripping is supported. */ member
375 if (priv->sh->dev_cap.hw_vlan_strip) in mlx5_get_rx_queue_offloads()
182 sh->dev_cap.hw_vlan_strip = hca_attr->vlan_cap; in mlx5_os_capabilities_prepare()184 (sh->dev_cap.hw_vlan_strip ? "" : "not ")); in mlx5_os_capabilities_prepare()
234 sh->dev_cap.hw_vlan_strip = !!(attr_ex.raw_packet_caps & in mlx5_os_capabilities_prepare()237 (sh->dev_cap.hw_vlan_strip ? "" : "not ")); in mlx5_os_capabilities_prepare()