Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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.h1465 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit.h193 struct l2t_entry *l2t;
327 struct l2t_entry *);
Dcxgbit_cm.c1029 struct l2t_entry *l2e) in cxgbit_l2t_send()
1425 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in cxgbit_send_tx_flowc_wr()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h42 struct l2t_entry *l2te;
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h281 struct l2t_entry *l2t_entry; /* pointer to the L2T entry */ member
551 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()
1179 csk->l2t_entry = cxgb4_l2t_get(cdev->lldi->l2t, n, ndev, 0); in chtls_recv_sock()
1180 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()
/linux-6.1.9/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c209 struct l2t_entry *e) in send_act_open_req()
221 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req()
328 struct l2t_entry *e) in send_act_open_req6()
340 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req6()
621 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in send_tx_flowc_wr()
994 struct l2t_entry *); in csk_act_open_retry_timer()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h876 struct l2t_entry *l2t;
934 struct l2t_entry *l2t);
Dcm.c203 struct l2t_entry *l2e) in c4iw_l2t_send()
4061 struct l2t_entry *e; in rx_pkt()
/linux-6.1.9/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c160 const struct l2t_entry *e) in send_act_open_req()
356 struct l2t_entry *l2t = csk->l2t; in make_tx_data_wr()