/drivers/infiniband/sw/rxe/ |
D | rxe_req.c | 389 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 …]
|
D | rxe_net.c | 218 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()
|
D | rxe_resp.c | 598 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()
|
D | rxe_loc.h | 146 int paylen, struct rxe_pkt_info *pkt);
|
D | rxe_hdr.h | 49 u16 paylen; /* length of bth - icrc */ member 956 return pkt->paylen - rxe_opcode[pkt->opcode].offset[RXE_PAYLOAD] in payload_size()
|
D | rxe_recv.c | 387 icrcp = (__be32 *)(pkt->hdr + pkt->paylen - RXE_ICRC_SIZE); in rxe_rcv()
|
/drivers/media/usb/dvb-usb/ |
D | cxusb-analog.c | 86 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()
|
D | cxusb.h | 93 unsigned int paylen; member
|
/drivers/infiniband/core/ |
D | mad_rmpp.c | 580 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/ |
D | iavf_txrx.c | 1867 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/ |
D | qib_ruc.c | 190 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 195 __be16 paylen; member
|
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 2010 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/ |
D | hns_enet.c | 52 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()
|
D | hnae.h | 190 __le16 paylen; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1905 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/ |
D | i40e_txrx.c | 2901 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/ |
D | hns3_enet.h | 274 __le32 paylen; member
|
D | hns3_debugfs.c | 213 dev_info(dev, "(TX)paylen: %u\n", tx_desc->tx.paylen); in hns3_dbg_bd_info()
|
D | hns3_enet.c | 673 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/ |
D | ud.c | 655 grh->paylen = cpu_to_be16( in return_cnp_16B() 713 grh->paylen = cpu_to_be16( in return_cnp()
|
D | ruc.c | 175 hdr->paylen = cpu_to_be16((hwords + nwords) << 2); in hfi1_make_grh()
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 796 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/ |
D | ixgbevf_main.c | 3760 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/ |
D | igb_main.c | 5701 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()
|