Lines Matching refs:smac_info
1775 struct mlx4_roce_smac_vlan_info *smac_info, u8 port) in _mlx4_set_path() argument
1823 if (smac_info->vid < 0x1000) { in _mlx4_set_path()
1825 if (smac_info->vid != vlan_tag) { in _mlx4_set_path()
1830 smac_info->candidate_vid = vlan_tag; in _mlx4_set_path()
1831 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1832 smac_info->candidate_vlan_port = port; in _mlx4_set_path()
1833 smac_info->update_vid = 1; in _mlx4_set_path()
1836 path->vlan_index = smac_info->vlan_index; in _mlx4_set_path()
1843 smac_info->candidate_vid = vlan_tag; in _mlx4_set_path()
1844 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1845 smac_info->candidate_vlan_port = port; in _mlx4_set_path()
1846 smac_info->update_vid = 1; in _mlx4_set_path()
1853 if (smac_info->vid < 0x1000) { in _mlx4_set_path()
1854 smac_info->candidate_vid = 0xFFFF; in _mlx4_set_path()
1855 smac_info->update_vid = 1; in _mlx4_set_path()
1864 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path()
1865 smac_info->smac != smac) { in _mlx4_set_path()
1869 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1870 smac_info->candidate_smac = smac; in _mlx4_set_path()
1871 smac_info->candidate_smac_port = port; in _mlx4_set_path()
1876 smac_index = smac_info->smac_index; in _mlx4_set_path()