Home
last modified time | relevance | path

Searched refs:pfvf (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c10 static int otx2_check_pfc_config(struct otx2_nic *pfvf) in otx2_check_pfc_config() argument
12 u8 tx_queues = pfvf->hw.tx_queues, prio; in otx2_check_pfc_config()
13 u8 pfc_en = pfvf->pfc_en; in otx2_check_pfc_config()
18 dev_warn(pfvf->dev, in otx2_check_pfc_config()
28 int otx2_pfc_txschq_config(struct otx2_nic *pfvf) in otx2_pfc_txschq_config() argument
33 pfc_en = pfvf->pfc_en; in otx2_pfc_txschq_config()
40 if (!pfc_bit_set || !pfvf->pfc_alloc_status[prio]) in otx2_pfc_txschq_config()
45 err = otx2_txschq_config(pfvf, lvl, prio, true); in otx2_pfc_txschq_config()
47 dev_err(pfvf->dev, in otx2_pfc_txschq_config()
58 static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio) in otx2_pfc_txschq_alloc_one() argument
[all …]
Dotx2_common.c18 struct otx2_nic *pfvf, int qidx) in otx2_nix_rq_op_stats() argument
23 ptr = (u64 *)otx2_get_regaddr(pfvf, NIX_LF_RQ_OP_OCTS); in otx2_nix_rq_op_stats()
26 ptr = (u64 *)otx2_get_regaddr(pfvf, NIX_LF_RQ_OP_PKTS); in otx2_nix_rq_op_stats()
31 struct otx2_nic *pfvf, int qidx) in otx2_nix_sq_op_stats() argument
36 ptr = (u64 *)otx2_get_regaddr(pfvf, NIX_LF_SQ_OP_OCTS); in otx2_nix_sq_op_stats()
39 ptr = (u64 *)otx2_get_regaddr(pfvf, NIX_LF_SQ_OP_PKTS); in otx2_nix_sq_op_stats()
43 void otx2_update_lmac_stats(struct otx2_nic *pfvf) in otx2_update_lmac_stats() argument
47 if (!netif_running(pfvf->netdev)) in otx2_update_lmac_stats()
50 mutex_lock(&pfvf->mbox.lock); in otx2_update_lmac_stats()
51 req = otx2_mbox_alloc_msg_cgx_stats(&pfvf->mbox); in otx2_update_lmac_stats()
[all …]
Dcn10k.c26 int cn10k_lmtst_init(struct otx2_nic *pfvf) in cn10k_lmtst_init() argument
33 if (!test_bit(CN10K_LMTST, &pfvf->hw.cap_flag)) { in cn10k_lmtst_init()
34 pfvf->hw_ops = &otx2_hw_ops; in cn10k_lmtst_init()
38 pfvf->hw_ops = &cn10k_hw_ops; in cn10k_lmtst_init()
40 pfvf->tot_lmt_lines = (num_online_cpus() * LMT_BURST_SIZE); in cn10k_lmtst_init()
41 pfvf->hw.lmt_info = alloc_percpu(struct otx2_lmt_info); in cn10k_lmtst_init()
43 mutex_lock(&pfvf->mbox.lock); in cn10k_lmtst_init()
44 req = otx2_mbox_alloc_msg_lmtst_tbl_setup(&pfvf->mbox); in cn10k_lmtst_init()
46 mutex_unlock(&pfvf->mbox.lock); in cn10k_lmtst_init()
52 err = qmem_alloc(pfvf->dev, &pfvf->dync_lmt, pfvf->tot_lmt_lines, in cn10k_lmtst_init()
[all …]
Dotx2_ethtool.c72 static struct cgx_fw_data *otx2_get_fwdata(struct otx2_nic *pfvf);
77 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local
80 strscpy(info->bus_info, pci_name(pfvf->pdev), sizeof(info->bus_info)); in otx2_get_drvinfo()
83 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) in otx2_get_qset_strings() argument
85 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
88 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_strings()
95 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_strings()
106 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local
122 otx2_get_qset_strings(pfvf, &data, 0); in otx2_get_strings()
124 if (!test_bit(CN10K_RPM, &pfvf->hw.cap_flag)) { in otx2_get_strings()
[all …]
Dotx2_devlink.c15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local
18 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_validate()
24 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_validate()
38 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_set() local
40 if (!pfvf->flow_cfg) in otx2_dl_mcam_count_set()
43 otx2_alloc_mcam_entries(pfvf, ctx->val.vu16); in otx2_dl_mcam_count_set()
44 otx2_tc_alloc_ent_bitmap(pfvf); in otx2_dl_mcam_count_set()
53 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local
56 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_get()
61 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_get()
[all …]
Dotx2_txrx.c28 static bool otx2_xdp_rcv_pkt_handler(struct otx2_nic *pfvf,
33 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status() argument
39 status = otx2_atomic64_fetch_add(incr, pfvf->cq_op_addr); in otx2_nix_cq_op_status()
43 dev_err(pfvf->dev, "CQ stopped due to error"); in otx2_nix_cq_op_status()
81 static dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf, in otx2_dma_map_skb_frag() argument
99 return otx2_dma_map_page(pfvf, page, offset, *len, DMA_TO_DEVICE); in otx2_dma_map_skb_frag()
102 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags() argument
107 otx2_dma_unmap_page(pfvf, sg->dma_addr[seg], in otx2_dma_unmap_skb_frags()
113 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_xdp_snd_pkt_handler() argument
124 pa = otx2_iova_to_phys(pfvf->iommu_domain, sg->dma_addr[0]); in otx2_xdp_snd_pkt_handler()
[all …]
Dotx2_flows.c15 static int otx2_mcam_entry_init(struct otx2_nic *pfvf);
35 static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg) in otx2_clear_ntuple_flow_info() argument
37 devm_kfree(pfvf->dev, flow_cfg->flow_ent); in otx2_clear_ntuple_flow_info()
42 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) in otx2_free_ntuple_mcam_entries() argument
44 struct otx2_flow_config *flow_cfg = pfvf->flow_cfg; in otx2_free_ntuple_mcam_entries()
51 mutex_lock(&pfvf->mbox.lock); in otx2_free_ntuple_mcam_entries()
53 req = otx2_mbox_alloc_msg_npc_mcam_free_entry(&pfvf->mbox); in otx2_free_ntuple_mcam_entries()
60 err = otx2_sync_mbox_msg(&pfvf->mbox); in otx2_free_ntuple_mcam_entries()
64 mutex_unlock(&pfvf->mbox.lock); in otx2_free_ntuple_mcam_entries()
65 otx2_clear_ntuple_flow_info(pfvf, flow_cfg); in otx2_free_ntuple_mcam_entries()
[all …]
Dotx2_common.h66 otx2_read64(pfvf, NIX_LF_RX_STATX(reg))
68 otx2_read64(pfvf, NIX_LF_TX_STATX(reg))
176 struct otx2_nic *pfvf; member
552 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings() argument
554 struct otx2_hw *hw = &pfvf->hw; in otx2_setup_dev_hw_settings()
556 pfvf->hw.cq_time_wait = CQ_TIMER_THRESH_DEFAULT; in otx2_setup_dev_hw_settings()
557 pfvf->hw.cq_ecount_wait = CQ_CQE_THRESH_DEFAULT; in otx2_setup_dev_hw_settings()
558 pfvf->hw.cq_qcount_wait = CQ_QCOUNT_DEFAULT; in otx2_setup_dev_hw_settings()
562 if (is_96xx_A0(pfvf->pdev)) { in otx2_setup_dev_hw_settings()
566 pfvf->hw.cq_qcount_wait = 0x0; in otx2_setup_dev_hw_settings()
[all …]
Dcn10k_macsec.c90 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc() argument
93 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_alloc_rsrc()
112 rsp = (struct mcs_alloc_rsrc_rsp *)otx2_mbox_get_rsp(&pfvf->mbox.mbox, in cn10k_mcs_alloc_rsrc()
142 dev_err(pfvf->dev, "Failed to allocate %s %s resource\n", in cn10k_mcs_alloc_rsrc()
148 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc() argument
152 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_free_rsrc()
167 if (otx2_sync_mbox_msg(&pfvf->mbox)) in cn10k_mcs_free_rsrc()
174 dev_err(pfvf->dev, "Failed to free %s %s resource\n", in cn10k_mcs_free_rsrc()
179 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() argument
181 return cn10k_mcs_alloc_rsrc(pfvf, MCS_TX, MCS_RSRC_TYPE_SA, hw_sa_id); in cn10k_mcs_alloc_txsa()
[all …]
Dotx2_ptp.c129 struct otx2_nic *pfvf = ptp->nic; in otx2_get_ptpclock() local
131 mutex_lock(&pfvf->mbox.lock); in otx2_get_ptpclock()
133 mutex_unlock(&pfvf->mbox.lock); in otx2_get_ptpclock()
140 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_adjtime() local
142 mutex_lock(&pfvf->mbox.lock); in otx2_ptp_adjtime()
144 mutex_unlock(&pfvf->mbox.lock); in otx2_ptp_adjtime()
167 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_settime() local
172 mutex_lock(&pfvf->mbox.lock); in otx2_ptp_settime()
174 mutex_unlock(&pfvf->mbox.lock); in otx2_ptp_settime()
225 struct otx2_nic *pfvf = ptp->nic; in otx2_sync_tstamp() local
[all …]
Dcn10k.h13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight() argument
20 weight = mtu / pfvf->hw.dwrr_mtu; in mtu_to_dwrr_weight()
21 if (mtu % pfvf->hw.dwrr_mtu) in mtu_to_dwrr_weight()
30 int cn10k_lmtst_init(struct otx2_nic *pfvf);
31 int cn10k_free_all_ipolicers(struct otx2_nic *pfvf);
32 int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf);
33 int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf);
34 int cn10k_set_matchall_ipolicer_rate(struct otx2_nic *pfvf,
36 int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx,
38 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf);
[all …]
Dotx2_ptp.h26 int otx2_ptp_init(struct otx2_nic *pfvf);
27 void otx2_ptp_destroy(struct otx2_nic *pfvf);
29 int otx2_ptp_clock_index(struct otx2_nic *pfvf);
30 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
Dotx2_devlink.h13 struct otx2_nic *pfvf; member
17 int otx2_register_dl(struct otx2_nic *pfvf);
18 void otx2_unregister_dl(struct otx2_nic *pfvf);
Dotx2_dmac_flt.c89 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove() argument
95 mutex_lock(&pfvf->mbox.lock); in otx2_dmacflt_do_remove()
96 req = otx2_mbox_alloc_msg_cgx_mac_addr_del(&pfvf->mbox); in otx2_dmacflt_do_remove()
98 mutex_unlock(&pfvf->mbox.lock); in otx2_dmacflt_do_remove()
104 err = otx2_sync_mbox_msg(&pfvf->mbox); in otx2_dmacflt_do_remove()
105 mutex_unlock(&pfvf->mbox.lock); in otx2_dmacflt_do_remove()
Dotx2_pf.c49 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable);
50 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable);
470 pf = vf_mbox->pfvf; in otx2_pfvf_mbox_handler()
505 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler()
630 mbox->pfvf = pf; in otx2_pfvf_mbox_init()
832 pf = af_mbox->pfvf; in otx2_pfaf_mbox_handler()
945 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler()
1065 mbox->pfvf = pf; in otx2_pfaf_mbox_init()
1667 struct otx2_nic *pfvf; in otx2_dim_work() local
1673 pfvf = (struct otx2_nic *)cq_poll->dev; in otx2_dim_work()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c61 struct rvu_pfvf *pfvf; in rvu_npa_aq_enq_inst() local
65 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npa_aq_enq_inst()
66 if (!pfvf->aura_ctx || req->aura_id >= pfvf->aura_ctx->qsize) in rvu_npa_aq_enq_inst()
70 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst()
121 if (req->aura.pool_addr >= pfvf->pool_ctx->qsize) { in rvu_npa_aq_enq_inst()
126 req->aura.pool_addr = pfvf->pool_ctx->iova + in rvu_npa_aq_enq_inst()
127 (req->aura.pool_addr * pfvf->pool_ctx->entry_sz); in rvu_npa_aq_enq_inst()
158 __set_bit(req->aura_id, pfvf->aura_bmap); in rvu_npa_aq_enq_inst()
161 (test_bit(req->aura_id, pfvf->aura_bmap) & in rvu_npa_aq_enq_inst()
164 __set_bit(req->aura_id, pfvf->aura_bmap); in rvu_npa_aq_enq_inst()
[all …]
Drvu.c27 static void rvu_set_msix_offset(struct rvu *rvu, struct rvu_pfvf *pfvf,
29 static void rvu_clear_msix_offset(struct rvu *rvu, struct rvu_pfvf *pfvf,
341 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map() argument
369 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map()
370 num_lfs = pfvf->npalf; in rvu_update_rsrc_map()
374 pfvf->nixlf = attach ? true : false; in rvu_update_rsrc_map()
375 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map()
378 attach ? pfvf->sso++ : pfvf->sso--; in rvu_update_rsrc_map()
379 num_lfs = pfvf->sso; in rvu_update_rsrc_map()
382 attach ? pfvf->ssow++ : pfvf->ssow--; in rvu_update_rsrc_map()
[all …]
Drvu_nix.c101 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local
105 if (!pfvf->nixlf || blkaddr < 0) in is_nixlf_attached()
126 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_nixlf() local
131 if (!pfvf->nixlf || blkaddr < 0) in nix_get_nixlf()
147 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local
149 pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_struct_ptrs()
151 if (!pfvf->nixlf || *blkaddr < 0) in nix_get_struct_ptrs()
295 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local
311 pfvf->cgx_lmac = rvu->pf2cgxlmac_map[pf]; in nix_interface_init()
312 rvu_get_cgx_lmac_id(pfvf->cgx_lmac, &cgx_id, &lmac_id); in nix_interface_init()
[all …]
Drvu_switch.c16 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local
18 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_install_rx_rule()
23 if (!test_bit(NIXLF_INITIALIZED, &pfvf->flags)) in rvu_switch_install_rx_rule()
26 ether_addr_copy(req.packet.dmac, pfvf->mac_addr); in rvu_switch_install_rx_rule()
31 req.channel = pfvf->rx_chan_base; in rvu_switch_install_rx_rule()
33 req.intf = pfvf->nix_rx_intf; in rvu_switch_install_rx_rule()
44 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
47 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_install_tx_rule()
52 if (!test_bit(NIXLF_INITIALIZED, &pfvf->flags)) in rvu_switch_install_tx_rule()
55 lbkid = pfvf->nix_blkaddr == BLKADDR_NIX0 ? 0 : 1; in rvu_switch_install_tx_rule()
[all …]
Drvu_sdp.c52 struct rvu_pfvf *pfvf; in rvu_sdp_init() local
60 pfvf = &rvu->pf[sdp_pf_num[i]]; in rvu_sdp_init()
62 pfvf->sdp_info = devm_kzalloc(rvu->dev, in rvu_sdp_init()
65 if (!pfvf->sdp_info) { in rvu_sdp_init()
85 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_set_sdp_chan_info() local
87 memcpy(pfvf->sdp_info, &req->info, sizeof(struct sdp_node_info)); in rvu_mbox_handler_set_sdp_chan_info()
Drvu_cn10k.c98 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_update_lmtaddr() local
117 if (!pfvf->lmt_base_addr) in rvu_update_lmtaddr()
118 pfvf->lmt_base_addr = val; in rvu_update_lmtaddr()
135 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup() local
206 if (!pfvf->lmt_map_ent_w1) in rvu_mbox_handler_lmtst_tbl_setup()
207 pfvf->lmt_map_ent_w1 = val; in rvu_mbox_handler_lmtst_tbl_setup()
239 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
246 if (pfvf->lmt_base_addr || pfvf->lmt_map_ent_w1) { in rvu_reset_lmt_map_tbl()
252 if (pfvf->lmt_base_addr) { in rvu_reset_lmt_map_tbl()
254 &pfvf->lmt_base_addr, in rvu_reset_lmt_map_tbl()
[all …]
Drvu_npc_fs.c973 static void npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry() argument
994 if (req->op == NIX_RX_ACTION_DEFAULT && pfvf->def_ucast_rule) in npc_update_rx_entry()
995 action = pfvf->def_ucast_rule->rx_action; in npc_update_rx_entry()
1012 static void npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry() argument
1049 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() argument
1054 struct rvu_npc_mcam_rule *def_ucast_rule = pfvf->def_ucast_rule; in npc_install_flow()
1076 npc_update_rx_entry(rvu, pfvf, entry, req, target, pf_set_vfs_mac); in npc_install_flow()
1078 npc_update_tx_entry(rvu, pfvf, entry, req, target); in npc_install_flow()
1157 rule->intf = pfvf->nix_tx_intf; in npc_install_flow()
1159 rule->intf = pfvf->nix_rx_intf; in npc_install_flow()
[all …]
Drvu_debugfs.c229 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf);
847 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local
870 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_dbg_rvu_pf_cgx_map_display()
872 if (pfvf->nix_blkaddr == BLKADDR_NIX0) in rvu_dbg_rvu_pf_cgx_map_display()
915 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() argument
923 if (!pfvf->aura_ctx) { in print_npa_qsize()
926 bitmap_print_to_pagebuf(false, buf, pfvf->aura_bmap, in print_npa_qsize()
927 pfvf->aura_ctx->qsize); in print_npa_qsize()
928 seq_printf(m, "Aura count : %d\n", pfvf->aura_ctx->qsize); in print_npa_qsize()
932 if (!pfvf->pool_ctx) { in print_npa_qsize()
[all …]
Drvu_npc_hash.c1533 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_reset() local
1539 pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_npc_exact_mac_addr_reset()
1544 dev_err(rvu->dev, "%s MAC (%pM) del PF=%d failed\n", __func__, pfvf->mac_addr, pf); in rvu_npc_exact_mac_addr_reset()
1549 __func__, pfvf->mac_addr, pf, seq_id); in rvu_npc_exact_mac_addr_reset()
1567 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_update() local
1581 pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_npc_exact_mac_addr_update()
1604 __func__, req->mac_addr, pfvf->mac_addr, pfvf->default_mac, pf); in rvu_npc_exact_mac_addr_update()
1605 ether_addr_copy(pfvf->mac_addr, req->mac_addr); in rvu_npc_exact_mac_addr_update()
1614 pfvf->mac_addr, pf); in rvu_npc_exact_mac_addr_update()
1618 pfvf->rx_chan_base, 0, &seq_id, true, in rvu_npc_exact_mac_addr_update()
[all …]
Drvu_npc.c86 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() argument
151 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local
153 pfvf = rvu_get_pfvf(rvu, pcifunc); in npc_get_ucast_mcam_index()
159 if (pfvf->nix_blkaddr == blkaddr) in npc_get_ucast_mcam_index()
408 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local
420 pfvf = rvu_get_pfvf(rvu, target_func); in npc_fixup_vf_rule()
425 test_bit(NIXLF_INITIALIZED, &pfvf->flags))) in npc_fixup_vf_rule()
605 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local
640 req.intf = pfvf->nix_rx_intf; in rvu_npc_install_ucast_entry()
654 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local
[all …]

12