/linux-6.1.9/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-6.1.9/arch/s390/include/asm/ |
D | cache.h | 15 #define NET_SKB_PAD 32 macro
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | ipoib_rx.c | 10 #define HFI1_IPOIB_SKB_PAD ((NET_SKB_PAD) + (NET_IP_ALIGN))
|
/linux-6.1.9/drivers/net/wireguard/ |
D | messages.h | 122 sizeof(struct udphdr) + NET_SKB_PAD)
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.h | 40 ((unsigned int)(NET_SKB_PAD + ICE_RXBUF_1536) > \ 91 #define ICE_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.h | 130 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048)) 167 #define I40E_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/linux-6.1.9/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-6.1.9/drivers/net/ipa/ |
D | ipa_endpoint.c | 30 #define IPA_RX_BUFFER_OVERHEAD (PAGE_SIZE - SKB_MAX_ORDER(NET_SKB_PAD, 0)) 163 aggr_size = ipa_aggr_size_kb(buffer_size - NET_SKB_PAD, in ipa_endpoint_data_valid_one() 859 limit = ipa_aggr_size_kb(buffer_size - NET_SKB_PAD, in ipa_endpoint_init_aggr() 1167 offset = NET_SKB_PAD; in ipa_endpoint_replenish_one() 1285 WARN_ON(len > SKB_WITH_OVERHEAD(buffer_size - NET_SKB_PAD)); in ipa_endpoint_skb_build() 1290 skb_reserve(skb, NET_SKB_PAD); in ipa_endpoint_skb_build() 1386 void *data = page_address(page) + NET_SKB_PAD; in ipa_endpoint_status_parse()
|
/linux-6.1.9/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 125 return SKB_DATA_ALIGN(buf_size + NET_SKB_PAD + NET_IP_ALIGN) + in xrx200_skb_size() 210 ch->dma.desc_base[ch->dma.desc].addr = mapping + NET_SKB_PAD + NET_IP_ALIGN; in xrx200_alloc_buf() 249 skb_reserve(skb, NET_SKB_PAD); in xrx200_hw_receive()
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | mvneta_bm.h | 87 #define MVNETA_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD)
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.h | 16 #define AQ_XDP_HEADROOM ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8)
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_ip.c | 439 skb = sock_wmalloc(sk, 2 + NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_ip_sendmsg() 445 skb_reserve(skb, 2 + NET_SKB_PAD); in l2tp_ip_sendmsg()
|
D | l2tp_ppp.c | 291 skb = sock_wmalloc(sk, NET_SKB_PAD + sizeof(struct iphdr) + in pppol2tp_sendmsg() 299 skb_reserve(skb, NET_SKB_PAD); in pppol2tp_sendmsg() 363 headroom = NET_SKB_PAD + in pppol2tp_xmit()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb.h | 164 ((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-6.1.9/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-6.1.9/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.h | 90 #define RCV_FRAG_LEN (SKB_DATA_ALIGN(DMA_BUFFER_LEN + NET_SKB_PAD) + \
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 155 #define IXGBEVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/broadcom/ |
D | bgmac.h | 329 #define BGMAC_RX_BUF_OFFSET (NET_SKB_PAD + NET_IP_ALIGN - \
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 44 #define ENETC_RXB_PAD NET_SKB_PAD /* add extra space if needed */
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc.h | 377 #define IGC_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN)
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | cpsw_priv.h | 419 #define CPSW_HEADROOM_NA (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN)
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1078 buf = kzalloc(E1000_RXBUFFER_2048 + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1088 buf + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1426 NET_SKB_PAD + NET_IP_ALIGN, in e1000_run_loopback_test()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 447 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() 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-6.1.9/drivers/net/ |
D | tun.c | 87 #define TUN_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) 1178 if (new_hr < NET_SKB_PAD) in tun_set_headroom() 1179 new_hr = NET_SKB_PAD; in tun_set_headroom() 1465 len > (ETH_MAX_MTU - NET_SKB_PAD - NET_IP_ALIGN)) in tun_napi_alloc_frags() 2820 tun->align = NET_SKB_PAD; in tun_set_iff()
|