Home
last modified time | relevance | path

Searched refs:stag (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c23 * resolves memory from stag given by id. might be called from:
86 mem->stag = id << 8; in siw_mr_add_mem()
87 mr->base_mr.lkey = mr->base_mr.rkey = mem->stag; in siw_mr_add_mem()
101 found = xa_erase(&mem->sdev->mem_xa, mem->stag >> 8); in siw_mr_drop_mem()
138 siw_dbg_pd(pd, "STag 0x%08x invalid\n", mem->stag); in siw_check_mem()
142 siw_dbg_pd(pd, "STag 0x%08x: PD mismatch\n", mem->stag); in siw_check_mem()
164 mem->stag); in siw_check_mem()
209 if (unlikely((*mem)->stag != sge->lkey)) { in siw_check_sge()
258 int siw_invalidate_stag(struct ib_pd *pd, u32 stag) in siw_wqe_put_mem()
261 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> in siw_invalidate_stag()
260 siw_invalidate_stag(struct ib_pd * pd,u32 stag) siw_invalidate_stag() argument
[all...]
H A Dsiw_mem.h15 int siw_invalidate_stag(struct ib_pd *pd, u32 stag);
H A Dsiw.h149 u32 stag; /* iWarp memory access steering tag */
719 "MEM[0x%08x] %s: " fmt, mem->stag, __func__, ##__VA_ARGS__)
148 u32 stag; /* iWarp memory access steering tag */ global() member
/linux/arch/m68k/fpsp040/
H A Dget_op.S567 moveb #nan_tag,STAG(%a6) |set stag to NaN
621 |tag (stag)
624 | stag = INF
626 | stag = NAN
629 | stag = ZERO
631 | stag = NORM
633 | Note also that the etemp_15 bit (just right of the stag) must
H A Ddo_func.S254 | ;dtag,stag
275 bfextu STAG(%a6){#0:#3},%d0 |stag = d0
285 orb %d0,%d1 |d1{3:2} = dtag, d1{1:0} = stag
414 | ;dtag,stag
434 bfextu STAG(%a6){#0:#3},%d0 |stag in d0
439 orb %d0,%d1 |d1{4:2} = dtag, d1{1:0} = stag
440 | ;dtag values stag values:
H A Dx_operr.S157 moveb STAG(%a6),%d0 |test stag for nan
184 moveb STAG(%a6),%d0 |test stag for nan
H A Dbugfix.S258 | $3c stag - L_SCR1
380 | $3c stag - L_SCR1
H A Dkernel_ex.S347 orb #nan_tag,STAG(%a6) |set up stag for nan
H A Dtbldo.S12 | the stag. For dyadic functions, all
46 | instruction ;opcode-stag Notes
H A Dbindec.S179 movew STAG(%a6),%d0 |get stag
180 andiw #0xe000,%d0 |isolate stag bits
/linux/drivers/infiniband/hw/cxgb4/
H A Drestrack.c435 u32 stag = mhp->attr.stag; in c4iw_fill_res_mr_entry() local
440 if (!stag) in c4iw_fill_res_mr_entry()
447 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, (__be32 *)&tpte); in c4iw_fill_res_mr_entry()
454 if (rdma_nl_put_driver_u32_hex(msg, "idx", stag >> 8)) in c4iw_fill_res_mr_entry()
459 if (rdma_nl_put_driver_u32_hex(msg, "key", stag & 0xff)) in c4iw_fill_res_mr_entry()
H A Dev.c38 static void print_tpte(struct c4iw_dev *dev, u32 stag) in print_tpte() argument
43 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, in print_tpte()
51 stag & 0xffffff00, in print_tpte()
H A Ddevice.c485 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show()
486 dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail); in stats_show()
528 dev->rdev.stats.stag.max = 0; in stats_clear()
529 dev->rdev.stats.stag.fail = 0; in stats_clear()
824 pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open()
825 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open()
843 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open()
961 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
H A Dt4.h179 __be32 stag; member
183 __be32 stag; member
192 __be32 stag; member
270 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
278 #define CQE_WRID_FR_STAG(x) (be32_to_cpu((x)->u.scqe.stag))
H A Dt4fw_ri_api.h129 __be32 stag; member
689 __be32 stag; member
723 __be32 stag; member
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c2697 * irdma_free_stag - free stag resource in irdma_get_mr_access()
2699 * @stag: stag to free in irdma_get_mr_access()
2701 static void irdma_free_stag(struct irdma_device *iwdev, u32 stag) in irdma_get_mr_access()
2705 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_get_mr_access()
2710 * irdma_create_stag - create random stag in irdma_get_mr_access()
2715 u32 stag = 0;
2734 return stag; in irdma_create_stag()
2735 stag = stag_index << IRDMA_CQPSQ_STAG_IDX_S; in irdma_create_stag() local
2736 stag | in irdma_create_stag()
2721 irdma_free_stag(struct irdma_device * iwdev,u32 stag) irdma_free_stag() argument
3049 u32 stag; irdma_alloc_mw() local
3154 u32 stag; irdma_alloc_mr() local
3317 u32 stag = 0; irdma_reg_user_mr_type_mem() local
3880 u32 stag; irdma_reg_phys_mr() local
[all...]
H A Dverbs.h119 u32 stag;
120 u32 stag; global() member
H A Duk.c12 * @sge: sge length and stag
36 * @sge: sge length and stag
339 FIELD_PREP(IRDMAQPSQ_STAG, op_info->stag)); in irdma_uk_atomic_fetch_add()
390 FIELD_PREP(IRDMAQPSQ_STAG, op_info->stag)); in irdma_uk_atomic_compare_swap()
938 * irdma_uk_stag_local_invalidate - stag invalidate operation
/linux/include/uapi/rdma/
H A Dsiw-abi.h39 __u32 stag; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h86 u16 stag; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h359 struct cxgb4_range stag; member
525 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
/linux/drivers/net/netdevsim/
H A Dnetdev.c570 WARN_ON_ONCE(test_and_set_bit(vid, ns->vlan.stag)); in nsim_vlan_rx_add_vid()
585 WARN_ON_ONCE(!test_and_clear_bit(vid, ns->vlan.stag)); in nsim_vlan_rx_kill_vid()
966 for_each_set_bit(vid, ns->vlan.stag, VLAN_N_VID) in nsim_vlan_show()
967 seq_printf(s, "stag %d\n", vid); in nsim_vlan_show()
1207 for_each_set_bit(vid, ns->vlan.stag, VLAN_N_VID) in nsim_destroy()
H A Dnetdevsim.h80 DECLARE_BITMAP(stag, VLAN_N_VID);
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_vlan_aware.sh159 ethtool -K $h2 rx-vlan-filter off rx-vlan-stag-filter off
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c23 [NPC_VLAN_ETYPE_STAG] = "vlan ether type stag",
1051 bool stag = !!(features & BIT_ULL(NPC_VLAN_ETYPE_STAG)); in npc_update_vlan_features() local
1055 if (vid && !ctag && !stag) { in npc_update_vlan_features()
1064 if (stag) in npc_update_vlan_features()

12