/linux/drivers/remoteproc/ |
H A D | wkup_m3_rproc.c | 139 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 D | fw.h | 16 u8 l4_offset; member
|
H A D | tls.c | 487 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 D | nfd3.h | 42 u8 l4_offset; /* L4 header offset */ member
|
H A D | dp.c | 77 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 D | nfdk.h | 59 u8 l4_offset; /* L4 header offset */ member
|
H A D | dp.c | 43 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 D | iavf_txrx.c | 1510 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 D | vmxnet3_drv.c | 959 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 D | vmxnet3_int.h | 240 u32 l4_offset; /* only valid for pkts requesting tso or csum member
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | q_struct.h | 540 u64 l4_offset:8; member 555 u64 l4_offset:8;
|
H A D | nicvf_queues.c | 1365 hdr->l4_offset = skb_transport_offset(skb); in nicvf_sq_add_hdr_subdesc()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 3093 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 D | netdev.c | 2016 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 D | gemini.h | 619 unsigned int l4_offset:8; member
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 231 u8 l4_offset; member
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 3786 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 D | igc_main.c | 1471 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 D | hns3_enet.c | 1167 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 D | igb_main.c | 5977 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 D | ixgbe_main.c | 8090 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()
|