Home
last modified time | relevance | path

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

/drivers/remoteproc/
Dwkup_m3_rproc.c139 u32 l4_offset = 0; in wkup_m3_rproc_probe() local
203 l4_offset = be32_to_cpu(*addrp); in wkup_m3_rproc_probe()
204 wkupm3->mem[i].dev_addr = be32_to_cpu(*addrp) - l4_offset; in wkup_m3_rproc_probe()
/drivers/net/ethernet/netronome/nfp/crypto/
Dfw.h16 u8 l4_offset; member
Dtls.c486 th = pkt + req->l4_offset; in nfp_net_tls_rx_resync_req()
490 req->l3_offset, req->l4_offset, pkt_len); in nfp_net_tls_rx_resync_req()
511 req->l3_offset, req->l4_offset, iph->version); in nfp_net_tls_rx_resync_req()
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1851 u32 paylen, l4_offset; in iavf_tso() local
1887 l4_offset = l4.hdr - skb->data; in iavf_tso()
1890 paylen = skb->len - l4_offset; in iavf_tso()
1909 l4_offset = l4.hdr - skb->data; in iavf_tso()
1911 paylen = skb->len - l4_offset; in iavf_tso()
1917 *hdr_len = (u8)sizeof(l4.udp) + l4_offset; in iavf_tso()
1922 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c854 ctx->l4_offset = skb_inner_transport_offset(skb); in vmxnet3_parse_hdr()
856 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
858 ctx->l4_offset = skb_transport_offset(skb); in vmxnet3_parse_hdr()
860 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
868 ctx->l4_offset = skb_checksum_start_offset(skb); in vmxnet3_parse_hdr()
908 ctx->copy_size = min(ctx->l4_offset + in vmxnet3_parse_hdr()
911 ctx->l4_offset = 0; in vmxnet3_parse_hdr()
1086 if (unlikely(ctx.l4_offset + ctx.l4_hdr_size > in vmxnet3_tq_xmit()
1093 if (unlikely(ctx.l4_offset + in vmxnet3_tq_xmit()
1141 gdesc->txd.hlen = ctx.l4_offset + ctx.l4_hdr_size; in vmxnet3_tq_xmit()
[all …]
Dvmxnet3_int.h224 u32 l4_offset; /* only valid for pkts requesting tso or csum member
/drivers/net/ethernet/cavium/thunder/
Dq_struct.h540 u64 l4_offset:8; member
555 u64 l4_offset:8;
Dnicvf_queues.c1364 hdr->l4_offset = skb_transport_offset(skb); in nicvf_sq_add_hdr_subdesc()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3025 u32 paylen, l4_offset; in i40e_tso() local
3061 l4_offset = l4.hdr - skb->data; in i40e_tso()
3064 paylen = skb->len - l4_offset; in i40e_tso()
3083 l4_offset = l4.hdr - skb->data; in i40e_tso()
3086 paylen = skb->len - l4_offset; in i40e_tso()
3091 *hdr_len = sizeof(*l4.udp) + l4_offset; in i40e_tso()
3095 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2018 u32 paylen, l4_offset; in igbvf_tso() local
2056 l4_offset = l4.hdr - skb->data; in igbvf_tso()
2059 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igbvf_tso()
2062 paylen = skb->len - l4_offset; in igbvf_tso()
2066 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igbvf_tso()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h204 u8 l4_offset; member
/drivers/net/ethernet/cortina/
Dgemini.h619 unsigned int l4_offset:8; member
/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h158 u8 l4_offset; /* L4 header offset */ member
Dnfp_net_common.c737 u32 l3_offset, l4_offset, hdrlen; in nfp_net_tx_tso() local
745 l4_offset = skb_transport_offset(skb); in nfp_net_tx_tso()
749 l4_offset = skb_inner_transport_offset(skb); in nfp_net_tx_tso()
759 txd->l4_offset = l4_offset - md_bytes; in nfp_net_tx_tso()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3763 u32 paylen, l4_offset; in ixgbevf_tso() local
3812 l4_offset = l4.hdr - skb->data; in ixgbevf_tso()
3815 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbevf_tso()
3818 paylen = skb->len - l4_offset; in ixgbevf_tso()
3826 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbevf_tso()
/drivers/net/ethernet/intel/igc/
Digc_main.c1458 u32 paylen, l4_offset; in igc_tso() local
1501 l4_offset = l4.hdr - skb->data; in igc_tso()
1504 paylen = skb->len - l4_offset; in igc_tso()
1507 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igc_tso()
1512 *hdr_len = sizeof(*l4.udp) + l4_offset; in igc_tso()
1522 mss_l4len_idx = (*hdr_len - l4_offset) << IGC_ADVTXD_L4LEN_SHIFT; in igc_tso()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1158 u32 l4_offset, hdr_len; in hns3_set_tso() local
1197 l4_offset = l4.hdr - skb->data; in hns3_set_tso()
1200 l4_paylen = skb->len - l4_offset; in hns3_set_tso()
1203 hdr_len = sizeof(*l4.udp) + l4_offset; in hns3_set_tso()
1207 hdr_len = (l4.tcp->doff << 2) + l4_offset; in hns3_set_tso()
/drivers/net/ethernet/intel/igb/
Digb_main.c5917 u32 paylen, l4_offset; in igb_tso() local
5961 l4_offset = l4.hdr - skb->data; in igb_tso()
5964 paylen = skb->len - l4_offset; in igb_tso()
5967 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igb_tso()
5972 *hdr_len = sizeof(*l4.udp) + l4_offset; in igb_tso()
5982 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igb_tso()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7970 u32 paylen, l4_offset; in ixgbe_tso() local
8020 l4_offset = l4.hdr - skb->data; in ixgbe_tso()
8023 paylen = skb->len - l4_offset; in ixgbe_tso()
8027 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbe_tso()
8032 *hdr_len = sizeof(*l4.udp) + l4_offset; in ixgbe_tso()
8042 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbe_tso()