Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c57 if (size <= SKB_WITH_OVERHEAD(PAGE_SIZE)) in hfi1_ipoib_prepare_skb()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.h116 ((NET_SKB_PAD + IAVF_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IAVF_RXBUFFER_2048))
123 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
H A Diavf_txrx.c1224 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.h43 SKB_WITH_OVERHEAD(ICE_RXBUF_2048))
59 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad()
H A Dice_txrx.c818 (SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_3072) in ice_can_reuse_rx_page()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h132 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048))
139 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
/openbmc/linux/include/linux/
H A Dnetlink.h270 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
272 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
H A Dskbuff.h255 #define SKB_WITH_OVERHEAD(X) \ macro
266 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_config.h30 #define OCTEP_OQ_BUF_SIZE (SKB_WITH_OVERHEAD(PAGE_SIZE))
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h47 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
49 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Ddma.c410 SKB_WITH_OVERHEAD(q->buf_size), in mt76_dma_get_buf()
431 SKB_WITH_OVERHEAD(q->buf_size), in mt76_dma_get_buf()
595 int len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_fill()
843 data_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_process()
H A Dusb.c480 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A 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()
/openbmc/linux/net/smc/
H A Dsmc_diag.c244 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h90 ((NET_SKB_PAD + IXGBE_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IXGBE_RXBUFFER_2K))
97 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmmio.c636 len = SKB_WITH_OVERHEAD(q->buf_size); in mt7915_mmio_wed_init_rx_buf()
802 wed->wlan.rx_size = SKB_WITH_OVERHEAD(MT_RX_BUF_SIZE); in mt7915_mmio_wed_init()
/openbmc/linux/net/core/
H A Dskbuff.c112 SKB_WITH_OVERHEAD(SKB_SMALL_HEAD_CACHE_SIZE)
657 prefetchw(data + SKB_WITH_OVERHEAD(size)); in __alloc_skb()
711 if (len <= SKB_WITH_OVERHEAD(1024) || in __netdev_alloc_skb()
712 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __netdev_alloc_skb()
788 if ((!NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) || in __napi_alloc_skb()
789 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __napi_alloc_skb()
803 if (NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) { in __napi_alloc_skb()
2102 size = SKB_WITH_OVERHEAD(size); in pskb_expand_head()
6382 size = SKB_WITH_OVERHEAD(size); in pskb_carve_inside_header()
6498 size = SKB_WITH_OVERHEAD(size); in pskb_carve_inside_nonlinear()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc.h434 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed_wo.c102 int buf_len = SKB_WITH_OVERHEAD(q->buf_size); in mtk_wed_wo_dequeue()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c767 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
773 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
/openbmc/linux/drivers/net/
H A Dveth.c743 max_head_size = SKB_WITH_OVERHEAD(PAGE_SIZE - in veth_convert_skb_to_xdp_buff()
1603 max_mtu = SKB_WITH_OVERHEAD(PAGE_SIZE - VETH_XDP_HEADROOM) - in veth_xdp_set()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c188 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \
191 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size)
/openbmc/linux/drivers/net/ipa/
H A Dipa_endpoint.c1430 WARN_ON(len > SKB_WITH_OVERHEAD(buffer_size - NET_SKB_PAD)); in ipa_endpoint_skb_build()
/openbmc/linux/net/netlink/
H A Daf_netlink.c1954 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()

12