Lines Matching refs:wrlen
649 u32 wrlen = roundup(sizeof(struct cpl_close_con_req), 16); in send_halfclose() local
655 cxgb_mk_close_con_req(skb, wrlen, ep->hwtid, ep->txq_idx, in send_halfclose()
665 int wrlen = roundup(sizeof(*req), 16); in read_tcb() local
672 req = (struct cpl_get_tcb *) skb_put(skb, wrlen); in read_tcb()
673 memset(req, 0, wrlen); in read_tcb()
689 u32 wrlen = roundup(sizeof(struct cpl_abort_req), 16); in send_abort_req() local
696 cxgb_mk_abort_req(req_skb, wrlen, ep->hwtid, ep->txq_idx, in send_abort_req()
726 int win, sizev4, sizev6, wrlen; in send_connect() local
762 wrlen = (ep->com.remote_addr.ss_family == AF_INET) ? in send_connect()
768 skb = get_skb(NULL, wrlen, GFP_KERNEL); in send_connect()
828 req = skb_put(skb, wrlen); in send_connect()
832 t5req = skb_put(skb, wrlen); in send_connect()
837 t6req = skb_put(skb, wrlen); in send_connect()
878 req6 = skb_put(skb, wrlen); in send_connect()
882 t5req6 = skb_put(skb, wrlen); in send_connect()
887 t6req6 = skb_put(skb, wrlen); in send_connect()
943 int mpalen, wrlen, ret; in send_mpa_req() local
954 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_req()
955 skb = get_skb(skb, wrlen, GFP_KERNEL); in send_mpa_req()
962 req = skb_put_zero(skb, wrlen); in send_mpa_req()
969 FW_WR_LEN16_V(wrlen >> 4)); in send_mpa_req()
1047 int mpalen, wrlen; in send_mpa_reject() local
1059 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_reject()
1061 skb = get_skb(NULL, wrlen, GFP_KERNEL); in send_mpa_reject()
1068 req = skb_put_zero(skb, wrlen); in send_mpa_reject()
1075 FW_WR_LEN16_V(wrlen >> 4)); in send_mpa_reject()
1127 int mpalen, wrlen; in send_mpa_reply() local
1139 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_reply()
1141 skb = get_skb(NULL, wrlen, GFP_KERNEL); in send_mpa_reply()
1148 req = skb_put_zero(skb, wrlen); in send_mpa_reply()
1155 FW_WR_LEN16_V(wrlen >> 4)); in send_mpa_reply()
1416 u32 wrlen = roundup(sizeof(struct cpl_rx_data_ack), 16); in update_rx_credits() local
1421 skb = get_skb(NULL, wrlen, GFP_KERNEL); in update_rx_credits()
1438 cxgb_mk_rx_data_ack(skb, wrlen, ep->hwtid, ep->ctrlq_idx, in update_rx_credits()