Home
last modified time | relevance | path

Searched refs:header_len (Results 1 – 25 of 40) sorted by relevance

12

/drivers/net/ethernet/sfc/
Dtx_tso.c73 unsigned int header_len; member
174 unsigned int header_len, in_len; in tso_start() local
179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
180 in_len = skb_headlen(skb) - header_len; in tso_start()
181 st->header_len = header_len; in tso_start()
184 st->ip_base_len = st->header_len - st->ip_off; in tso_start()
187 st->ip_base_len = st->header_len - st->tcp_off; in tso_start()
196 st->out_len = skb->len - header_len; in tso_start()
202 st->dma_addr = dma_addr + header_len; in tso_start()
326 buffer->len = st->header_len; in tso_start_new_packet()
Dtx.c387 size_t header_len = skb_transport_header(skb) - skb->data + in efx_tx_map_data() local
390 if (header_len != len) { in efx_tx_map_data()
392 efx_tx_map_chunk(tx_queue, dma_addr, header_len); in efx_tx_map_data()
393 len -= header_len; in efx_tx_map_data()
394 dma_addr += header_len; in efx_tx_map_data()
/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c116 u16 header_len) in ena_com_write_header_to_bounce() argument
129 if (unlikely((header_offset + header_len) > in ena_com_write_header_to_bounce()
140 memcpy(bounce_buffer + header_offset, header_src, header_len); in ena_com_write_header_to_bounce()
376 u16 header_len = ena_tx_ctx->header_len; in ena_com_prepare_tx() local
391 if (unlikely(header_len > io_sq->tx_max_header_size)) { in ena_com_prepare_tx()
393 header_len, io_sq->tx_max_header_size); in ena_com_prepare_tx()
401 rc = ena_com_write_header_to_bounce(io_sq, buffer_to_push, header_len); in ena_com_prepare_tx()
414 if (unlikely(!num_bufs && !header_len)) { in ena_com_prepare_tx()
429 desc->buff_addr_hi_hdr_sz |= (header_len << in ena_com_prepare_tx()
Dena_eth_com.h54 u16 header_len; member
Dena_netdev.c2113 int num_frags, header_len, rc; in ena_check_and_linearize_skb() local
2116 header_len = skb_headlen(skb); in ena_check_and_linearize_skb()
2122 (header_len < tx_ring->tx_max_header_size)) in ena_check_and_linearize_skb()
2143 u16 *header_len) in ena_tx_map_skb() argument
2171 *header_len = push_len; in ena_tx_map_skb()
2181 *header_len = min_t(u32, skb_head_len, in ena_tx_map_skb()
2254 u16 next_to_use, req_id, header_len; in ena_start_xmit() local
2276 rc = ena_tx_map_skb(tx_ring, tx_info, skb, &push_hdr, &header_len); in ena_start_xmit()
2285 ena_tx_ctx.header_len = header_len; in ena_start_xmit()
/drivers/gpu/drm/i915/
Dintel_csr.c88 u32 header_len; member
145 u8 header_len; member
161 u8 header_len; member
406 header_len_bytes = dmc_header->header_len * 4; in parse_csr_fw_dmc()
419 header_len_bytes = dmc_header->header_len; in parse_csr_fw_dmc()
511 if (package_header->header_len * 4 != package_size) { in parse_csr_fw_package()
550 (css_header->header_len * 4)) { in parse_csr_fw_css()
553 (css_header->header_len * 4)); in parse_csr_fw_css()
/drivers/ide/
Dide-floppy_ioctl.c44 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_format_capacities() local
59 header_len = pc_buf[3]; in ide_floppy_get_format_capacities()
60 desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ in ide_floppy_get_format_capacities()
Dide-floppy.c384 u8 pc_buf[256], header_len, desc_cnt; in ide_floppy_get_capacity() local
400 header_len = pc_buf[3]; in ide_floppy_get_capacity()
402 desc_cnt = header_len / 8; /* capacity descriptor of 8 bytes */ in ide_floppy_get_capacity()
/drivers/net/wimax/i2400m/
Dfw.c714 offset = le32_to_cpu(bcf->header_len) * sizeof(u32); in i2400m_dnload_bcf()
1190 unsigned module_type, header_len, major_version, minor_version, in i2400m_fw_hdr_check() local
1194 header_len = sizeof(u32) * le32_to_cpu(bcf_hdr->header_len); in i2400m_fw_hdr_check()
1207 major_version, minor_version, header_len, size, date); in i2400m_fw_hdr_check()
1265 size_t leftover, offset, header_len, size; in i2400m_fw_check() local
1278 header_len = sizeof(u32) * le32_to_cpu(bcf_hdr->header_len); in i2400m_fw_check()
1283 next = itr + header_len; in i2400m_fw_check()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c559 packet->header_len, DMA_TO_DEVICE); in xgbe_map_tx_skb()
565 rdata->skb_dma_len = packet->header_len; in xgbe_map_tx_skb()
568 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb()
570 offset = packet->header_len; in xgbe_map_tx_skb()
572 packet->length += packet->header_len; in xgbe_map_tx_skb()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c535 pkt_info->header_len, DMA_TO_DEVICE); in xlgmac_map_tx_skb()
541 desc_data->skb_dma_len = pkt_info->header_len; in xlgmac_map_tx_skb()
544 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb()
546 offset = pkt_info->header_len; in xlgmac_map_tx_skb()
548 pkt_info->length += pkt_info->header_len; in xlgmac_map_tx_skb()
Ddwc-xlgmac-net.c84 pkt_info->header_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in xlgmac_prep_tso()
86 pkt_info->tcp_payload_len = skb->len - pkt_info->header_len; in xlgmac_prep_tso()
89 XLGMAC_PR("header_len=%u\n", pkt_info->header_len); in xlgmac_prep_tso()
98 pkt_info->tx_bytes += (pkt_info->tx_packets - 1) * pkt_info->header_len; in xlgmac_prep_tso()
/drivers/net/wireless/rsi/
Drsi_hal.h180 u8 header_len; member
194 u8 header_len; member
Drsi_91x_hal.c108 mgmt_desc->header_len = MIN_802_11_HDR_LEN; in rsi_prepare_mgmt_desc()
215 data_desc->header_len = ieee80211_size; in rsi_prepare_data_desc()
453 bcn_frm->header_len = MIN_802_11_HDR_LEN; in rsi_prepare_beacon()
/drivers/net/
Dnetconsole.c775 int header_len, body_len; in send_ext_msg_udp() local
788 header_len = body - header; in send_ext_msg_udp()
789 body_len = msg_len - header_len - 1; in send_ext_msg_udp()
796 memcpy(buf, header, header_len); in send_ext_msg_udp()
799 int this_header = header_len; in send_ext_msg_udp()
/drivers/usb/gadget/function/
Du_ether.c69 unsigned header_len; member
209 size += dev->port_usb->header_len; in rx_submit()
1081 dev->header_len = link->header_len; in gether_connect()
1171 dev->header_len = 0; in gether_disconnect()
Du_ether.h67 u32 header_len; member
/drivers/net/ppp/
Dpptp.c138 unsigned int header_len = sizeof(*hdr); in pptp_xmit() local
197 header_len -= sizeof(hdr->ack); in pptp_xmit()
200 skb_push(skb, header_len); in pptp_xmit()
/drivers/net/ethernet/intel/ice/
Dice_txrx.h73 u8 header_len; member
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h361 u8 header_len[8]; /* dword 2 */ member
/drivers/media/platform/qcom/venus/
Dhfi_msgs.h95 u32 header_len; member
Dhfi_cmds.h239 u32 header_len; member
/drivers/net/wireless/intersil/p54/
Dtxrx.c332 size_t header_len = sizeof(*hdr); in p54_rx_data() local
379 header_len += hdr->align[0]; in p54_rx_data()
381 skb_pull(skb, header_len); in p54_rx_data()
/drivers/infiniband/hw/hfi1/
Dfirmware.c98 u32 header_len; member
412 invalid_header(dd, "header_len", css->header_len, in verify_css_header()
478 css->header_len, 4 * css->header_len); in obtain_one_firmware()
/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h466 unsigned int header_len; member

12