Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/remoteproc/
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-5.19.10/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()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Dnfd3.h42 u8 l4_offset; /* L4 header offset */ member
Ddp.c75 u32 l3_offset, l4_offset, hdrlen; in nfp_nfd3_tx_tso() local
83 l4_offset = skb_transport_offset(skb); in nfp_nfd3_tx_tso()
87 l4_offset = skb_inner_transport_offset(skb); in nfp_nfd3_tx_tso()
97 txd->l4_offset = l4_offset - md_bytes; in nfp_nfd3_tx_tso()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Dnfdk.h59 u8 l4_offset; /* L4 header offset */ member
Ddp.c42 u32 segs, hdrlen, l3_offset, l4_offset; in nfp_nfdk_tx_tso() local
48 l4_offset = skb_transport_offset(skb); in nfp_nfdk_tx_tso()
52 l4_offset = skb_inner_transport_offset(skb); in nfp_nfdk_tx_tso()
72 txd.l4_offset = l4_offset; in nfp_nfdk_tx_tso()
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1870 u32 paylen, l4_offset; in iavf_tso() local
1906 l4_offset = l4.hdr - skb->data; in iavf_tso()
1909 paylen = skb->len - l4_offset; in iavf_tso()
1928 l4_offset = l4.hdr - skb->data; in iavf_tso()
1930 paylen = skb->len - l4_offset; in iavf_tso()
1936 *hdr_len = (u8)sizeof(l4.udp) + l4_offset; in iavf_tso()
1941 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
/linux-5.19.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c842 ctx->l4_offset = skb_inner_transport_offset(skb); in vmxnet3_parse_hdr()
844 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
846 ctx->l4_offset = skb_transport_offset(skb); in vmxnet3_parse_hdr()
848 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
856 ctx->l4_offset = skb_checksum_start_offset(skb); in vmxnet3_parse_hdr()
896 ctx->copy_size = min(ctx->l4_offset + in vmxnet3_parse_hdr()
899 ctx->l4_offset = 0; in vmxnet3_parse_hdr()
1074 if (unlikely(ctx.l4_offset + ctx.l4_hdr_size > in vmxnet3_tq_xmit()
1081 if (unlikely(ctx.l4_offset + in vmxnet3_tq_xmit()
1129 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
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/
Dq_struct.h540 u64 l4_offset:8; member
555 u64 l4_offset:8;
Dnicvf_queues.c1365 hdr->l4_offset = skb_transport_offset(skb); in nicvf_sq_add_hdr_subdesc()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3030 u32 paylen, l4_offset; in i40e_tso() local
3074 l4_offset = l4.hdr - skb->data; in i40e_tso()
3077 paylen = skb->len - l4_offset; in i40e_tso()
3096 l4_offset = l4.hdr - skb->data; in i40e_tso()
3099 paylen = skb->len - l4_offset; in i40e_tso()
3104 *hdr_len = sizeof(*l4.udp) + l4_offset; in i40e_tso()
3108 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
/linux-5.19.10/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2013 u32 paylen, l4_offset; in igbvf_tso() local
2051 l4_offset = l4.hdr - skb->data; in igbvf_tso()
2054 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igbvf_tso()
2057 paylen = skb->len - l4_offset; in igbvf_tso()
2061 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igbvf_tso()
/linux-5.19.10/drivers/net/ethernet/cortina/
Dgemini.h619 unsigned int l4_offset:8; member
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h211 u8 l4_offset; member
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3780 u32 paylen, l4_offset; in ixgbevf_tso() local
3829 l4_offset = l4.hdr - skb->data; in ixgbevf_tso()
3832 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbevf_tso()
3835 paylen = skb->len - l4_offset; in ixgbevf_tso()
3843 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbevf_tso()
/linux-5.19.10/drivers/net/ethernet/intel/igc/
Digc_main.c1337 u32 paylen, l4_offset; in igc_tso() local
1380 l4_offset = l4.hdr - skb->data; in igc_tso()
1383 paylen = skb->len - l4_offset; in igc_tso()
1386 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igc_tso()
1391 *hdr_len = sizeof(*l4.udp) + l4_offset; in igc_tso()
1401 mss_l4len_idx = (*hdr_len - l4_offset) << IGC_ADVTXD_L4LEN_SHIFT; in igc_tso()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1164 u32 l4_offset, hdr_len; in hns3_set_tso() local
1203 l4_offset = l4.hdr - skb->data; in hns3_set_tso()
1206 l4_paylen = skb->len - l4_offset; in hns3_set_tso()
1209 hdr_len = sizeof(*l4.udp) + l4_offset; in hns3_set_tso()
1213 hdr_len = (l4.tcp->doff << 2) + l4_offset; in hns3_set_tso()
/linux-5.19.10/drivers/net/ethernet/intel/igb/
Digb_main.c5911 u32 paylen, l4_offset; in igb_tso() local
5955 l4_offset = l4.hdr - skb->data; in igb_tso()
5958 paylen = skb->len - l4_offset; in igb_tso()
5961 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igb_tso()
5966 *hdr_len = sizeof(*l4.udp) + l4_offset; in igb_tso()
5976 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igb_tso()
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7997 u32 paylen, l4_offset; in ixgbe_tso() local
8047 l4_offset = l4.hdr - skb->data; in ixgbe_tso()
8050 paylen = skb->len - l4_offset; in ixgbe_tso()
8054 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbe_tso()
8059 *hdr_len = sizeof(*l4.udp) + l4_offset; in ixgbe_tso()
8069 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbe_tso()