Lines Matching full:pri
728 qp->pri.vid = 0xFFFF; in _mlx4_ib_create_qp_rss()
1373 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common()
1374 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common()
1375 qp->pri.smac = 0; in destroy_qp_common()
1376 qp->pri.smac_port = 0; in destroy_qp_common()
1382 if (qp->pri.vid < 0x1000) { in destroy_qp_common()
1383 mlx4_unregister_vlan(dev->dev, qp->pri.vlan_port, qp->pri.vid); in destroy_qp_common()
1384 qp->pri.vid = 0xFFFF; in destroy_qp_common()
1385 qp->pri.candidate_vid = 0xFFFF; in destroy_qp_common()
1386 qp->pri.update_vid = 0; in destroy_qp_common()
1535 qp->pri.vid = 0xFFFF; in _mlx4_ib_create_qp()
1560 qp->pri.vid = 0xFFFF; in _mlx4_ib_create_qp()
1862 path, &mqp->pri, port); in mlx4_set_path()
1899 if (!qp->pri.smac && !qp->pri.smac_port) { in handle_eth_ud_smac_index()
1902 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index()
1903 qp->pri.candidate_smac = u64_mac; in handle_eth_ud_smac_index()
1904 qp->pri.candidate_smac_port = qp->port; in handle_eth_ud_smac_index()
2557 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in __mlx4_ib_modify_qp()
2558 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in __mlx4_ib_modify_qp()
2559 qp->pri.smac = 0; in __mlx4_ib_modify_qp()
2560 qp->pri.smac_port = 0; in __mlx4_ib_modify_qp()
2566 if (qp->pri.vid < 0x1000) { in __mlx4_ib_modify_qp()
2567 mlx4_unregister_vlan(dev->dev, qp->pri.vlan_port, qp->pri.vid); in __mlx4_ib_modify_qp()
2568 qp->pri.vid = 0xFFFF; in __mlx4_ib_modify_qp()
2569 qp->pri.candidate_vid = 0xFFFF; in __mlx4_ib_modify_qp()
2570 qp->pri.update_vid = 0; in __mlx4_ib_modify_qp()
2586 if (qp->pri.candidate_smac || in __mlx4_ib_modify_qp()
2587 (!qp->pri.candidate_smac && qp->pri.candidate_smac_port)) { in __mlx4_ib_modify_qp()
2589 mlx4_unregister_mac(dev->dev, qp->pri.candidate_smac_port, qp->pri.candidate_smac); in __mlx4_ib_modify_qp()
2591 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) in __mlx4_ib_modify_qp()
2592 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in __mlx4_ib_modify_qp()
2593 qp->pri.smac = qp->pri.candidate_smac; in __mlx4_ib_modify_qp()
2594 qp->pri.smac_index = qp->pri.candidate_smac_index; in __mlx4_ib_modify_qp()
2595 qp->pri.smac_port = qp->pri.candidate_smac_port; in __mlx4_ib_modify_qp()
2597 qp->pri.candidate_smac = 0; in __mlx4_ib_modify_qp()
2598 qp->pri.candidate_smac_index = 0; in __mlx4_ib_modify_qp()
2599 qp->pri.candidate_smac_port = 0; in __mlx4_ib_modify_qp()
2616 if (qp->pri.update_vid) { in __mlx4_ib_modify_qp()
2618 if (qp->pri.candidate_vid < 0x1000) in __mlx4_ib_modify_qp()
2619 mlx4_unregister_vlan(dev->dev, qp->pri.candidate_vlan_port, in __mlx4_ib_modify_qp()
2620 qp->pri.candidate_vid); in __mlx4_ib_modify_qp()
2622 if (qp->pri.vid < 0x1000) in __mlx4_ib_modify_qp()
2623 mlx4_unregister_vlan(dev->dev, qp->pri.vlan_port, in __mlx4_ib_modify_qp()
2624 qp->pri.vid); in __mlx4_ib_modify_qp()
2625 qp->pri.vid = qp->pri.candidate_vid; in __mlx4_ib_modify_qp()
2626 qp->pri.vlan_port = qp->pri.candidate_vlan_port; in __mlx4_ib_modify_qp()
2627 qp->pri.vlan_index = qp->pri.candidate_vlan_index; in __mlx4_ib_modify_qp()
2629 qp->pri.candidate_vid = 0xFFFF; in __mlx4_ib_modify_qp()
2630 qp->pri.update_vid = 0; in __mlx4_ib_modify_qp()
4127 qp->pri.vid = 0xFFFF; in mlx4_ib_create_wq()