Searched refs:nicvf (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.h | 330 void nicvf_config_vlan_stripping(struct nicvf *nic, 332 int nicvf_set_qset_resources(struct nicvf *nic); 334 void nicvf_qset_config(struct nicvf *nic, bool enable); 339 void nicvf_sq_disable(struct nicvf *nic, int qidx); 349 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, 361 u64 nicvf_reg_read(struct nicvf *nic, u64 offset); 363 u64 nicvf_qset_reg_read(struct nicvf *nic, u64 offset); 364 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, 366 u64 nicvf_queue_reg_read(struct nicvf *nic, 370 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx); [all …]
|
H A D | nicvf_main.c | 276 (struct nicvf *)mbx.nicvf.nicvf; in nicvf_handle_mbx_intr() 284 nic->pnicvf = (struct nicvf *)mbx.nicvf.nicvf; in nicvf_handle_mbx_intr() 479 mbx.nicvf.nicvf = (u64)nic; in nicvf_send_vf_struct() 1024 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_misc_intr_handler() 1042 struct nicvf *nic = cq_poll->nicvf; in nicvf_intr_handler() 1061 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_rbdr_intr_handler() 1082 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_qs_err_intr_handler() 1440 struct nicvf, in nicvf_link_status_check_task() 1750 struct nicvf *nic; in nicvf_reset_task() 2098 struct nicvf *nic; in nicvf_probe() [all …]
|
H A D | nicvf_queues.c | 22 static void nicvf_get_page(struct nicvf *nic) in nicvf_get_page() 32 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg() 454 struct nicvf *nic = container_of(work, struct nicvf, rbdr_work.work); in nicvf_rbdr_work() 476 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue() 504 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue() 660 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr() 989 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources() 1037 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources() 1171 void nicvf_sq_disable(struct nicvf *nic, int qidx) in nicvf_sq_disable() 1185 struct nicvf *nic = netdev_priv(netdev); in nicvf_sq_free_used_descs() [all …]
|
H A D | nicvf_ethtool.c | 122 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link_ksettings() 284 struct nicvf *snic; in nicvf_get_sset_count() 366 struct nicvf *nic = netdev_priv(dev); in nicvf_get_regs() 547 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxnfc() 633 struct nicvf *nic = netdev_priv(dev); in nicvf_set_rxnfc() 651 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxfh_indir_size() 659 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxfh() 680 struct nicvf *nic = netdev_priv(dev); in nicvf_set_rxfh() 711 struct nicvf *nic = netdev_priv(dev); in nicvf_get_channels() 726 struct nicvf *nic = netdev_priv(dev); in nicvf_set_channels() [all …]
|
H A D | nic.h | 122 struct nicvf *nicvf; member 276 struct nicvf { struct 277 struct nicvf *pnicvf; argument 304 struct nicvf *snicvf[MAX_SQS_PER_VF]; argument 529 u64 nicvf; member 598 struct nicvf_ptr nicvf; member 631 int nicvf_send_msg_to_pf(struct nicvf *vf, union nic_mbx *mbx); 632 void nicvf_config_rss(struct nicvf *nic); 633 void nicvf_set_rss_key(struct nicvf *nic); 635 void nicvf_update_stats(struct nicvf *nic); [all …]
|
H A D | Makefile | 9 obj-$(CONFIG_THUNDER_NIC_VF) += nicvf.o 12 nicvf-y := nicvf_main.o nicvf_queues.o 13 nicvf-y += nicvf_ethtool.o
|
H A D | nic_main.c | 48 u64 nicvf[MAX_NUM_VFS_SUPPORTED]; member 700 mbx.nicvf.msg = NIC_MBOX_MSG_PNICVF_PTR; in nic_send_pnicvf() 701 mbx.nicvf.nicvf = nic->nicvf[nic->pqs_vf[sqs]]; in nic_send_pnicvf() 706 static void nic_send_snicvf(struct nicpf *nic, struct nicvf_ptr *nicvf) in nic_send_snicvf() argument 709 int sqs_id = nic->vf_sqs[nicvf->vf_id][nicvf->sqs_id]; in nic_send_snicvf() 711 mbx.nicvf.msg = NIC_MBOX_MSG_SNICVF_PTR; in nic_send_snicvf() 712 mbx.nicvf.sqs_id = nicvf->sqs_id; in nic_send_snicvf() 713 mbx.nicvf.nicvf = nic->nicvf[sqs_id]; in nic_send_snicvf() 714 nic_send_msg_to_vf(nic, nicvf->vf_id, &mbx); in nic_send_snicvf() 1067 nic->nicvf[vf] = mbx.nicvf.nicvf; in nic_handle_mbx_intr() [all …]
|