Home
last modified time | relevance | path

Searched refs:toedev (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_toedev.h58 #define TOEDEV(netdev) (*(struct toedev **)&(netdev)->if_softc)
86 struct toedev { struct
97 TAILQ_ENTRY(toedev) ofld_entry; /* for list linking */ argument
98 int (*open)(struct toedev *dev); argument
99 int (*close)(struct toedev *dev); argument
100 int (*can_offload)(struct toedev *dev, struct socket *so); argument
101 int (*connect)(struct toedev *dev, struct socket *so, argument
103 int (*send)(struct toedev *dev, struct mbuf *m); argument
104 int (*recv)(struct toedev *dev, struct mbuf **m, int n); argument
105 int (*ctl)(struct toedev *dev, unsigned int req, void *data); argument
[all …]
H A Dcxgb_offload.h56 int cxgb_ofld_recv(struct toedev *dev, struct mbuf **m, int n);
58 void cxgb_set_dummy_ops(struct toedev *dev);
70 void cxgb_add_clients(struct toedev *tdev);
71 void cxgb_remove_clients(struct toedev *tdev);
73 typedef int (*cxgb_cpl_handler_func)(struct toedev *dev,
78 void (*add) (struct toedev *);
79 void (*remove) (struct toedev *);
90 int cxgb_alloc_atid(struct toedev *dev, struct cxgb_client *client,
92 int cxgb_alloc_stid(struct toedev *dev, struct cxgb_client *client,
94 void *cxgb_free_atid(struct toedev *dev, int atid);
[all …]
H A Dcxgb_offload.c65 TAILQ_HEAD(, toedev) ofld_dev_list;
77 offload_activated(struct toedev *tdev) in offload_activated()
94 struct toedev *tdev; in cxgb_register_client()
118 struct toedev *tdev; in cxgb_unregister_client()
139 cxgb_add_clients(struct toedev *tdev) in cxgb_add_clients()
158 cxgb_remove_clients(struct toedev *tdev) in cxgb_remove_clients()
353 cxgb_offload_ctl(struct toedev *tdev, unsigned int req, void *data) in cxgb_offload_ctl()
451 rx_offload_blackhole(struct toedev *dev, struct mbuf **m, int n) in rx_offload_blackhole()
461 dummy_neigh_update(struct toedev *dev, struct rtentry *neigh) in dummy_neigh_update()
466 cxgb_set_dummy_ops(struct toedev *dev) in cxgb_set_dummy_ops()
[all …]
H A Dcxgb_l2t.h87 typedef void (*arp_failure_handler_func)(struct toedev *dev,
118 void t3_l2t_update(struct toedev *dev, struct rtentry *ifp);
119 struct l2t_entry *t3_l2t_get(struct toedev *dev, struct rtentry *neigh,
121 int t3_l2t_send_slow(struct toedev *dev, struct mbuf *m,
123 void t3_l2t_send_event(struct toedev *dev, struct l2t_entry *e);
135 int cxgb_ofld_send(struct toedev *dev, struct mbuf *m);
137 static __inline int l2t_send(struct toedev *dev, struct mbuf *m, in l2t_send()
H A Dcxgb_l2t.c107 setup_l2e_send_pending(struct toedev *dev, struct mbuf *m, in setup_l2e_send_pending()
156 t3_l2t_send_slow(struct toedev *dev, struct mbuf *m, in t3_l2t_send_slow()
210 t3_l2t_send_event(struct toedev *dev, struct l2t_entry *e) in t3_l2t_send_event()
345 t3_l2t_get(struct toedev *dev, struct rtentry *neigh, in t3_l2t_get()
401 handle_failed_resolution(struct toedev *dev, struct mbuf *arpq) in handle_failed_resolution()
426 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) in t3_l2t_update()
476 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) in t3_l2t_update()
506 struct toedev *dev = e->tdev; in update_timer_cb()
H A Dcxgb_adapter.h373 struct toedev tdev;
509 int t3_offload_tx(struct toedev *, struct mbuf *);
566 tdev2adap(struct toedev *d) in tdev2adap()
H A Dcxgb_main.c107 static int offload_close(struct toedev *tdev);
1037 offload_tx(struct toedev *tdev, struct mbuf *m) in offload_tx()
H A Dcxgb_sge.c1939 t3_offload_tx(struct toedev *tdev, struct mbuf *m) in t3_offload_tx()