Home
last modified time | relevance | path

Searched refs:l4_offset (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/remoteproc/
H A Dwkup_m3_rproc.c139 u32 l4_offset = 0; in wkup_m3_rproc_probe() local
204 l4_offset = be32_to_cpu(*addrp); in wkup_m3_rproc_probe()
205 wkupm3->mem[i].dev_addr = be32_to_cpu(*addrp) - l4_offset; in wkup_m3_rproc_probe()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dfw.h16 u8 l4_offset; member
H A Dtls.c487 th = pkt + req->l4_offset; in nfp_net_tls_rx_resync_req()
491 req->l3_offset, req->l4_offset, pkt_len); in nfp_net_tls_rx_resync_req()
512 req->l3_offset, req->l4_offset, iph->version); in nfp_net_tls_rx_resync_req()
/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Dnfd3.h42 u8 l4_offset; /* L4 header offset */ member
H A Ddp.c77 u32 l3_offset, l4_offset, hdrlen, l4_hdrlen; in nfp_nfd3_tx_tso() local
85 l4_offset = skb_transport_offset(skb); in nfp_nfd3_tx_tso()
90 l4_offset = skb_inner_transport_offset(skb); in nfp_nfd3_tx_tso()
95 hdrlen = l4_offset + l4_hdrlen; in nfp_nfd3_tx_tso()
101 txd->l4_offset = l4_offset - md_bytes; in nfp_nfd3_tx_tso()
/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Dnfdk.h59 u8 l4_offset; /* L4 header offset */ member
H A Ddp.c43 u32 segs, hdrlen, l3_offset, l4_offset, l4_hdrlen; in nfp_nfdk_tx_tso() local
49 l4_offset = skb_transport_offset(skb); in nfp_nfdk_tx_tso()
54 l4_offset = skb_inner_transport_offset(skb); in nfp_nfdk_tx_tso()
59 hdrlen = l4_offset + l4_hdrlen; in nfp_nfdk_tx_tso()
64 txd.l4_offset = l4_offset; in nfp_nfdk_tx_tso()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c1510 u32 paylen, l4_offset; in iavf_tso() local
1546 l4_offset = l4.hdr - skb->data; in iavf_tso()
1549 paylen = skb->len - l4_offset; in iavf_tso()
1568 l4_offset = l4.hdr - skb->data; in iavf_tso()
1570 paylen = skb->len - l4_offset; in iavf_tso()
1576 *hdr_len = (u8)sizeof(l4.udp) + l4_offset; in iavf_tso()
1581 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c959 ctx->l4_offset = skb_inner_transport_offset(skb); in vmxnet3_parse_hdr()
961 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
963 ctx->l4_offset = skb_transport_offset(skb); in vmxnet3_parse_hdr()
965 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
973 ctx->l4_offset = skb_checksum_start_offset(skb); in vmxnet3_parse_hdr()
1013 ctx->copy_size = min(ctx->l4_offset + in vmxnet3_parse_hdr()
1016 ctx->l4_offset = 0; in vmxnet3_parse_hdr()
1208 if (unlikely(ctx.l4_offset + ctx.l4_hdr_size > in vmxnet3_tq_xmit()
1215 if (unlikely(ctx.l4_offset + in vmxnet3_tq_xmit()
1263 gdesc->txd.hlen = ctx.l4_offset + ctx.l4_hdr_size; in vmxnet3_tq_xmit()
[all …]
H A Dvmxnet3_int.h240 u32 l4_offset; /* only valid for pkts requesting tso or csum member
/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h540 u64 l4_offset:8; member
555 u64 l4_offset:8;
H A Dnicvf_queues.c1365 hdr->l4_offset = skb_transport_offset(skb); in nicvf_sq_add_hdr_subdesc()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3093 u32 paylen, l4_offset; in i40e_tso() local
3137 l4_offset = l4.hdr - skb->data; in i40e_tso()
3140 paylen = skb->len - l4_offset; in i40e_tso()
3159 l4_offset = l4.hdr - skb->data; in i40e_tso()
3162 paylen = skb->len - l4_offset; in i40e_tso()
3167 *hdr_len = sizeof(*l4.udp) + l4_offset; in i40e_tso()
3171 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c2016 u32 paylen, l4_offset; in igbvf_tso() local
2054 l4_offset = l4.hdr - skb->data; in igbvf_tso()
2057 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igbvf_tso()
2060 paylen = skb->len - l4_offset; in igbvf_tso()
2064 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igbvf_tso()
/linux/drivers/net/ethernet/cortina/
H A Dgemini.h619 unsigned int l4_offset:8; member
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h231 u8 l4_offset; member
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c3786 u32 paylen, l4_offset; in ixgbevf_tso() local
3835 l4_offset = l4.hdr - skb->data; in ixgbevf_tso()
3838 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbevf_tso()
3841 paylen = skb->len - l4_offset; in ixgbevf_tso()
3849 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbevf_tso()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c1471 u32 paylen, l4_offset; in igc_tso() local
1514 l4_offset = l4.hdr - skb->data; in igc_tso()
1517 paylen = skb->len - l4_offset; in igc_tso()
1520 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igc_tso()
1525 *hdr_len = sizeof(*l4.udp) + l4_offset; in igc_tso()
1535 mss_l4len_idx = (*hdr_len - l4_offset) << IGC_ADVTXD_L4LEN_SHIFT; in igc_tso()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c1167 u32 l4_offset, hdr_len; in hns3_set_tso() local
1206 l4_offset = l4.hdr - skb->data; in hns3_set_tso()
1209 l4_paylen = skb->len - l4_offset; in hns3_set_tso()
1212 hdr_len = sizeof(*l4.udp) + l4_offset; in hns3_set_tso()
1216 hdr_len = (l4.tcp->doff << 2) + l4_offset; in hns3_set_tso()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c5977 u32 paylen, l4_offset; in igb_tso() local
6021 l4_offset = l4.hdr - skb->data; in igb_tso()
6024 paylen = skb->len - l4_offset; in igb_tso()
6027 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igb_tso()
6032 *hdr_len = sizeof(*l4.udp) + l4_offset; in igb_tso()
6042 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igb_tso()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c8090 u32 paylen, l4_offset; in ixgbe_tso() local
8140 l4_offset = l4.hdr - skb->data; in ixgbe_tso()
8143 paylen = skb->len - l4_offset; in ixgbe_tso()
8147 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbe_tso()
8152 *hdr_len = sizeof(*l4.udp) + l4_offset; in ixgbe_tso()
8162 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbe_tso()