Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/
Dfw.h16 u8 l4_offset; member
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-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Dnfd3.h42 u8 l4_offset; /* L4 header offset */ member
Ddp.c76 u32 l3_offset, l4_offset, hdrlen; in nfp_nfd3_tx_tso() local
84 l4_offset = skb_transport_offset(skb); in nfp_nfd3_tx_tso()
88 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-6.1.9/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()
60 txd.l4_offset = l4_offset; in nfp_nfdk_tx_tso()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1873 u32 paylen, l4_offset; in iavf_tso() local
1909 l4_offset = l4.hdr - skb->data; in iavf_tso()
1912 paylen = skb->len - l4_offset; in iavf_tso()
1931 l4_offset = l4.hdr - skb->data; in iavf_tso()
1933 paylen = skb->len - l4_offset; in iavf_tso()
1939 *hdr_len = (u8)sizeof(l4.udp) + l4_offset; in iavf_tso()
1944 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
/linux-6.1.9/drivers/net/vmxnet3/
Dvmxnet3_drv.c871 ctx->l4_offset = skb_inner_transport_offset(skb); in vmxnet3_parse_hdr()
873 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
875 ctx->l4_offset = skb_transport_offset(skb); in vmxnet3_parse_hdr()
877 ctx->copy_size = ctx->l4_offset + ctx->l4_hdr_size; in vmxnet3_parse_hdr()
885 ctx->l4_offset = skb_checksum_start_offset(skb); in vmxnet3_parse_hdr()
925 ctx->copy_size = min(ctx->l4_offset + in vmxnet3_parse_hdr()
928 ctx->l4_offset = 0; in vmxnet3_parse_hdr()
1120 if (unlikely(ctx.l4_offset + ctx.l4_hdr_size > in vmxnet3_tq_xmit()
1127 if (unlikely(ctx.l4_offset + in vmxnet3_tq_xmit()
1175 gdesc->txd.hlen = ctx.l4_offset + ctx.l4_hdr_size; in vmxnet3_tq_xmit()
[all …]
Dvmxnet3_int.h226 u32 l4_offset; /* only valid for pkts requesting tso or csum member
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3026 u32 paylen, l4_offset; in i40e_tso() local
3070 l4_offset = l4.hdr - skb->data; in i40e_tso()
3073 paylen = skb->len - l4_offset; in i40e_tso()
3092 l4_offset = l4.hdr - skb->data; in i40e_tso()
3095 paylen = skb->len - l4_offset; in i40e_tso()
3100 *hdr_len = sizeof(*l4.udp) + l4_offset; in i40e_tso()
3104 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h211 u8 l4_offset; member
/linux-6.1.9/drivers/net/ethernet/cortina/
Dgemini.h619 unsigned int l4_offset:8; member
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c1423 u32 paylen, l4_offset; in igc_tso() local
1466 l4_offset = l4.hdr - skb->data; in igc_tso()
1469 paylen = skb->len - l4_offset; in igc_tso()
1472 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igc_tso()
1477 *hdr_len = sizeof(*l4.udp) + l4_offset; in igc_tso()
1487 mss_l4len_idx = (*hdr_len - l4_offset) << IGC_ADVTXD_L4LEN_SHIFT; in igc_tso()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1166 u32 l4_offset, hdr_len; in hns3_set_tso() local
1205 l4_offset = l4.hdr - skb->data; in hns3_set_tso()
1208 l4_paylen = skb->len - l4_offset; in hns3_set_tso()
1211 hdr_len = sizeof(*l4.udp) + l4_offset; in hns3_set_tso()
1215 hdr_len = (l4.tcp->doff << 2) + l4_offset; in hns3_set_tso()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c5914 u32 paylen, l4_offset; in igb_tso() local
5958 l4_offset = l4.hdr - skb->data; in igb_tso()
5961 paylen = skb->len - l4_offset; in igb_tso()
5964 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igb_tso()
5969 *hdr_len = sizeof(*l4.udp) + l4_offset; in igb_tso()
5979 mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; in igb_tso()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8065 u32 paylen, l4_offset; in ixgbe_tso() local
8115 l4_offset = l4.hdr - skb->data; in ixgbe_tso()
8118 paylen = skb->len - l4_offset; in ixgbe_tso()
8122 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbe_tso()
8127 *hdr_len = sizeof(*l4.udp) + l4_offset; in ixgbe_tso()
8137 mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; in ixgbe_tso()