Lines Matching defs:nic

30 static int nicvf_poll_reg(struct nicvf *nic, int qidx,  in nicvf_poll_reg()
52 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem()
70 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem()
86 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, gfp_t gfp, in nicvf_alloc_rcv_buffer()
135 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb()
160 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr()
194 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr()
232 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr()
300 struct nicvf *nic = container_of(work, struct nicvf, rbdr_work.work); in nicvf_rbdr_work() local
312 struct nicvf *nic = (struct nicvf *)data; in nicvf_rbdr_task() local
322 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue()
339 static void nicvf_free_cmp_queue(struct nicvf *nic, struct cmp_queue *cq) in nicvf_free_cmp_queue()
350 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue()
379 static void nicvf_free_snd_queue(struct nicvf *nic, struct snd_queue *sq) in nicvf_free_snd_queue()
395 static void nicvf_reclaim_snd_queue(struct nicvf *nic, in nicvf_reclaim_snd_queue()
407 static void nicvf_reclaim_rcv_queue(struct nicvf *nic, in nicvf_reclaim_rcv_queue()
417 static void nicvf_reclaim_cmp_queue(struct nicvf *nic, in nicvf_reclaim_cmp_queue()
428 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr()
478 void nicvf_config_vlan_stripping(struct nicvf *nic, netdev_features_t features) in nicvf_config_vlan_stripping()
500 static void nicvf_rcv_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rcv_queue_config()
560 void nicvf_cmp_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_cmp_queue_config()
601 static void nicvf_snd_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_snd_queue_config()
655 static void nicvf_rbdr_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rbdr_config()
692 void nicvf_qset_config(struct nicvf *nic, bool enable) in nicvf_qset_config()
724 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources()
742 static int nicvf_alloc_resources(struct nicvf *nic) in nicvf_alloc_resources()
772 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources()
798 int nicvf_config_data_transfer(struct nicvf *nic, bool enable) in nicvf_config_data_transfer()
865 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx) in nicvf_sq_enable()
876 void nicvf_sq_disable(struct nicvf *nic, int qidx) in nicvf_sq_disable()
890 struct nicvf *nic = netdev_priv(netdev); in nicvf_sq_free_used_descs() local
959 static int nicvf_sq_subdesc_required(struct nicvf *nic, struct sk_buff *skb) in nicvf_sq_subdesc_required()
1037 static int nicvf_sq_append_tso(struct nicvf *nic, struct snd_queue *sq, in nicvf_sq_append_tso()
1104 int nicvf_sq_append_skb(struct nicvf *nic, struct sk_buff *skb) in nicvf_sq_append_skb()
1189 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_get_rcv_skb()
1242 void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_enable_intr()
1280 void nicvf_disable_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_disable_intr()
1316 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_clear_intr()
1352 int nicvf_is_intr_enabled(struct nicvf *nic, int int_type, int q_idx) in nicvf_is_intr_enabled()
1390 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx) in nicvf_update_rq_stats()
1403 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats()
1417 int nicvf_check_cqe_rx_errs(struct nicvf *nic, in nicvf_check_cqe_rx_errs()
1513 int nicvf_check_cqe_tx_errs(struct nicvf *nic, in nicvf_check_cqe_tx_errs()