Lines Matching refs:p_tun

603 void qed_vf_set_vf_start_tunn_update_param(struct qed_tunnel_info *p_tun)  in qed_vf_set_vf_start_tunn_update_param()  argument
605 if (p_tun->vxlan.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
606 p_tun->vxlan.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
607 if (p_tun->l2_geneve.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
608 p_tun->l2_geneve.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
609 if (p_tun->ip_geneve.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
610 p_tun->ip_geneve.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
611 if (p_tun->l2_gre.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
612 p_tun->l2_gre.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
613 if (p_tun->ip_gre.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
614 p_tun->ip_gre.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
616 p_tun->b_update_rx_cls = true; in qed_vf_set_vf_start_tunn_update_param()
617 p_tun->b_update_tx_cls = true; in qed_vf_set_vf_start_tunn_update_param()
621 __qed_vf_update_tunn_param(struct qed_tunn_update_type *p_tun, in __qed_vf_update_tunn_param() argument
626 p_tun->b_mode_enabled = tunn_mode; in __qed_vf_update_tunn_param()
627 p_tun->tun_cls = tunn_cls; in __qed_vf_update_tunn_param()
629 p_tun->b_mode_enabled = false; in __qed_vf_update_tunn_param()
634 struct qed_tunnel_info *p_tun, in qed_vf_update_tunn_param() argument
640 __qed_vf_update_tunn_param(&p_tun->vxlan, feat_mask, in qed_vf_update_tunn_param()
643 __qed_vf_update_tunn_param(&p_tun->l2_geneve, feat_mask, in qed_vf_update_tunn_param()
647 __qed_vf_update_tunn_param(&p_tun->ip_geneve, feat_mask, in qed_vf_update_tunn_param()
651 __qed_vf_update_tunn_param(&p_tun->l2_gre, feat_mask, in qed_vf_update_tunn_param()
654 __qed_vf_update_tunn_param(&p_tun->ip_gre, feat_mask, in qed_vf_update_tunn_param()
657 p_tun->geneve_port.port = p_resp->geneve_udp_port; in qed_vf_update_tunn_param()
658 p_tun->vxlan_port.port = p_resp->vxlan_udp_port; in qed_vf_update_tunn_param()
662 p_tun->vxlan.b_mode_enabled, p_tun->l2_geneve.b_mode_enabled, in qed_vf_update_tunn_param()
663 p_tun->ip_geneve.b_mode_enabled, in qed_vf_update_tunn_param()
664 p_tun->l2_gre.b_mode_enabled, p_tun->ip_gre.b_mode_enabled); in qed_vf_update_tunn_param()
670 struct qed_tunnel_info *p_tun = &p_hwfn->cdev->tunnel; in qed_vf_pf_tunnel_param_update() local
716 qed_vf_update_tunn_param(p_hwfn, p_tun, p_resp); in qed_vf_pf_tunnel_param_update()