Lines Matching refs:nicvf

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()
54 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem()
72 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem()
93 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page()
176 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, struct rbdr *rbdr, in nicvf_alloc_rcv_buffer()
233 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb()
253 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr()
319 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr()
380 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr()
454 struct nicvf *nic = container_of(work, struct nicvf, rbdr_work.work); in nicvf_rbdr_work()
466 struct nicvf *nic = from_tasklet(nic, t, rbdr_task); in nicvf_rbdr_task()
476 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue()
493 static void nicvf_free_cmp_queue(struct nicvf *nic, struct cmp_queue *cq) in nicvf_free_cmp_queue()
504 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue()
554 void nicvf_unmap_sndq_buffers(struct nicvf *nic, struct snd_queue *sq, in nicvf_unmap_sndq_buffers()
572 static void nicvf_free_snd_queue(struct nicvf *nic, struct snd_queue *sq) in nicvf_free_snd_queue()
627 static void nicvf_reclaim_snd_queue(struct nicvf *nic, in nicvf_reclaim_snd_queue()
639 static void nicvf_reclaim_rcv_queue(struct nicvf *nic, in nicvf_reclaim_rcv_queue()
649 static void nicvf_reclaim_cmp_queue(struct nicvf *nic, in nicvf_reclaim_cmp_queue()
660 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr()
710 void nicvf_config_vlan_stripping(struct nicvf *nic, netdev_features_t features) in nicvf_config_vlan_stripping()
731 static void nicvf_reset_rcv_queue_stats(struct nicvf *nic) in nicvf_reset_rcv_queue_stats()
745 static void nicvf_rcv_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rcv_queue_config()
818 void nicvf_cmp_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_cmp_queue_config()
859 static void nicvf_snd_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_snd_queue_config()
917 static void nicvf_rbdr_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rbdr_config()
954 void nicvf_qset_config(struct nicvf *nic, bool enable) in nicvf_qset_config()
989 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources()
1007 static int nicvf_alloc_resources(struct nicvf *nic) in nicvf_alloc_resources()
1037 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources()
1064 int nicvf_config_data_transfer(struct nicvf *nic, bool enable) in nicvf_config_data_transfer()
1160 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx) in nicvf_sq_enable()
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()
1206 void nicvf_xdp_sq_doorbell(struct nicvf *nic, in nicvf_xdp_sq_doorbell()
1236 int nicvf_xdp_sq_append_pkt(struct nicvf *nic, struct snd_queue *sq, in nicvf_xdp_sq_append_pkt()
1307 static int nicvf_sq_subdesc_required(struct nicvf *nic, struct sk_buff *skb) in nicvf_sq_subdesc_required()
1330 nicvf_sq_add_hdr_subdesc(struct nicvf *nic, struct snd_queue *sq, int qentry, in nicvf_sq_add_hdr_subdesc()
1465 static inline void nicvf_sq_doorbell(struct nicvf *nic, struct sk_buff *skb, in nicvf_sq_doorbell()
1486 static int nicvf_sq_append_tso(struct nicvf *nic, struct snd_queue *sq, in nicvf_sq_append_tso()
1550 int nicvf_sq_append_skb(struct nicvf *nic, struct snd_queue *sq, in nicvf_sq_append_skb()
1638 static void nicvf_unmap_rcv_buffer(struct nicvf *nic, u64 dma_addr, in nicvf_unmap_rcv_buffer()
1663 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, in nicvf_get_rcv_skb()
1757 void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_enable_intr()
1771 void nicvf_disable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_disable_intr()
1785 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_clear_intr()
1799 int nicvf_is_intr_enabled(struct nicvf *nic, int int_type, int q_idx) in nicvf_is_intr_enabled()
1812 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx) in nicvf_update_rq_stats()
1825 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats()
1839 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs()
1924 int nicvf_check_cqe_tx_errs(struct nicvf *nic, struct cqe_send_t *cqe_tx) in nicvf_check_cqe_tx_errs()