Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h1146 struct l2t_data *l2t; member
1467 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */ member
Dcxgb4_main.c6186 kvfree(adapter->l2t); in free_some_resources()
6932 adapter->l2t = t4_init_l2t(adapter->l2t_start, adapter->l2t_end); in init_one()
6933 if (!adapter->l2t) { in init_one()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c186 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_act_open_req()
267 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_abort_req()
355 struct l2t_entry *l2t = csk->l2t; in make_tx_data_wr() local
368 req->param = htonl(V_TX_PORT(l2t->smt_idx)); in make_tx_data_wr()
454 l2t_send(csk->cdev->lldev, skb, csk->l2t); in push_tx_frames()
564 send_act_open_req(csk, skb, csk->l2t); in act_open_retry_timer()
892 if (csk->l2t) { in l2t_put()
893 l2t_release(t3dev, csk->l2t); in l2t_put()
894 csk->l2t = NULL; in l2t_put()
970 csk->l2t = t3_l2t_get(t3dev, dst, ndev, in init_act_open()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c220 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req()
244 csk->l2t)); in send_act_open_req()
269 csk->l2t))); in send_act_open_req()
297 csk->l2t))); in send_act_open_req()
322 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req()
339 L2T_IDX_V(((struct l2t_entry *)csk->l2t)->idx) | in send_act_open_req6()
373 csk->l2t)); in send_act_open_req6()
396 csk->l2t))); in send_act_open_req6()
421 csk->l2t))); in send_act_open_req6()
436 cxgb4_l2t_send(csk->cdev->ports[csk->port_id], skb, csk->l2t); in send_act_open_req6()
[all …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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.h888 struct l2t_entry *l2t; member
946 struct l2t_entry *l2t);
/kernel/linux/linux-5.10/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()
931 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, in cxgbit_offload_init()
933 if (!csk->l2t) in cxgbit_offload_init()
964 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, n, ndev, priority); in cxgbit_offload_init()
966 csk->l2t = cxgb4_l2t_get(cdev->lldi.l2t, n, ndev, 0); in cxgbit_offload_init()
968 if (!csk->l2t) in cxgbit_offload_init()
1168 L2T_IDX_V(csk->l2t->idx) | in cxgbit_pass_accept_rpl()
1212 cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_pass_accept_rpl()
1424 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()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-l2c-defs.h162 __BITFIELD_FIELD(uint64_t l2t:1,
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.h137 void *l2t; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h406 struct l2t_skb_cb l2t; /* reserve space for l2t CB */ member
Dchtls_cm.c1180 csk->l2t_entry = cxgb4_l2t_get(cdev->lldi->l2t, n, ndev, 0); in chtls_recv_sock()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c608 debug_val.s.l2t = 1; in __read_l2_tag()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c515 tx_info->l2te = cxgb4_l2t_get(adap->l2t, n, n->dev, 0); in chcr_ktls_dev_add()