Lines Matching defs:tag
47 * The location of the pagepod entry is encoded into ddp tag which is used or
101 static void clear_ddp_map(struct cxgb3i_ddp_info *ddp, unsigned int tag,
111 ddp_log_error("ddp tag 0x%x, 0x%x, %d/%u, skb NULL.\n",
112 tag, idx, i, npods);
374 * @tformat: tag format
375 * @tagp: contains s/w tag initially, will be updated with ddp/hw tag
379 * ddp setup for a given page buffer list and construct the ddp tag.
392 u32 tag;
424 tag = cxgb3i_ddp_tag_base(tformat, sw_tag);
425 tag |= idx << PPOD_IDX_SHIFT;
429 hdr.pgsz_tag_clr = htonl(tag & ddp->rsvd_tag_mask);
439 gl->length, gl->nelem, gl->offset, tid, sw_tag, tag,
441 *tagp = tag;
452 * cxgb3i_ddp_tag_release - release a ddp tag
454 * @tag: ddp tag
455 * ddp cleanup for a given ddp tag and release all the resources held
457 void cxgb3i_ddp_tag_release(struct t3cdev *tdev, u32 tag)
463 ddp_log_error("release ddp tag 0x%x, ddp NULL.\n", tag);
467 idx = (tag >> PPOD_IDX_SHIFT) & ddp->idx_mask;
474 tag, idx, gl, gl ? gl->nelem : 0);
478 ddp_log_debug("ddp tag 0x%x, release idx 0x%x, npods %u.\n",
479 tag, idx, npods);
480 clear_ddp_map(ddp, tag, idx, npods);
484 ddp_log_error("ddp tag 0x%x, idx 0x%x > max 0x%x.\n",
485 tag, idx, ddp->nppods);
585 * @tformat: tag format
588 * setup the tag format for a given iscsi entity
610 ddp_log_info("tag format: sw %u, rsvd %u,%u, mask 0x%x.\n",