Home
last modified time | relevance | path

Searched refs:mpalen (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/cxgb4/
Dcm.c504 int mpalen, wrlen; in send_mpa_req() local
513 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
515 mpalen += sizeof(struct mpa_v2_conn_params); in send_mpa_req()
516 wrlen = roundup(mpalen + sizeof *req, 16); in send_mpa_req()
529 FW_WR_IMMDLEN(mpalen)); in send_mpa_req()
533 req->plen = cpu_to_be32(mpalen); in send_mpa_req()
595 int mpalen, wrlen; in send_mpa_reject() local
603 mpalen = sizeof(*mpa) + plen; in send_mpa_reject()
605 mpalen += sizeof(struct mpa_v2_conn_params); in send_mpa_reject()
606 wrlen = roundup(mpalen + sizeof *req, 16); in send_mpa_reject()
[all …]
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c476 int mpalen; in send_mpa_req() local
485 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
486 if (skb->data + mpalen + sizeof(*req) > skb_end_pointer(skb)) { in send_mpa_req()
488 skb=alloc_skb(mpalen + sizeof(*req), GFP_KERNEL); in send_mpa_req()
496 skb_put(skb, mpalen); in send_mpa_req()
536 int mpalen; in send_mpa_reject() local
543 mpalen = sizeof(*mpa) + plen; in send_mpa_reject()
545 skb = get_skb(NULL, mpalen + sizeof(*req), GFP_KERNEL); in send_mpa_reject()
551 mpa = (struct mpa_message *) skb_put(skb, mpalen); in send_mpa_reject()
572 req->len = htonl(mpalen); in send_mpa_reject()
[all …]