Lines Matching refs:p_tun
611 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
613 if (p_tun->vxlan.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
614 p_tun->vxlan.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
615 if (p_tun->l2_geneve.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
616 p_tun->l2_geneve.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
617 if (p_tun->ip_geneve.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
618 p_tun->ip_geneve.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
619 if (p_tun->l2_gre.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
620 p_tun->l2_gre.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
621 if (p_tun->ip_gre.b_mode_enabled) in qed_vf_set_vf_start_tunn_update_param()
622 p_tun->ip_gre.b_update_mode = true; in qed_vf_set_vf_start_tunn_update_param()
624 p_tun->b_update_rx_cls = true; in qed_vf_set_vf_start_tunn_update_param()
625 p_tun->b_update_tx_cls = true; in qed_vf_set_vf_start_tunn_update_param()
629 __qed_vf_update_tunn_param(struct qed_tunn_update_type *p_tun, in __qed_vf_update_tunn_param() argument
634 p_tun->b_mode_enabled = tunn_mode; in __qed_vf_update_tunn_param()
635 p_tun->tun_cls = tunn_cls; in __qed_vf_update_tunn_param()
637 p_tun->b_mode_enabled = false; in __qed_vf_update_tunn_param()
642 struct qed_tunnel_info *p_tun, in qed_vf_update_tunn_param() argument
648 __qed_vf_update_tunn_param(&p_tun->vxlan, feat_mask, in qed_vf_update_tunn_param()
651 __qed_vf_update_tunn_param(&p_tun->l2_geneve, feat_mask, in qed_vf_update_tunn_param()
655 __qed_vf_update_tunn_param(&p_tun->ip_geneve, feat_mask, in qed_vf_update_tunn_param()
659 __qed_vf_update_tunn_param(&p_tun->l2_gre, feat_mask, in qed_vf_update_tunn_param()
662 __qed_vf_update_tunn_param(&p_tun->ip_gre, feat_mask, in qed_vf_update_tunn_param()
665 p_tun->geneve_port.port = p_resp->geneve_udp_port; in qed_vf_update_tunn_param()
666 p_tun->vxlan_port.port = p_resp->vxlan_udp_port; in qed_vf_update_tunn_param()
670 p_tun->vxlan.b_mode_enabled, p_tun->l2_geneve.b_mode_enabled, in qed_vf_update_tunn_param()
671 p_tun->ip_geneve.b_mode_enabled, in qed_vf_update_tunn_param()
672 p_tun->l2_gre.b_mode_enabled, p_tun->ip_gre.b_mode_enabled); in qed_vf_update_tunn_param()
678 struct qed_tunnel_info *p_tun = &p_hwfn->cdev->tunnel; in qed_vf_pf_tunnel_param_update() local
724 qed_vf_update_tunn_param(p_hwfn, p_tun, p_resp); in qed_vf_pf_tunnel_param_update()