Lines Matching refs:req
192 struct cpl_l2t_write_req *req;
196 if ((m = allocb(sizeof (*req), BPRI_HI)) == NULL)
200 req = (struct cpl_l2t_write_req *)m->b_wptr;
203 INIT_TP_WR(req, 0);
204 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_L2T_WRITE_REQ, e->idx |
206 req->params = htons(V_L2T_W_PORT(e->lport) | V_L2T_W_NOREPLY(!sync));
207 req->l2t_idx = htons(e->idx);
208 req->vlan = htons(e->vlan);
209 (void) memcpy(req->dst_mac, e->dmac, sizeof (req->dst_mac));
211 m->b_wptr += sizeof (*req);