Lines Matching refs:p_src

128 			    struct qed_tunnel_info *p_src, bool b_pf_start)  in qed_set_pf_update_tunn_mode()  argument
130 if (p_src->vxlan.b_update_mode || b_pf_start) in qed_set_pf_update_tunn_mode()
131 p_tun->vxlan.b_mode_enabled = p_src->vxlan.b_mode_enabled; in qed_set_pf_update_tunn_mode()
133 if (p_src->l2_gre.b_update_mode || b_pf_start) in qed_set_pf_update_tunn_mode()
134 p_tun->l2_gre.b_mode_enabled = p_src->l2_gre.b_mode_enabled; in qed_set_pf_update_tunn_mode()
136 if (p_src->ip_gre.b_update_mode || b_pf_start) in qed_set_pf_update_tunn_mode()
137 p_tun->ip_gre.b_mode_enabled = p_src->ip_gre.b_mode_enabled; in qed_set_pf_update_tunn_mode()
139 if (p_src->l2_geneve.b_update_mode || b_pf_start) in qed_set_pf_update_tunn_mode()
141 p_src->l2_geneve.b_mode_enabled; in qed_set_pf_update_tunn_mode()
143 if (p_src->ip_geneve.b_update_mode || b_pf_start) in qed_set_pf_update_tunn_mode()
145 p_src->ip_geneve.b_mode_enabled; in qed_set_pf_update_tunn_mode()
149 struct qed_tunnel_info *p_src) in qed_set_tunn_cls_info() argument
153 p_tun->b_update_rx_cls = p_src->b_update_rx_cls; in qed_set_tunn_cls_info()
154 p_tun->b_update_tx_cls = p_src->b_update_tx_cls; in qed_set_tunn_cls_info()
156 type = qed_tunn_clss_to_fw_clss(p_src->vxlan.tun_cls); in qed_set_tunn_cls_info()
158 type = qed_tunn_clss_to_fw_clss(p_src->l2_gre.tun_cls); in qed_set_tunn_cls_info()
160 type = qed_tunn_clss_to_fw_clss(p_src->ip_gre.tun_cls); in qed_set_tunn_cls_info()
162 type = qed_tunn_clss_to_fw_clss(p_src->l2_geneve.tun_cls); in qed_set_tunn_cls_info()
164 type = qed_tunn_clss_to_fw_clss(p_src->ip_geneve.tun_cls); in qed_set_tunn_cls_info()
169 struct qed_tunnel_info *p_src) in qed_set_tunn_ports() argument
171 p_tun->geneve_port.b_update_port = p_src->geneve_port.b_update_port; in qed_set_tunn_ports()
172 p_tun->vxlan_port.b_update_port = p_src->vxlan_port.b_update_port; in qed_set_tunn_ports()
174 if (p_src->geneve_port.b_update_port) in qed_set_tunn_ports()
175 p_tun->geneve_port.port = p_src->geneve_port.port; in qed_set_tunn_ports()
177 if (p_src->vxlan_port.b_update_port) in qed_set_tunn_ports()
178 p_tun->vxlan_port.port = p_src->vxlan_port.port; in qed_set_tunn_ports()
204 struct qed_tunnel_info *p_src, in qed_tunn_set_pf_update_params() argument
209 qed_set_pf_update_tunn_mode(p_tun, p_src, false); in qed_tunn_set_pf_update_params()
210 qed_set_tunn_cls_info(p_tun, p_src); in qed_tunn_set_pf_update_params()
211 qed_set_tunn_ports(p_tun, p_src); in qed_tunn_set_pf_update_params()
266 struct qed_tunnel_info *p_src, in qed_tunn_set_pf_start_params() argument
271 if (!p_src) in qed_tunn_set_pf_start_params()
274 qed_set_pf_update_tunn_mode(p_tun, p_src, true); in qed_tunn_set_pf_start_params()
275 qed_set_tunn_cls_info(p_tun, p_src); in qed_tunn_set_pf_start_params()
276 qed_set_tunn_ports(p_tun, p_src); in qed_tunn_set_pf_start_params()