Lines Matching refs:p_params
193 struct qed_queue_start_common_params *p_params, in _qed_eth_queue_to_cid() argument
209 p_cid->rel.vport_id = p_params->vport_id; in _qed_eth_queue_to_cid()
210 p_cid->rel.queue_id = p_params->queue_id; in _qed_eth_queue_to_cid()
211 p_cid->rel.stats_id = p_params->stats_id; in _qed_eth_queue_to_cid()
212 p_cid->sb_igu_id = p_params->p_sb->igu_sb_id; in _qed_eth_queue_to_cid()
214 p_cid->sb_idx = p_params->sb_idx; in _qed_eth_queue_to_cid()
289 struct qed_queue_start_common_params *p_params, in qed_eth_queue_to_cid() argument
324 p_params, b_is_rx, p_vf_params); in qed_eth_queue_to_cid()
335 struct qed_queue_start_common_params *p_params) in qed_eth_queue_to_cid_pf() argument
337 return qed_eth_queue_to_cid(p_hwfn, opaque_fid, p_params, b_is_rx, in qed_eth_queue_to_cid_pf()
342 struct qed_sp_vport_start_params *p_params) in qed_sp_eth_vport_start() argument
352 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_eth_vport_start()
358 init_data.opaque_fid = p_params->opaque_fid; in qed_sp_eth_vport_start()
370 p_ramrod->mtu = cpu_to_le16(p_params->mtu); in qed_sp_eth_vport_start()
371 p_ramrod->handle_ptp_pkts = p_params->handle_ptp_pkts; in qed_sp_eth_vport_start()
372 p_ramrod->inner_vlan_removal_en = p_params->remove_inner_vlan; in qed_sp_eth_vport_start()
373 p_ramrod->drop_ttl0_en = p_params->drop_ttl0; in qed_sp_eth_vport_start()
374 p_ramrod->untagged = p_params->only_untagged; in qed_sp_eth_vport_start()
385 tpa_param->max_buff_num = p_params->max_buffers_per_cqe; in qed_sp_eth_vport_start()
387 switch (p_params->tpa_mode) { in qed_sp_eth_vport_start()
389 min_size = p_params->mtu / 2; in qed_sp_eth_vport_start()
404 p_ramrod->tx_switching_en = p_params->tx_switching; in qed_sp_eth_vport_start()
406 p_ramrod->ctl_frame_mac_check_en = !!p_params->check_mac; in qed_sp_eth_vport_start()
407 p_ramrod->ctl_frame_ethtype_check_en = !!p_params->check_ethtype; in qed_sp_eth_vport_start()
411 p_params->concrete_fid); in qed_sp_eth_vport_start()
417 struct qed_sp_vport_start_params *p_params) in qed_sp_vport_start() argument
420 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start()
421 p_params->mtu, in qed_sp_vport_start()
422 p_params->remove_inner_vlan, in qed_sp_vport_start()
423 p_params->tpa_mode, in qed_sp_vport_start()
424 p_params->max_buffers_per_cqe, in qed_sp_vport_start()
425 p_params->only_untagged); in qed_sp_vport_start()
428 return qed_sp_eth_vport_start(p_hwfn, p_params); in qed_sp_vport_start()
640 struct qed_sp_vport_update_params *p_params) in qed_sp_update_mcast_bin() argument
647 if (!p_params->update_approx_mcast_flg) in qed_sp_update_mcast_bin()
652 u32 *p_bins = p_params->bins; in qed_sp_update_mcast_bin()
659 struct qed_sp_vport_update_params *p_params, in qed_sp_vport_update() argument
663 struct qed_rss_params *p_rss_params = p_params->rss_params; in qed_sp_vport_update()
672 rc = qed_vf_pf_vport_update(p_hwfn, p_params); in qed_sp_vport_update()
676 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update()
682 init_data.opaque_fid = p_params->opaque_fid; in qed_sp_vport_update()
697 p_cmn->rx_active_flg = p_params->vport_active_rx_flg; in qed_sp_vport_update()
698 p_cmn->update_rx_active_flg = p_params->update_vport_active_rx_flg; in qed_sp_vport_update()
699 p_cmn->tx_active_flg = p_params->vport_active_tx_flg; in qed_sp_vport_update()
700 p_cmn->update_tx_active_flg = p_params->update_vport_active_tx_flg; in qed_sp_vport_update()
701 p_cmn->accept_any_vlan = p_params->accept_any_vlan; in qed_sp_vport_update()
702 val = p_params->update_accept_any_vlan_flg; in qed_sp_vport_update()
705 p_cmn->inner_vlan_removal_en = p_params->inner_vlan_removal_flg; in qed_sp_vport_update()
706 val = p_params->update_inner_vlan_removal_flg; in qed_sp_vport_update()
709 p_cmn->default_vlan_en = p_params->default_vlan_enable_flg; in qed_sp_vport_update()
710 val = p_params->update_default_vlan_enable_flg; in qed_sp_vport_update()
713 p_cmn->default_vlan = cpu_to_le16(p_params->default_vlan); in qed_sp_vport_update()
714 p_cmn->update_default_vlan_flg = p_params->update_default_vlan_flg; in qed_sp_vport_update()
716 p_cmn->silent_vlan_removal_en = p_params->silent_vlan_removal_flg; in qed_sp_vport_update()
718 p_ramrod->common.tx_switching_en = p_params->tx_switching_flg; in qed_sp_vport_update()
719 p_cmn->update_tx_switching_en_flg = p_params->update_tx_switching_flg; in qed_sp_vport_update()
721 p_cmn->anti_spoofing_en = p_params->anti_spoofing_en; in qed_sp_vport_update()
722 val = p_params->update_anti_spoofing_en_flg; in qed_sp_vport_update()
731 if (p_params->update_ctl_frame_check) { in qed_sp_vport_update()
732 p_cmn->ctl_frame_mac_check_en = p_params->mac_chk_en; in qed_sp_vport_update()
733 p_cmn->ctl_frame_ethtype_check_en = p_params->ethtype_chk_en; in qed_sp_vport_update()
737 qed_sp_update_mcast_bin(p_hwfn, p_ramrod, p_params); in qed_sp_vport_update()
739 qed_sp_update_accept_mode(p_hwfn, p_ramrod, p_params->accept_flags); in qed_sp_vport_update()
740 qed_sp_vport_update_sge_tpa(p_hwfn, p_ramrod, p_params->sge_tpa_params); in qed_sp_vport_update()
924 struct qed_queue_start_common_params *p_params, in qed_eth_rx_queue_start() argument
935 p_cid = qed_eth_queue_to_cid_pf(p_hwfn, opaque_fid, true, p_params); in qed_eth_rx_queue_start()
1131 struct qed_queue_start_common_params *p_params, in qed_eth_tx_queue_start() argument
1140 p_cid = qed_eth_queue_to_cid_pf(p_hwfn, opaque_fid, false, p_params); in qed_eth_tx_queue_start()
2020 struct qed_ntuple_filter_params *p_params) in qed_configure_rfs_ntuple_filter() argument
2050 DMA_REGPAIR_LE(p_ramrod->pkt_hdr_addr, p_params->addr); in qed_configure_rfs_ntuple_filter()
2051 p_ramrod->pkt_hdr_length = cpu_to_le16(p_params->length); in qed_configure_rfs_ntuple_filter()
2053 if (p_params->b_is_drop) { in qed_configure_rfs_ntuple_filter()
2056 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_configure_rfs_ntuple_filter()
2060 if (p_params->qid != QED_RFS_NTUPLE_QID_RSS) { in qed_configure_rfs_ntuple_filter()
2061 rc = qed_fw_l2_queue(p_hwfn, p_params->qid, in qed_configure_rfs_ntuple_filter()
2075 p_ramrod->filter_action = p_params->b_is_add ? GFT_ADD_FILTER in qed_configure_rfs_ntuple_filter()
2081 p_params->b_is_add ? "Adding" : "Removing", in qed_configure_rfs_ntuple_filter()
2082 (u64)p_params->addr, p_params->length); in qed_configure_rfs_ntuple_filter()
2497 struct qed_queue_start_common_params *p_params, in qed_start_rxq() argument
2510 p_params->queue_id = p_params->queue_id / cdev->num_hwfns; in qed_start_rxq()
2511 p_params->stats_id = p_params->vport_id; in qed_start_rxq()
2515 p_params, in qed_start_rxq()
2520 DP_ERR(cdev, "Failed to start RXQ#%d\n", p_params->queue_id); in qed_start_rxq()
2526 p_params->queue_id, rss_num, p_params->vport_id, in qed_start_rxq()
2527 p_params->p_sb->igu_sb_id); in qed_start_rxq()
2551 struct qed_queue_start_common_params *p_params, in qed_start_txq() argument
2561 p_params->queue_id = p_params->queue_id / cdev->num_hwfns; in qed_start_txq()
2562 p_params->stats_id = p_params->vport_id; in qed_start_txq()
2566 p_params, p_params->tc, in qed_start_txq()
2570 DP_ERR(cdev, "Failed to start TXQ#%d\n", p_params->queue_id); in qed_start_txq()
2576 p_params->queue_id, rss_num, p_params->vport_id, in qed_start_txq()
2577 p_params->p_sb->igu_sb_id); in qed_start_txq()