Home
last modified time | relevance | path

Searched refs:SKB_WITH_OVERHEAD (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/include/linux/
Dnetlink.h208 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
210 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
Dskbuff.h262 #define SKB_WITH_OVERHEAD(X) \ macro
265 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dipoib_rx.c57 if (size <= SKB_WITH_OVERHEAD(PAGE_SIZE)) in hfi1_ipoib_prepare_skb()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_txrx.h41 SKB_WITH_OVERHEAD(ICE_RXBUF_2048))
57 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad()
Dice_txrx.c809 (SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_2048) in ice_can_reuse_rx_page()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h130 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048))
137 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
Di40e_txrx.c2001 (SKB_WITH_OVERHEAD(PAGE_SIZE) - I40E_RXBUFFER_2048) in i40e_can_reuse_rx_page()
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h117 ((NET_SKB_PAD + IAVF_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IAVF_RXBUFFER_2048))
124 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
Diavf_txrx.c1224 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
/Linux-v6.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_config.h30 #define OCTEP_OQ_BUF_SIZE (SKB_WITH_OVERHEAD(PAGE_SIZE))
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc.h46 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
48 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Ddma.c281 int buf_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_get_buf()
450 int len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_fill()
676 data_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_process()
Dusb.c482 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb.h164 ((NET_SKB_PAD + IGB_TS_HDR_LEN + IGB_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IGB_RXBUFFER_2048))
171 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in igb_compute_pad()
/Linux-v6.1/net/smc/
Dsmc_diag.c244 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
Dixgbevf_main.c799 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IXGBEVF_RXBUFFER_2048) in ixgbevf_can_reuse_rx_page()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h83 ((NET_SKB_PAD + IXGBE_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IXGBE_RXBUFFER_2K))
90 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc.h378 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
/Linux-v6.1/net/core/
Dskbuff.c517 size = SKB_WITH_OVERHEAD(osize); in __alloc_skb()
572 if (len <= SKB_WITH_OVERHEAD(1024) || in __netdev_alloc_skb()
573 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __netdev_alloc_skb()
650 if ((!NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) || in __napi_alloc_skb()
651 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __napi_alloc_skb()
665 if (NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) { in __napi_alloc_skb()
1836 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_expand_head()
6186 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_header()
6306 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_nonlinear()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c704 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
710 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
/Linux-v6.1/drivers/net/
Dveth.c716 max_head_size = SKB_WITH_OVERHEAD(PAGE_SIZE - in veth_convert_skb_to_xdp_buff()
1531 max_mtu = SKB_WITH_OVERHEAD(PAGE_SIZE - VETH_XDP_HEADROOM) - in veth_xdp_set()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c187 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \
190 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size)
/Linux-v6.1/drivers/net/ipa/
Dipa_endpoint.c1285 WARN_ON(len > SKB_WITH_OVERHEAD(buffer_size - NET_SKB_PAD)); in ipa_endpoint_skb_build()
/Linux-v6.1/net/netlink/
Daf_netlink.c1969 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()

12