/* Populate a TID_RELEASE WR. The skb must be already propely sized.  */
static void mk_tid_release(struct sk_buff *skb, unsigned int tid)
/* Populate a TID_RELEASE WR. The skb must be already propely sized.  */
static void mk_tid_release(struct sk_buff *skb, unsigned int tid)
{
	struct cpl_tid_release *req;
	skb->priority = CPL_PRIORITY_SETUP;
	req = (struct cpl_tid_release *)__skb_put(skb, sizeof(*req));
	req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
	OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_TID_RELEASE, tid));
}