Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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,
Dl2t.c61 struct l2t_entry *rover; /* starting point for next allocation */
62 struct l2t_entry l2tab[0]; /* 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.h1263 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_cm.h183 struct l2t_entry *l2t;
227 int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, struct l2t_entry *l2t…
Diwch_cm.c137 static int iwch_l2t_send(struct t3cdev *tdev, struct sk_buff *skb, struct l2t_entry *l2e) in iwch_l2t_send()
1340 struct l2t_entry *l2t; in pass_accept_req()
2127 struct l2t_entry *l2t) in iwch_ep_redirect()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls.h187 struct l2t_entry *l2t_entry; /* pointer to the L2T entry */ member
457 cxgb4_l2t_send(csk->egress_dev, skb, csk->l2t_entry); in send_or_defer()
Dchtls_cm.c744 if (csk->l2t_entry) { in chtls_release_resources()
745 cxgb4_l2t_release(csk->l2t_entry); in chtls_release_resources()
746 csk->l2t_entry = NULL; in chtls_release_resources()
937 L2T_IDX_V(csk->l2t_entry->idx) | in chtls_pass_accept_rpl()
968 cxgb4_l2t_send(csk->egress_dev, skb, csk->l2t_entry); in chtls_pass_accept_rpl()
1049 csk->l2t_entry = cxgb4_l2t_get(cdev->lldi->l2t, n, ndev, 0); in chtls_recv_sock()
1050 if (!csk->l2t_entry) in chtls_recv_sock()
1841 struct l2t_entry *e = csk->l2t_entry; in send_abort_rpl()
1887 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()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit.h193 struct l2t_entry *l2t;
328 struct l2t_entry *);
Dcxgbit_cm.c1027 struct l2t_entry *l2e) in cxgbit_l2t_send()
1425 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in cxgbit_send_tx_flowc_wr()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c204 struct l2t_entry *e) in send_act_open_req()
216 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req()
323 struct l2t_entry *e) in send_act_open_req6()
335 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req6()
616 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in send_tx_flowc_wr()
912 struct l2t_entry *); in csk_act_open_retry_timer()
/Linux-v5.4/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()
4063 struct l2t_entry *e; in rx_pkt()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c158 const struct l2t_entry *e) in send_act_open_req()
354 struct l2t_entry *l2t = csk->l2t; in make_tx_data_wr()