Lines Matching refs:smac_info
1738 struct mlx4_roce_smac_vlan_info *smac_info, u8 port) in _mlx4_set_path() argument
1786 if (smac_info->vid < 0x1000) { in _mlx4_set_path()
1788 if (smac_info->vid != vlan_tag) { in _mlx4_set_path()
1793 smac_info->candidate_vid = vlan_tag; in _mlx4_set_path()
1794 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1795 smac_info->candidate_vlan_port = port; in _mlx4_set_path()
1796 smac_info->update_vid = 1; in _mlx4_set_path()
1799 path->vlan_index = smac_info->vlan_index; in _mlx4_set_path()
1806 smac_info->candidate_vid = vlan_tag; in _mlx4_set_path()
1807 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1808 smac_info->candidate_vlan_port = port; in _mlx4_set_path()
1809 smac_info->update_vid = 1; in _mlx4_set_path()
1816 if (smac_info->vid < 0x1000) { in _mlx4_set_path()
1817 smac_info->candidate_vid = 0xFFFF; in _mlx4_set_path()
1818 smac_info->update_vid = 1; in _mlx4_set_path()
1827 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path()
1828 smac_info->smac != smac) { in _mlx4_set_path()
1832 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1833 smac_info->candidate_smac = smac; in _mlx4_set_path()
1834 smac_info->candidate_smac_port = port; in _mlx4_set_path()
1839 smac_index = smac_info->smac_index; in _mlx4_set_path()