Home
last modified time | relevance | path

Searched refs:NET_SKB_PAD (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v5.15/drivers/scsi/libfc/
Dfc_frame.c51 NET_SKB_PAD, GFP_ATOMIC); in _fc_frame_alloc()
54 skb_reserve(skb, NET_SKB_PAD + FC_FRAME_HEADROOM); in _fc_frame_alloc()
/Linux-v5.15/arch/s390/include/asm/
Dcache.h15 #define NET_SKB_PAD 32 macro
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_txrx.h41 ((unsigned int)(NET_SKB_PAD + ICE_RXBUF_1536) > \
92 #define ICE_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dipoib_rx.c10 #define HFI1_IPOIB_SKB_PAD ((NET_SKB_PAD) + (NET_IP_ALIGN))
/Linux-v5.15/drivers/net/wireguard/
Dmessages.h122 sizeof(struct udphdr) + NET_SKB_PAD)
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h117 ((NET_SKB_PAD + IAVF_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IAVF_RXBUFFER_2048))
154 #define IAVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h130 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048))
167 #define I40E_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/marvell/
Dmvneta_bm.h87 #define MVNETA_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD)
/Linux-v5.15/drivers/net/ipa/
Dipa_endpoint.c34 #define IPA_RX_BUFFER_OVERHEAD (PAGE_SIZE - SKB_MAX_ORDER(NET_SKB_PAD, 0))
1023 offset = NET_SKB_PAD; in ipa_endpoint_replenish_one()
1162 WARN_ON(len > SKB_WITH_OVERHEAD(IPA_RX_BUFFER_SIZE - NET_SKB_PAD)); in ipa_endpoint_skb_build()
1167 skb_reserve(skb, NET_SKB_PAD); in ipa_endpoint_skb_build()
1262 void *data = page_address(page) + NET_SKB_PAD; in ipa_endpoint_status_parse()
/Linux-v5.15/net/l2tp/
Dl2tp_ip.c437 skb = sock_wmalloc(sk, 2 + NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_ip_sendmsg()
443 skb_reserve(skb, 2 + NET_SKB_PAD); in l2tp_ip_sendmsg()
Dl2tp_ppp.c292 skb = sock_wmalloc(sk, NET_SKB_PAD + sizeof(struct iphdr) + in pppol2tp_sendmsg()
300 skb_reserve(skb, NET_SKB_PAD); in pppol2tp_sendmsg()
364 headroom = NET_SKB_PAD + in pppol2tp_xmit()
/Linux-v5.15/drivers/net/ethernet/intel/igb/
Digb.h164 ((NET_SKB_PAD + IGB_TS_HDR_LEN + IGB_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IGB_RXBUFFER_2048))
200 #define IGB_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/ibm/emac/
Dcore.h71 return SKB_DATA_ALIGN(size + NET_IP_ALIGN) + NET_SKB_PAD; in emac_rx_skb_size()
/Linux-v5.15/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.h90 #define RCV_FRAG_LEN (SKB_DATA_ALIGN(DMA_BUFFER_LEN + NET_SKB_PAD) + \
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h155 #define IXGBEVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h83 ((NET_SKB_PAD + IXGBE_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IXGBE_RXBUFFER_2K))
119 #define IXGBE_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc.h41 #define ENETC_RXB_PAD NET_SKB_PAD /* add extra space if needed */
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbgmac.h329 #define BGMAC_RX_BUF_OFFSET (NET_SKB_PAD + NET_IP_ALIGN - \
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc.h375 #define IGC_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/drivers/net/ethernet/ti/
Dcpsw_priv.h411 #define CPSW_HEADROOM_NA (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN)
/Linux-v5.15/net/bpf/
Dtest_run.c580 data = bpf_test_init(kattr, size, NET_SKB_PAD + NET_IP_ALIGN, in bpf_prog_test_run_skb()
622 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in bpf_prog_test_run_skb()
/Linux-v5.15/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1074 buf = kzalloc(E1000_RXBUFFER_2048 + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings()
1084 buf + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings()
1422 NET_SKB_PAD + NET_IP_ALIGN, in e1000_run_loopback_test()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c448 first_buf->data + NET_SKB_PAD, in bnx2x_tpa_start()
694 return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask); in bnx2x_frag_alloc()
795 skb_reserve(skb, pad + NET_SKB_PAD); in bnx2x_tpa_stop()
839 mapping = dma_map_single(&bp->pdev->dev, data + NET_SKB_PAD, in bnx2x_alloc_rx_data()
1017 pad += NET_SKB_PAD; in bnx2x_rx_int()
2037 if (fp->rx_buf_size + NET_SKB_PAD <= PAGE_SIZE) in bnx2x_set_rx_buf_size()
2038 fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD; in bnx2x_set_rx_buf_size()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h102 #define NFP_NET_RX_BUF_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN)
/Linux-v5.15/net/xdp/
Dxsk.c459 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_build_skb_zerocopy()
511 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(dev->needed_headroom)); in xsk_build_skb()

123