Home
last modified time | relevance | path

Searched refs:l2t (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c140 struct l2t_data *d = adap->l2t; in write_l2e()
188 struct l2t_data *d = adap->l2t; in do_l2t_write_rpl()
475 const struct l2t_entry *l2t) in cxgb4_select_ntuple() argument
484 if (tp->vlan_shift >= 0 && l2t->vlan != VLAN_NONE) in cxgb4_select_ntuple()
485 ntuple |= (u64)(FT_VLAN_VLD_F | l2t->vlan) << tp->vlan_shift; in cxgb4_select_ntuple()
488 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
515 struct l2t_data *d = adap->l2t; in t4_l2t_update()
580 struct l2t_data *d = adap->l2t; in t4_l2t_alloc_switching()
751 seq->private = adap->l2t; in l2t_seq_open()
Dcxgb4_filter.c814 f->l2t = t4_l2t_alloc_switching(adapter, f->fs.vlan, in set_filter_wr()
816 if (!f->l2t) { in set_filter_wr()
828 if (f->l2t) { in set_filter_wr()
829 cxgb4_l2t_release(f->l2t); in set_filter_wr()
830 f->l2t = NULL; in set_filter_wr()
873 FW_FILTER_WR_L2TIX_V(f->l2t ? f->l2t->idx : 0)); in set_filter_wr()
986 if (f->l2t) in clear_filter()
987 cxgb4_l2t_release(f->l2t); in clear_filter()
1313 L2T_IDX_V(f->l2t ? f->l2t->idx : 0) | in mk_act_open_req6()
1349 L2T_IDX_V(f->l2t ? f->l2t->idx : 0) | in mk_act_open_req()
[all …]
DMakefile8 cxgb4-objs := cxgb4_main.o l2t.o smt.o t4_hw.o sge.o clip_tbl.o cxgb4_ethtool.o \
Dl2t.h117 const struct l2t_entry *l2t);
Dcxgb4_uld.c603 lld->l2t = adap->l2t; in uld_init()
Dcxgb4_uld.h424 struct l2t_data *l2t; /* L2 table */ member
Dcxgb4.h1142 struct l2t_data *l2t; member
1463 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */ member
Dcxgb4_main.c6175 kvfree(adapter->l2t); in free_some_resources()
6907 adapter->l2t = t4_init_l2t(adapter->l2t_start, adapter->l2t_end); in init_one()
6908 if (!adapter->l2t) { in init_one()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c187 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_act_open_req()
268 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_abort_req()
356 struct l2t_entry *l2t = csk->l2t; in make_tx_data_wr() local
369 req->param = htonl(V_TX_PORT(l2t->smt_idx)); in make_tx_data_wr()
455 l2t_send(csk->cdev->lldev, skb, csk->l2t); in push_tx_frames()
565 send_act_open_req(csk, skb, csk->l2t); in act_open_retry_timer()
893 if (csk->l2t) { in l2t_put()
894 l2t_release(t3dev, csk->l2t); in l2t_put()
895 csk->l2t = NULL; in l2t_put()
971 csk->l2t = t3_l2t_get(t3dev, dst, ndev, in init_act_open()
[all …]
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c221 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req()
245 csk->l2t)); in send_act_open_req()
270 csk->l2t))); in send_act_open_req()
298 csk->l2t))); in send_act_open_req()
323 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req()
340 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req6()
374 csk->l2t)); in send_act_open_req6()
397 csk->l2t))); in send_act_open_req6()
422 csk->l2t))); in send_act_open_req6()
437 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req6()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
DMakefile9 xgmac.o sge.o l2t.o cxgb3_offload.o aq100x.o
Dcxgb3_offload.h88 struct dst_entry *new, struct l2t_entry *l2t);
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dcm.c408 cxgb4_l2t_release(ep->l2t); in _c4iw_free_ep()
592 u16 vlan = ep->l2t->vlan; in send_flowc()
658 return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t); in send_halfclose()
699 return c4iw_l2t_send(&ep->com.dev->rdev, req_skb, ep->l2t); in send_abort_req()
793 L2T_IDX_V(ep->l2t->idx) | in send_connect()
817 params = cxgb4_select_ntuple(netdev, ep->l2t); in send_connect()
911 ep->l2t)); in send_connect()
932 ret = c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t); in send_connect()
1035 ret = c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t); in send_mpa_req()
1122 return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t); in send_mpa_reject()
[all …]
Diw_cxgb4.h876 struct l2t_entry *l2t; member
934 struct l2t_entry *l2t);
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c675 return cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_send_abort_req()
813 cxgb4_l2t_release(csk->l2t); in _cxgbit_free_csk()
933 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, in cxgbit_offload_init()
935 if (!csk->l2t) in cxgbit_offload_init()
966 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, n, ndev, priority); in cxgbit_offload_init()
968 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, n, ndev, 0); in cxgbit_offload_init()
970 if (!csk->l2t) in cxgbit_offload_init()
1170 L2T_IDX_V(csk->l2t->idx) | in cxgbit_pass_accept_rpl()
1213 cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_pass_accept_rpl()
1425 u16 vlan = ((struct l2t_entry *)csk->l2t)->vlan; in cxgbit_send_tx_flowc_wr()
Dcxgbit.h92 struct l2t_skb_cb l2t; member
193 struct l2t_entry *l2t; member
Dcxgbit_target.c282 cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_push_tx_frames()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-l2c-defs.h162 __BITFIELD_FIELD(uint64_t l2t:1,
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h409 struct l2t_skb_cb l2t; /* reserve space for l2t CB */ member
Dchtls_cm.c1179 csk->l2t_entry = cxgb4_l2t_get(cdev->lldi->l2t, n, ndev, 0); in chtls_recv_sock()
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.h136 void *l2t; member
/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c608 debug_val.s.l2t = 1; in __read_l2_tag()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c509 tx_info->l2te = cxgb4_l2t_get(adap->l2t, n, n->dev, 0); in chcr_ktls_dev_add()