Lines Matching defs:nic

21 static void nicvf_get_page(struct nicvf *nic)  in nicvf_get_page()
31 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg()
53 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem()
71 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem()
92 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page()
175 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, struct rbdr *rbdr, in nicvf_alloc_rcv_buffer()
232 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb()
252 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr()
318 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr()
379 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr()
453 struct nicvf *nic = container_of(work, struct nicvf, rbdr_work.work); in nicvf_rbdr_work() local
465 struct nicvf *nic = from_tasklet(nic, t, rbdr_task); in nicvf_rbdr_task() local
475 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue()
492 static void nicvf_free_cmp_queue(struct nicvf *nic, struct cmp_queue *cq) in nicvf_free_cmp_queue()
503 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue()
553 void nicvf_unmap_sndq_buffers(struct nicvf *nic, struct snd_queue *sq, in nicvf_unmap_sndq_buffers()
571 static void nicvf_free_snd_queue(struct nicvf *nic, struct snd_queue *sq) in nicvf_free_snd_queue()
626 static void nicvf_reclaim_snd_queue(struct nicvf *nic, in nicvf_reclaim_snd_queue()
638 static void nicvf_reclaim_rcv_queue(struct nicvf *nic, in nicvf_reclaim_rcv_queue()
648 static void nicvf_reclaim_cmp_queue(struct nicvf *nic, in nicvf_reclaim_cmp_queue()
659 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr()
709 void nicvf_config_vlan_stripping(struct nicvf *nic, netdev_features_t features) in nicvf_config_vlan_stripping()
730 static void nicvf_reset_rcv_queue_stats(struct nicvf *nic) in nicvf_reset_rcv_queue_stats()
744 static void nicvf_rcv_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rcv_queue_config()
817 void nicvf_cmp_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_cmp_queue_config()
858 static void nicvf_snd_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_snd_queue_config()
916 static void nicvf_rbdr_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rbdr_config()
953 void nicvf_qset_config(struct nicvf *nic, bool enable) in nicvf_qset_config()
988 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources()
1006 static int nicvf_alloc_resources(struct nicvf *nic) in nicvf_alloc_resources()
1036 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources()
1063 int nicvf_config_data_transfer(struct nicvf *nic, bool enable) in nicvf_config_data_transfer()
1159 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx) in nicvf_sq_enable()
1170 void nicvf_sq_disable(struct nicvf *nic, int qidx) in nicvf_sq_disable()
1184 struct nicvf *nic = netdev_priv(netdev); in nicvf_sq_free_used_descs() local
1205 void nicvf_xdp_sq_doorbell(struct nicvf *nic, in nicvf_xdp_sq_doorbell()
1235 int nicvf_xdp_sq_append_pkt(struct nicvf *nic, struct snd_queue *sq, in nicvf_xdp_sq_append_pkt()
1306 static int nicvf_sq_subdesc_required(struct nicvf *nic, struct sk_buff *skb) in nicvf_sq_subdesc_required()
1329 nicvf_sq_add_hdr_subdesc(struct nicvf *nic, struct snd_queue *sq, int qentry, in nicvf_sq_add_hdr_subdesc()
1464 static inline void nicvf_sq_doorbell(struct nicvf *nic, struct sk_buff *skb, in nicvf_sq_doorbell()
1485 static int nicvf_sq_append_tso(struct nicvf *nic, struct snd_queue *sq, in nicvf_sq_append_tso()
1549 int nicvf_sq_append_skb(struct nicvf *nic, struct snd_queue *sq, in nicvf_sq_append_skb()
1637 static void nicvf_unmap_rcv_buffer(struct nicvf *nic, u64 dma_addr, in nicvf_unmap_rcv_buffer()
1662 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, in nicvf_get_rcv_skb()
1756 void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_enable_intr()
1770 void nicvf_disable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_disable_intr()
1784 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_clear_intr()
1798 int nicvf_is_intr_enabled(struct nicvf *nic, int int_type, int q_idx) in nicvf_is_intr_enabled()
1811 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx) in nicvf_update_rq_stats()
1824 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats()
1838 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs()
1923 int nicvf_check_cqe_tx_errs(struct nicvf *nic, struct cqe_send_t *cqe_tx) in nicvf_check_cqe_tx_errs()