Home
last modified time | relevance | path

Searched refs:paylen (Results 1 – 25 of 27) sorted by relevance

12

/drivers/infiniband/sw/rxe/
Drxe_req.c389 int paylen; in init_req_packet() local
396 paylen = rxe_opcode[opcode].length + payload + pad + RXE_ICRC_SIZE; in init_req_packet()
405 pkt->paylen = paylen; in init_req_packet()
411 skb = rxe_init_packet(rxe, av, paylen, pkt); in init_req_packet()
475 int paylen) in fill_packet() argument
490 crc = rxe_crc32(rxe, crc, tmp, paylen); in fill_packet()
491 memcpy(payload_addr(pkt), tmp, paylen); in fill_packet()
493 wqe->dma.resid -= paylen; in fill_packet()
494 wqe->dma.sge_offset += paylen; in fill_packet()
497 payload_addr(pkt), paylen, in fill_packet()
[all …]
Drxe_net.c218 pkt->paylen = be16_to_cpu(udph->len) - sizeof(*udph); in rxe_udp_encap_recv()
460 int paylen, struct rxe_pkt_info *pkt) in rxe_init_packet() argument
485 skb = alloc_skb(paylen + hdr_len + LL_RESERVED_SPACE(ndev), in rxe_init_packet()
506 pkt->hdr = skb_put_zero(skb, paylen); in rxe_init_packet()
Drxe_resp.c598 int paylen; in prepare_ack_packet() local
606 paylen = rxe_opcode[opcode].length + payload + pad + RXE_ICRC_SIZE; in prepare_ack_packet()
608 skb = rxe_init_packet(rxe, &qp->pri_av, paylen, ack); in prepare_ack_packet()
616 ack->paylen = paylen; in prepare_ack_packet()
Drxe_loc.h146 int paylen, struct rxe_pkt_info *pkt);
Drxe_hdr.h49 u16 paylen; /* length of bth - icrc */ member
956 return pkt->paylen - rxe_opcode[pkt->opcode].offset[RXE_PAYLOAD] in payload_size()
Drxe_recv.c387 icrcp = (__be32 *)(pkt->hdr + pkt->paylen - RXE_ICRC_SIZE); in rxe_rcv()
/drivers/media/usb/dvb-usb/
Dcxusb-analog.c86 auxbuf->paylen = 0; in cxusb_auxbuf_init()
96 if (WARN_ON(pos > auxbuf->paylen)) in cxusb_auxbuf_head_trim()
101 pos, auxbuf->paylen - pos); in cxusb_auxbuf_head_trim()
103 memmove(auxbuf->buf, auxbuf->buf + pos, auxbuf->paylen - pos); in cxusb_auxbuf_head_trim()
104 auxbuf->paylen -= pos; in cxusb_auxbuf_head_trim()
109 return auxbuf->paylen; in cxusb_auxbuf_paylen()
157 memcpy(auxbuf->buf + auxbuf->paylen, urb->transfer_buffer + in cxusb_auxbuf_append_urb()
160 auxbuf->paylen += to_copy; in cxusb_auxbuf_append_urb()
170 if (pos + len > auxbuf->paylen) in cxusb_auxbuf_copy()
Dcxusb.h93 unsigned int paylen; member
/drivers/infiniband/core/
Dmad_rmpp.c580 u32 paylen = 0; in send_next_seg() local
588 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg()
595 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()
597 rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(paylen); in send_next_seg()
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1867 u32 paylen, l4_offset; in iavf_tso() local
1906 paylen = skb->len - l4_offset; in iavf_tso()
1908 (__force __wsum)htonl(paylen)); in iavf_tso()
1928 paylen = skb->len - l4_offset; in iavf_tso()
1929 csum_replace_by_diff(&l4.tcp->check, (__force __wsum)htonl(paylen)); in iavf_tso()
/drivers/infiniband/hw/qib/
Dqib_ruc.c190 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h195 __be16 paylen; member
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2010 u32 paylen, l4_offset; in igbvf_tso() local
2054 paylen = skb->len - l4_offset; in igbvf_tso()
2055 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in igbvf_tso()
2228 unsigned int first, u32 paylen, in igbvf_tx_queue_adv() argument
2256 olinfo_status |= ((paylen - hdr_len) << E1000_ADVTXD_PAYLEN_SHIFT); in igbvf_tx_queue_adv()
/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c52 u16 paylen = 0; in fill_v2_desc_hw() local
96 paylen = skb->len - SKB_TMP_LEN(skb); in fill_v2_desc_hw()
110 paylen = skb->len - SKB_TMP_LEN(skb); in fill_v2_desc_hw()
117 desc->tx.paylen = cpu_to_le16(paylen); in fill_v2_desc_hw()
Dhnae.h190 __le16 paylen; member
/drivers/net/ethernet/intel/ice/
Dice_txrx.c1905 u32 paylen, l4_start; in ice_tso() local
1934 paylen = skb->len - l4_start; in ice_tso()
1935 csum_replace_by_diff(&l4.tcp->check, (__force __wsum)htonl(paylen)); in ice_tso()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2901 u32 paylen, l4_offset; in i40e_tso() local
2940 paylen = skb->len - l4_offset; in i40e_tso()
2942 (__force __wsum)htonl(paylen)); in i40e_tso()
2962 paylen = skb->len - l4_offset; in i40e_tso()
2963 csum_replace_by_diff(&l4.tcp->check, (__force __wsum)htonl(paylen)); in i40e_tso()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h274 __le32 paylen; member
Dhns3_debugfs.c213 dev_info(dev, "(TX)paylen: %u\n", tx_desc->tx.paylen); in hns3_dbg_bd_info()
Dhns3_enet.c673 static int hns3_set_tso(struct sk_buff *skb, u32 *paylen, in hns3_set_tso() argument
733 *paylen = skb->len - hdr_len; in hns3_set_tso()
1036 u32 paylen = skb->len; in hns3_fill_skb_desc() local
1084 ret = hns3_set_tso(skb, &paylen, &mss, in hns3_fill_skb_desc()
1098 desc->tx.paylen = cpu_to_le32(paylen); in hns3_fill_skb_desc()
/drivers/infiniband/hw/hfi1/
Dud.c655 grh->paylen = cpu_to_be16( in return_cnp_16B()
713 grh->paylen = cpu_to_be16( in return_cnp()
Druc.c175 hdr->paylen = cpu_to_be16((hwords + nwords) << 2); in hfi1_make_grh()
/drivers/net/wireless/ath/ar5523/
Dar5523.c796 int error = 0, paylen; in ar5523_tx_work_locked() local
822 paylen = skb->len; in ar5523_tx_work_locked()
842 desc->buflen = cpu_to_be32(paylen); in ar5523_tx_work_locked()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3760 u32 paylen, l4_offset; in ixgbevf_tso() local
3815 paylen = skb->len - l4_offset; in ixgbevf_tso()
3816 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in ixgbevf_tso()
3921 u32 tx_flags, unsigned int paylen) in ixgbevf_tx_olinfo_status() argument
3923 __le32 olinfo_status = cpu_to_le32(paylen << IXGBE_ADVTXD_PAYLEN_SHIFT); in ixgbevf_tx_olinfo_status()
/drivers/net/ethernet/intel/igb/
Digb_main.c5701 u32 paylen, l4_offset; in igb_tso() local
5750 paylen = skb->len - l4_offset; in igb_tso()
5751 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in igb_tso()
5859 u32 tx_flags, unsigned int paylen) in igb_tx_olinfo_status() argument
5861 u32 olinfo_status = paylen << E1000_ADVTXD_PAYLEN_SHIFT; in igb_tx_olinfo_status()

12