/Linux-v5.4/drivers/scsi/libfc/ |
D | fc_frame.c | 51 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.4/arch/s390/include/asm/ |
D | cache.h | 15 #define NET_SKB_PAD 32 macro
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.h | 137 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048)) 174 #define I40E_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.h | 117 ((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.4/drivers/net/ethernet/marvell/ |
D | mvneta_bm.h | 87 #define MVNETA_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD)
|
D | mvneta.c | 2154 MVNETA_MH_SIZE + NET_SKB_PAD, in mvneta_rx_hwbm() 2157 skb_put_data(skb, data + MVNETA_MH_SIZE + NET_SKB_PAD, in mvneta_rx_hwbm() 2199 skb_reserve(skb, MVNETA_MH_SIZE + NET_SKB_PAD); in mvneta_rx_hwbm() 2918 NET_SKB_PAD - pp->rx_offset_correction); in mvneta_rxq_hw_init() 4641 NET_SKB_PAD - in mvneta_probe()
|
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 31 #define ENETC_RXB_PAD NET_SKB_PAD /* add extra space if needed */
|
/Linux-v5.4/net/bpf/ |
D | test_run.c | 255 data = bpf_test_init(kattr, size, NET_SKB_PAD + NET_IP_ALIGN, in bpf_prog_test_run_skb() 298 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in bpf_prog_test_run_skb()
|
/Linux-v5.4/net/l2tp/ |
D | l2tp_ip.c | 432 skb = sock_wmalloc(sk, 2 + NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_ip_sendmsg() 438 skb_reserve(skb, 2 + NET_SKB_PAD); in l2tp_ip_sendmsg()
|
D | l2tp_ppp.c | 298 skb = sock_wmalloc(sk, NET_SKB_PAD + sizeof(struct iphdr) + in pppol2tp_sendmsg() 306 skb_reserve(skb, NET_SKB_PAD); in pppol2tp_sendmsg() 370 headroom = NET_SKB_PAD + in pppol2tp_xmit()
|
/Linux-v5.4/drivers/net/ethernet/ibm/emac/ |
D | core.h | 71 return SKB_DATA_ALIGN(size + NET_IP_ALIGN) + NET_SKB_PAD; in emac_rx_skb_size()
|
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.h | 90 #define RCV_FRAG_LEN (SKB_DATA_ALIGN(DMA_BUFFER_LEN + NET_SKB_PAD) + \
|
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2.h | 631 #define MVPP2_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD) 634 ((total_size) - NET_SKB_PAD - MVPP2_SKB_SHINFO_SIZE)
|
/Linux-v5.4/drivers/net/ethernet/intel/igc/ |
D | igc.h | 126 #define IGC_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 155 #define IXGBEVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 83 ((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.4/drivers/net/ethernet/broadcom/ |
D | bgmac.h | 367 #define BGMAC_RX_BUF_OFFSET (NET_SKB_PAD + NET_IP_ALIGN - \
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1076 buf = kzalloc(E1000_RXBUFFER_2048 + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1086 buf + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1424 NET_SKB_PAD + NET_IP_ALIGN, in e1000_run_loopback_test()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 448 first_buf->data + NET_SKB_PAD, in bnx2x_tpa_start() 693 return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask); in bnx2x_frag_alloc() 794 skb_reserve(skb, pad + NET_SKB_PAD); in bnx2x_tpa_stop() 838 mapping = dma_map_single(&bp->pdev->dev, data + NET_SKB_PAD, in bnx2x_alloc_rx_data() 1016 pad += NET_SKB_PAD; in bnx2x_rx_int() 2034 if (fp->rx_buf_size + NET_SKB_PAD <= PAGE_SIZE) in bnx2x_set_rx_buf_size() 2035 fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD; in bnx2x_set_rx_buf_size()
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | igb.h | 140 #define IGB_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 101 #define NFP_NET_RX_BUF_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN)
|
/Linux-v5.4/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.h | 26 #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN)
|
D | mtk_eth_soc.c | 736 int buf_size = frag_size - NET_SKB_PAD - NET_IP_ALIGN - in mtk_max_buf_size() 1256 new_data + NET_SKB_PAD + in mtk_poll_rx() 1273 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in mtk_poll_rx() 1660 ring->data[i] + NET_SKB_PAD + eth->ip_align, in mtk_rx_alloc()
|
/Linux-v5.4/drivers/net/xen-netback/ |
D | netback.c | 346 alloc_skb(size + NET_SKB_PAD + NET_IP_ALIGN, in xenvif_alloc_skb() 352 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in xenvif_alloc_skb()
|
/Linux-v5.4/drivers/net/ |
D | tun.c | 107 #define TUN_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) 1149 if (new_hr < NET_SKB_PAD) in tun_set_headroom() 1150 new_hr = NET_SKB_PAD; in tun_set_headroom() 2800 tun->align = NET_SKB_PAD; in tun_set_iff()
|