Home
last modified time | relevance | path

Searched refs:l2t_entry (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h57 struct l2t_entry { struct
65 struct l2t_entry *first; /* start of hash chain */ argument
66 struct l2t_entry *next; /* next l2t_entry on chain */ argument
75 struct l2t_entry *rover; /* starting point for next allocation */ argument
79 struct l2t_entry l2tab[];
110 void t3_l2e_free(struct l2t_data *d, struct l2t_entry *e);
112 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst,
115 struct l2t_entry *e);
116 void t3_l2t_send_event(struct t3cdev *dev, struct l2t_entry *e);
122 struct l2t_entry *e) in l2t_send()
[all …]
Dl2t.c63 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio()
74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
88 struct l2t_entry *e) in setup_l2e_send_pending()
123 static inline void arpq_enqueue(struct l2t_entry *e, struct sk_buff *skb) in arpq_enqueue()
129 struct l2t_entry *e) in t3_l2t_send_slow()
179 void t3_l2t_send_event(struct t3cdev *dev, struct l2t_entry *e) in t3_l2t_send_event()
219 static struct l2t_entry *alloc_l2e(struct l2t_data *d) in alloc_l2e()
221 struct l2t_entry *end, *e, **p; in alloc_l2e()
264 void t3_l2e_free(struct l2t_data *d, struct l2t_entry *e) in t3_l2e_free()
283 static inline void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
[all …]
Dcxgb3_offload.h88 struct dst_entry *new, struct l2t_entry *l2t);
Dcxgb3_offload.c1088 static void set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e) in set_l2t_ix()
1119 struct l2t_entry *e; in cxgb_redirect()
/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h73 struct l2t_entry { struct
79 struct l2t_entry *first; /* start of hash chain */ argument
80 struct l2t_entry *next; /* next l2t_entry on chain */ argument
110 void cxgb4_l2t_release(struct l2t_entry *e); argument
112 struct l2t_entry *e);
113 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
117 const struct l2t_entry *l2t);
118 struct l2t_entry *cxgb4_l2t_alloc_switching(struct net_device *dev, u16 vlan,
121 struct l2t_entry *t4_l2t_alloc_switching(struct adapter *adap, u16 vlan,
125 bool cxgb4_check_l2t_valid(struct l2t_entry *e);
Dl2t.c61 struct l2t_entry *rover; /* starting point for next allocation */
62 struct l2t_entry l2tab[]; /* MUST BE LAST */
65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio()
70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold()
118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq()
126 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
138 static int write_l2e(struct adapter *adap, struct l2t_entry *e, int sync) in write_l2e()
173 static void send_pending(struct adapter *adap, struct l2t_entry *e) in send_pending()
200 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in do_l2t_write_rpl()
216 static inline void arpq_enqueue(struct l2t_entry *e, struct sk_buff *skb) in arpq_enqueue()
[all …]
Dcxgb4.h1467 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */
/drivers/target/iscsi/cxgbit/
Dcxgbit.h193 struct l2t_entry *l2t;
327 struct l2t_entry *);
Dcxgbit_cm.c1027 struct l2t_entry *l2e) in cxgbit_l2t_send()
1424 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in cxgbit_send_tx_flowc_wr()
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h279 struct l2t_entry *l2t_entry; /* pointer to the L2T entry */ member
549 cxgb4_l2t_send(csk->egress_dev, skb, csk->l2t_entry); in send_or_defer()
Dchtls_cm.c837 if (csk->l2t_entry) { in chtls_release_resources()
838 cxgb4_l2t_release(csk->l2t_entry); in chtls_release_resources()
839 csk->l2t_entry = NULL; in chtls_release_resources()
1037 L2T_IDX_V(csk->l2t_entry->idx) | in chtls_pass_accept_rpl()
1069 cxgb4_l2t_send(csk->egress_dev, skb, csk->l2t_entry); in chtls_pass_accept_rpl()
1180 csk->l2t_entry = cxgb4_l2t_get(cdev->lldi->l2t, n, ndev, 0); in chtls_recv_sock()
1181 if (!csk->l2t_entry) in chtls_recv_sock()
2039 struct l2t_entry *e = csk->l2t_entry; in chtls_send_abort_rpl()
Dchtls_io.c707 cxgb4_l2t_send(csk->egress_dev, skb, csk->l2t_entry); in chtls_push_frames()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h42 struct l2t_entry *l2te;
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c208 struct l2t_entry *e) in send_act_open_req()
220 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req()
327 struct l2t_entry *e) in send_act_open_req6()
339 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req6()
620 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in send_tx_flowc_wr()
993 struct l2t_entry *); in csk_act_open_retry_timer()
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h888 struct l2t_entry *l2t;
946 struct l2t_entry *l2t);
Dcm.c203 struct l2t_entry *l2e) in c4iw_l2t_send()
4070 struct l2t_entry *e; in rx_pkt()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c159 const struct l2t_entry *e) in send_act_open_req()
355 struct l2t_entry *l2t = csk->l2t; in make_tx_data_wr()