Lines Matching refs:pktgen_dev
257 struct pktgen_dev { struct
463 static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i);
465 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t,
473 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev);
548 const struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_show()
798 static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) in get_labels()
861 struct pktgen_dev *pkt_dev = seq->private; in pktgen_if_write()
1721 const struct pktgen_dev *pkt_dev; in pktgen_thread_show()
1856 static struct pktgen_dev *__pktgen_NN_threads(const struct pktgen_net *pn, in __pktgen_NN_threads()
1860 struct pktgen_dev *pkt_dev = NULL; in __pktgen_NN_threads()
1881 struct pktgen_dev *pkt_dev = NULL; in pktgen_mark_device()
1918 struct pktgen_dev *pkt_dev; in pktgen_change_name()
1968 struct pktgen_dev *pkt_dev, in pktgen_dev_get_by_name()
1989 struct pktgen_dev *pkt_dev, const char *ifname) in pktgen_setup_dev()
2024 static void pktgen_setup_inject(struct pktgen_dev *pkt_dev) in pktgen_setup_inject()
2153 static void spin(struct pktgen_dev *pkt_dev, ktime_t spin_until) in spin()
2192 static inline void set_pkt_overhead(struct pktgen_dev *pkt_dev) in set_pkt_overhead()
2200 static inline int f_seen(const struct pktgen_dev *pkt_dev, int flow) in f_seen()
2205 static inline int f_pick(struct pktgen_dev *pkt_dev) in f_pick()
2237 static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow) in get_ipsec_sa()
2266 static void set_cur_queue_map(struct pktgen_dev *pkt_dev) in set_cur_queue_map()
2292 static void mod_cur_headers(struct pktgen_dev *pkt_dev) in mod_cur_headers()
2497 static int pktgen_output_ipsec(struct sk_buff *skb, struct pktgen_dev *pkt_dev) in pktgen_output_ipsec()
2536 static void free_SAs(struct pktgen_dev *pkt_dev) in free_SAs()
2551 static int process_ipsec(struct pktgen_dev *pkt_dev, in process_ipsec()
2597 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push()
2613 static void pktgen_finalize_skb(struct pktgen_dev *pkt_dev, struct sk_buff *skb, in pktgen_finalize_skb()
2693 struct pktgen_dev *pkt_dev) in pktgen_alloc_skb()
2720 struct pktgen_dev *pkt_dev) in fill_packet_ipv4()
2848 struct pktgen_dev *pkt_dev) in fill_packet_ipv6()
2978 struct pktgen_dev *pkt_dev) in fill_packet()
2986 static void pktgen_clear_counters(struct pktgen_dev *pkt_dev) in pktgen_clear_counters()
2999 struct pktgen_dev *pkt_dev; in pktgen_run()
3046 const struct pktgen_dev *pkt_dev; in thread_is_running()
3142 static void show_results(struct pktgen_dev *pkt_dev, int nr_frags) in show_results()
3172 static int pktgen_stop_device(struct pktgen_dev *pkt_dev) in pktgen_stop_device()
3192 static struct pktgen_dev *next_to_run(struct pktgen_thread *t) in next_to_run()
3194 struct pktgen_dev *pkt_dev, *best = NULL; in next_to_run()
3212 struct pktgen_dev *pkt_dev; in pktgen_stop()
3232 struct pktgen_dev *cur; in pktgen_rem_one_if()
3237 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_one_if()
3254 struct pktgen_dev *cur; in pktgen_rem_all_ifs()
3261 cur = list_entry(q, struct pktgen_dev, list); in pktgen_rem_all_ifs()
3276 static void pktgen_resched(struct pktgen_dev *pkt_dev) in pktgen_resched()
3283 static void pktgen_wait_for_skb(struct pktgen_dev *pkt_dev) in pktgen_wait_for_skb()
3299 static void pktgen_xmit(struct pktgen_dev *pkt_dev) in pktgen_xmit()
3465 struct pktgen_dev *pkt_dev = NULL; in pktgen_thread_worker()
3534 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t, in pktgen_find_dev()
3537 struct pktgen_dev *p, *pkt_dev = NULL; in pktgen_find_dev()
3561 struct pktgen_dev *pkt_dev) in add_dev_to_thread()
3592 struct pktgen_dev *pkt_dev; in pktgen_add_device()
3604 pkt_dev = kzalloc_node(sizeof(struct pktgen_dev), GFP_KERNEL, node); in pktgen_add_device()
3734 struct pktgen_dev *pkt_dev) in _rem_dev_from_if_list()
3737 struct pktgen_dev *p; in _rem_dev_from_if_list()
3741 p = list_entry(q, struct pktgen_dev, list); in _rem_dev_from_if_list()
3749 struct pktgen_dev *pkt_dev) in pktgen_remove_device()