NET_IP_ALIGN 1740 drivers/net/ethernet/3com/3c59x.c skb = __netdev_alloc_skb(dev, PKT_BUF_SZ + NET_IP_ALIGN, NET_IP_ALIGN 1746 drivers/net/ethernet/3com/3c59x.c skb_reserve(skb, NET_IP_ALIGN); /* Align IP on 16 byte boundaries */ NET_IP_ALIGN 179 drivers/net/ethernet/aeroflex/greth.c MAX_FRAME_SIZE+NET_IP_ALIGN, NET_IP_ALIGN 246 drivers/net/ethernet/aeroflex/greth.c skb = netdev_alloc_skb(greth->netdev, MAX_FRAME_SIZE+NET_IP_ALIGN); NET_IP_ALIGN 252 drivers/net/ethernet/aeroflex/greth.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 255 drivers/net/ethernet/aeroflex/greth.c MAX_FRAME_SIZE+NET_IP_ALIGN, NET_IP_ALIGN 785 drivers/net/ethernet/aeroflex/greth.c skb = netdev_alloc_skb(dev, pkt_len + NET_IP_ALIGN); NET_IP_ALIGN 795 drivers/net/ethernet/aeroflex/greth.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 895 drivers/net/ethernet/aeroflex/greth.c if (!bad && (newskb=netdev_alloc_skb(dev, MAX_FRAME_SIZE + NET_IP_ALIGN))) { NET_IP_ALIGN 896 drivers/net/ethernet/aeroflex/greth.c skb_reserve(newskb, NET_IP_ALIGN); NET_IP_ALIGN 900 drivers/net/ethernet/aeroflex/greth.c MAX_FRAME_SIZE + NET_IP_ALIGN, NET_IP_ALIGN 909 drivers/net/ethernet/aeroflex/greth.c MAX_FRAME_SIZE + NET_IP_ALIGN, NET_IP_ALIGN 888 drivers/net/ethernet/amazon/ena/ena_netdev.c prefetch(va + NET_IP_ALIGN); NET_IP_ALIGN 86 drivers/net/ethernet/amazon/ena/ena_netdev.h #define ENA_DEFAULT_RX_COPYBREAK (256 - NET_IP_ALIGN) NET_IP_ALIGN 179 drivers/net/ethernet/amd/pcnet32.c #define PKT_BUF_SIZE (PKT_BUF_SKB - NET_IP_ALIGN) NET_IP_ALIGN 181 drivers/net/ethernet/amd/pcnet32.c #define NEG_BUF_SIZE (NET_IP_ALIGN - PKT_BUF_SKB) NET_IP_ALIGN 584 drivers/net/ethernet/amd/pcnet32.c skb_reserve(rx_skbuff, NET_IP_ALIGN); NET_IP_ALIGN 1233 drivers/net/ethernet/amd/pcnet32.c skb_reserve(newskb, NET_IP_ALIGN); NET_IP_ALIGN 1258 drivers/net/ethernet/amd/pcnet32.c skb = netdev_alloc_skb(dev, pkt_len + NET_IP_ALIGN); NET_IP_ALIGN 1265 drivers/net/ethernet/amd/pcnet32.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 2384 drivers/net/ethernet/amd/pcnet32.c skb_reserve(rx_skbuff, NET_IP_ALIGN); NET_IP_ALIGN 700 drivers/net/ethernet/apm/xgene/xgene_enet_main.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 36 drivers/net/ethernet/apm/xgene/xgene_enet_main.h #define SKB_BUFFER_SIZE (XGENE_ENET_STD_MTU - NET_IP_ALIGN) NET_IP_ALIGN 1244 drivers/net/ethernet/atheros/ag71xx.c SKB_DATA_ALIGN(max_frame_len + NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 1719 drivers/net/ethernet/atheros/ag71xx.c ag->rx_buf_offset += NET_IP_ALIGN; NET_IP_ALIGN 367 drivers/net/ethernet/broadcom/bgmac.h #define BGMAC_RX_BUF_OFFSET (NET_SKB_PAD + NET_IP_ALIGN - \ NET_IP_ALIGN 80 drivers/net/ethernet/broadcom/bnxt/bnxt.c #define BNXT_RX_OFFSET (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 958 drivers/net/ethernet/broadcom/bnxt/bnxt.c memcpy(skb->data - NET_IP_ALIGN, data_ptr - NET_IP_ALIGN, NET_IP_ALIGN 959 drivers/net/ethernet/broadcom/bnxt/bnxt.c payload + NET_IP_ALIGN); NET_IP_ALIGN 1104 drivers/net/ethernet/broadcom/bnxt/bnxt.c memcpy(skb->data - NET_IP_ALIGN, data - NET_IP_ALIGN, NET_IP_ALIGN 1105 drivers/net/ethernet/broadcom/bnxt/bnxt.c len + NET_IP_ALIGN); NET_IP_ALIGN 3174 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (NET_IP_ALIGN == 2) NET_IP_ALIGN 3278 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->rx_offset = NET_IP_ALIGN + XDP_PACKET_HEADROOM; NET_IP_ALIGN 3430 drivers/net/ethernet/broadcom/bnxt/bnxt.c rx_size = SKB_DATA_ALIGN(bp->dev->mtu + ETH_HLEN + NET_IP_ALIGN + 8); NET_IP_ALIGN 3467 drivers/net/ethernet/broadcom/bnxt/bnxt.c rx_size = SKB_DATA_ALIGN(BNXT_RX_COPY_THRESH + NET_IP_ALIGN); NET_IP_ALIGN 5270 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (NET_IP_ALIGN == 2) NET_IP_ALIGN 561 drivers/net/ethernet/broadcom/bnxt/bnxt.h ((unsigned int)PAGE_SIZE - VLAN_ETH_HLEN - NET_IP_ALIGN - \ NET_IP_ALIGN 817 drivers/net/ethernet/broadcom/sb1250-mac.c NET_IP_ALIGN); NET_IP_ALIGN 821 drivers/net/ethernet/broadcom/sb1250-mac.c sbdma_align_skb(sb_new, SMP_CACHE_BYTES, NET_IP_ALIGN); NET_IP_ALIGN 840 drivers/net/ethernet/broadcom/sb1250-mac.c V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | 0; NET_IP_ALIGN 843 drivers/net/ethernet/broadcom/sb1250-mac.c V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | NET_IP_ALIGN 195 drivers/net/ethernet/broadcom/tg3.c #if NET_IP_ALIGN == 0 || defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) NET_IP_ALIGN 201 drivers/net/ethernet/broadcom/tg3.c #if (NET_IP_ALIGN != 0) NET_IP_ALIGN 16952 drivers/net/ethernet/broadcom/tg3.c tp->rx_offset = NET_SKB_PAD + NET_IP_ALIGN; NET_IP_ALIGN 963 drivers/net/ethernet/cadence/macb_main.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1115 drivers/net/ethernet/cadence/macb_main.c skb = netdev_alloc_skb(bp->dev, len + NET_IP_ALIGN); NET_IP_ALIGN 1132 drivers/net/ethernet/cadence/macb_main.c len += NET_IP_ALIGN; NET_IP_ALIGN 1160 drivers/net/ethernet/cadence/macb_main.c __skb_pull(skb, NET_IP_ALIGN); NET_IP_ALIGN 2241 drivers/net/ethernet/cadence/macb_main.c config |= MACB_BF(RBOF, NET_IP_ALIGN); /* Make eth data aligned */ NET_IP_ALIGN 2412 drivers/net/ethernet/cadence/macb_main.c size_t bufsz = dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN; NET_IP_ALIGN 695 drivers/net/ethernet/calxeda/xgmac.c priv->dma_buf_sz - NET_IP_ALIGN, NET_IP_ALIGN 728 drivers/net/ethernet/calxeda/xgmac.c bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); NET_IP_ALIGN 804 drivers/net/ethernet/calxeda/xgmac.c priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); NET_IP_ALIGN 1206 drivers/net/ethernet/calxeda/xgmac.c priv->dma_buf_sz - NET_IP_ALIGN, DMA_FROM_DEVICE); NET_IP_ALIGN 222 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c size = netdev->mtu + OCTEON_MGMT_RX_HEADROOM + 8 + NET_IP_ALIGN; NET_IP_ALIGN 227 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 565 drivers/net/ethernet/chelsio/cxgb/sge.c q->dma_offset = sge->rx_pkt_pad ? 0 : NET_IP_ALIGN; NET_IP_ALIGN 1388 drivers/net/ethernet/cisco/enic/enic_main.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 1460 drivers/net/ethernet/cortina/gemini.c page_offs += NET_IP_ALIGN; NET_IP_ALIGN 1461 drivers/net/ethernet/cortina/gemini.c frag_len -= NET_IP_ALIGN; NET_IP_ALIGN 1744 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_insert_bytes = NET_IP_ALIGN; NET_IP_ALIGN 1501 drivers/net/ethernet/freescale/fec_main.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 335 drivers/net/ethernet/hisilicon/hip04_eth.c val = NET_IP_ALIGN << PPE_CFG_RX_CTRL_ALIGN_SHIFT; NET_IP_ALIGN 616 drivers/net/ethernet/hisilicon/hip04_eth.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 150 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 242 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c skb = alloc_skb(HNS3_NIC_LB_TEST_PACKET_SIZE + ETH_HLEN + NET_IP_ALIGN, NET_IP_ALIGN 1081 drivers/net/ethernet/ibm/emac/core.c dma_map_single(&dev->ofdev->dev, skb->data - NET_IP_ALIGN, NET_IP_ALIGN 1083 drivers/net/ethernet/ibm/emac/core.c + NET_IP_ALIGN; NET_IP_ALIGN 1184 drivers/net/ethernet/ibm/emac/core.c dma_map_single(&dev->ofdev->dev, skb->data - NET_IP_ALIGN, NET_IP_ALIGN 1185 drivers/net/ethernet/ibm/emac/core.c dev->rx_sync_size, DMA_FROM_DEVICE) + NET_IP_ALIGN; NET_IP_ALIGN 1679 drivers/net/ethernet/ibm/emac/core.c dma_map_single(&dev->ofdev->dev, skb->data - NET_IP_ALIGN, NET_IP_ALIGN 1680 drivers/net/ethernet/ibm/emac/core.c SKB_DATA_ALIGN(len + NET_IP_ALIGN), NET_IP_ALIGN 1733 drivers/net/ethernet/ibm/emac/core.c if (unlikely(tot_len + NET_IP_ALIGN > dev->rx_skb_size)) { NET_IP_ALIGN 1795 drivers/net/ethernet/ibm/emac/core.c memcpy(copy_skb->data - NET_IP_ALIGN, NET_IP_ALIGN 1796 drivers/net/ethernet/ibm/emac/core.c skb->data - NET_IP_ALIGN, NET_IP_ALIGN 1797 drivers/net/ethernet/ibm/emac/core.c len + NET_IP_ALIGN); NET_IP_ALIGN 71 drivers/net/ethernet/ibm/emac/core.h return SKB_DATA_ALIGN(size + NET_IP_ALIGN) + NET_SKB_PAD; NET_IP_ALIGN 77 drivers/net/ethernet/ibm/emac/core.h return SKB_DATA_ALIGN(emac_rx_size(mtu) + NET_IP_ALIGN); NET_IP_ALIGN 1076 drivers/net/ethernet/intel/e1000/e1000_ethtool.c buf = kzalloc(E1000_RXBUFFER_2048 + NET_SKB_PAD + NET_IP_ALIGN, NET_IP_ALIGN 1086 drivers/net/ethernet/intel/e1000/e1000_ethtool.c buf + NET_SKB_PAD + NET_IP_ALIGN, NET_IP_ALIGN 1424 drivers/net/ethernet/intel/e1000/e1000_ethtool.c NET_SKB_PAD + NET_IP_ALIGN, NET_IP_ALIGN 2055 drivers/net/ethernet/intel/e1000/e1000_main.c #define E1000_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 1274 drivers/net/ethernet/intel/e1000e/ethtool.c skb = alloc_skb(2048 + NET_IP_ALIGN, GFP_KERNEL); NET_IP_ALIGN 1279 drivers/net/ethernet/intel/e1000e/ethtool.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 938 drivers/net/ethernet/intel/e1000e/netdev.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 1006 drivers/net/ethernet/intel/e1000e/netdev.c -NET_IP_ALIGN, NET_IP_ALIGN 1008 drivers/net/ethernet/intel/e1000e/netdev.c NET_IP_ALIGN), NET_IP_ALIGN 1010 drivers/net/ethernet/intel/e1000e/netdev.c NET_IP_ALIGN)); NET_IP_ALIGN 1331 drivers/net/ethernet/intel/e1000e/netdev.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 3403 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->max_frame = I40E_RXBUFFER_1536 - NET_IP_ALIGN; NET_IP_ALIGN 3404 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->rx_buf_len = I40E_RXBUFFER_1536 - NET_IP_ALIGN; NET_IP_ALIGN 161 drivers/net/ethernet/intel/i40e/i40e_txrx.h rx_buf_len = I40E_RXBUFFER_3072 + SKB_DATA_ALIGN(NET_IP_ALIGN); NET_IP_ALIGN 166 drivers/net/ethernet/intel/i40e/i40e_txrx.h rx_buf_len -= NET_IP_ALIGN; NET_IP_ALIGN 174 drivers/net/ethernet/intel/i40e/i40e_txrx.h #define I40E_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 592 drivers/net/ethernet/intel/iavf/iavf_main.c rx_buf_len = IAVF_RXBUFFER_1536 - NET_IP_ALIGN; NET_IP_ALIGN 141 drivers/net/ethernet/intel/iavf/iavf_txrx.h rx_buf_len = IAVF_RXBUFFER_3072 + SKB_DATA_ALIGN(NET_IP_ALIGN); NET_IP_ALIGN 146 drivers/net/ethernet/intel/iavf/iavf_txrx.h rx_buf_len -= NET_IP_ALIGN; NET_IP_ALIGN 154 drivers/net/ethernet/intel/iavf/iavf_txrx.h #define IAVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 263 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c max_frame = IAVF_RXBUFFER_1536 - NET_IP_ALIGN; NET_IP_ALIGN 140 drivers/net/ethernet/intel/igb/igb.h #define IGB_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 285 drivers/net/ethernet/intel/igbvf/netdev.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 126 drivers/net/ethernet/intel/igc/igc.h #define IGC_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 1919 drivers/net/ethernet/intel/ixgb/ixgb_main.c skb_copy_to_linear_data_offset(new_skb, -NET_IP_ALIGN, NET_IP_ALIGN 1920 drivers/net/ethernet/intel/ixgb/ixgb_main.c (*skb)->data - NET_IP_ALIGN, NET_IP_ALIGN 1921 drivers/net/ethernet/intel/ixgb/ixgb_main.c length + NET_IP_ALIGN); NET_IP_ALIGN 1962 drivers/net/ethernet/intel/ixgb/ixgb_main.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 81 drivers/net/ethernet/intel/ixgbe/ixgbe.h #define IXGBE_MAX_2K_FRAME_BUILD_SKB (IXGBE_RXBUFFER_1536 - NET_IP_ALIGN) NET_IP_ALIGN 107 drivers/net/ethernet/intel/ixgbe/ixgbe.h rx_buf_len = IXGBE_RXBUFFER_3K + SKB_DATA_ALIGN(NET_IP_ALIGN); NET_IP_ALIGN 112 drivers/net/ethernet/intel/ixgbe/ixgbe.h rx_buf_len -= NET_IP_ALIGN; NET_IP_ALIGN 119 drivers/net/ethernet/intel/ixgbe/ixgbe.h #define IXGBE_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 155 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h #define IXGBEVF_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 116 drivers/net/ethernet/lantiq_etop.c LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) | NET_IP_ALIGN 118 drivers/net/ethernet/lantiq_etop.c skb_reserve(ch->skb[ch->dma.desc], NET_IP_ALIGN); NET_IP_ALIGN 108 drivers/net/ethernet/lantiq_xrx200.c desc->ctl = LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) | NET_IP_ALIGN 178 drivers/net/ethernet/lantiq_xrx200.c LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) | NET_IP_ALIGN 1016 drivers/net/ethernet/marvell/skge.c skb = __netdev_alloc_skb(dev, skge->rx_buf_size + NET_IP_ALIGN, NET_IP_ALIGN 1021 drivers/net/ethernet/marvell/skge.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1461 drivers/net/ethernet/marvell/sky2.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 758 drivers/net/ethernet/mediatek/mtk_eth_soc.c int buf_size = frag_size - NET_SKB_PAD - NET_IP_ALIGN - NET_IP_ALIGN 1295 drivers/net/ethernet/mediatek/mtk_eth_soc.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 2175 drivers/net/ethernet/mediatek/mtk_eth_soc.c u32 rx_2b_offset = (NET_IP_ALIGN == 2) ? MTK_RX_2B_OFFSET : 0; NET_IP_ALIGN 2906 drivers/net/ethernet/mediatek/mtk_eth_soc.c eth->ip_align = NET_IP_ALIGN; NET_IP_ALIGN 26 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN) NET_IP_ALIGN 60 drivers/net/ethernet/mellanox/mlx4/en_selftest.c skb = netdev_alloc_skb(priv->dev, MLX4_LOOPBACK_TEST_PAYLOAD + ETH_HLEN + NET_IP_ALIGN); NET_IP_ALIGN 64 drivers/net/ethernet/mellanox/mlx4/en_selftest.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 157 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define SMALL_PACKET_SIZE (256 - NET_IP_ALIGN) NET_IP_ALIGN 158 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define HEADER_COPY_SIZE (128 - NET_IP_ALIGN) NET_IP_ALIGN 161 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define MLX4_SELFTEST_LB_MIN_MTU (MLX4_LOOPBACK_TEST_PAYLOAD + NET_IP_ALIGN + \ NET_IP_ALIGN 15 drivers/net/ethernet/mellanox/mlx5/core/en/params.c u16 headroom = NET_IP_ALIGN; NET_IP_ALIGN 119 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 961 drivers/net/ethernet/microchip/enc28j60.c skb = netdev_alloc_skb(ndev, len + NET_IP_ALIGN); NET_IP_ALIGN 967 drivers/net/ethernet/microchip/enc28j60.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 334 drivers/net/ethernet/microchip/encx24j600.c struct sk_buff *skb = netdev_alloc_skb(dev, rsv->len + NET_IP_ALIGN); NET_IP_ALIGN 341 drivers/net/ethernet/microchip/encx24j600.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 806 drivers/net/ethernet/microchip/lan743x_main.h #if ((NET_IP_ALIGN != 0) && (NET_IP_ALIGN != 2)) NET_IP_ALIGN 810 drivers/net/ethernet/microchip/lan743x_main.h #define RX_HEAD_PADDING NET_IP_ALIGN NET_IP_ALIGN 2499 drivers/net/ethernet/neterion/s2io.c size += NET_IP_ALIGN; NET_IP_ALIGN 2522 drivers/net/ethernet/neterion/s2io.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 2525 drivers/net/ethernet/neterion/s2io.c size - NET_IP_ALIGN, NET_IP_ALIGN 2532 drivers/net/ethernet/neterion/s2io.c SET_BUFFER0_SIZE_1(size - NET_IP_ALIGN); NET_IP_ALIGN 6776 drivers/net/ethernet/neterion/s2io.c size - NET_IP_ALIGN, NET_IP_ALIGN 6850 drivers/net/ethernet/neterion/s2io.c rxdp->Control_2 = SET_BUFFER0_SIZE_1(size - NET_IP_ALIGN); NET_IP_ALIGN 6873 drivers/net/ethernet/neterion/s2io.c size += NET_IP_ALIGN; NET_IP_ALIGN 101 drivers/net/ethernet/netronome/nfp/nfp_net.h #define NFP_NET_RX_BUF_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 1365 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; NET_IP_ALIGN 1377 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1458 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c adapter->hw.mac.max_frame_size + PCH_GBE_DMA_ALIGN + NET_IP_ALIGN; NET_IP_ALIGN 232 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring->dma_size + NET_IP_ALIGN; NET_IP_ALIGN 249 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring->dma_size + NET_IP_ALIGN; NET_IP_ALIGN 255 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; NET_IP_ALIGN 1391 drivers/net/ethernet/qlogic/qede/qede_main.c rxq->rx_buf_size = NET_IP_ALIGN + ETH_OVERHEAD + edev->ndev->mtu; NET_IP_ALIGN 208 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN; NET_IP_ALIGN 221 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c rds_ring->dma_size + NET_IP_ALIGN; NET_IP_ALIGN 828 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1445 drivers/net/ethernet/renesas/sh_eth.c mdp->rx_buf_sz += NET_IP_ALIGN; NET_IP_ALIGN 1498 drivers/net/ethernet/renesas/sh_eth.c sh_eth_write(ndev, NET_IP_ALIGN << 16, RPADIR); NET_IP_ALIGN 1686 drivers/net/ethernet/renesas/sh_eth.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 465 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); NET_IP_ALIGN 1518 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c prefetch(skb->data - NET_IP_ALIGN); NET_IP_ALIGN 663 drivers/net/ethernet/sfc/efx.c 2 * ALIGN(NET_IP_ALIGN + EFX_RX_USR_BUF_SIZE, NET_IP_ALIGN 3026 drivers/net/ethernet/sfc/efx.c NET_IP_ALIGN ? (efx->rx_prefix_size + NET_IP_ALIGN) % 4 : 0; NET_IP_ALIGN 617 drivers/net/ethernet/sfc/falcon/efx.c 2 * ALIGN(NET_IP_ALIGN + EF4_RX_USR_BUF_SIZE, NET_IP_ALIGN 2658 drivers/net/ethernet/sfc/falcon/efx.c NET_IP_ALIGN ? (efx->rx_prefix_size + NET_IP_ALIGN) % 4 : 0; NET_IP_ALIGN 88 drivers/net/ethernet/sfc/falcon/net_driver.h #if NET_IP_ALIGN == 0 NET_IP_ALIGN 252 drivers/net/ethernet/sfc/falcon/net_driver.h #define EF4_TX_CB_SIZE (1 << EF4_TX_CB_ORDER) - NET_IP_ALIGN NET_IP_ALIGN 32 drivers/net/ethernet/sfc/falcon/tx.c ((index << EF4_TX_CB_ORDER) + NET_IP_ALIGN) & (PAGE_SIZE - 1); NET_IP_ALIGN 88 drivers/net/ethernet/sfc/net_driver.h #if NET_IP_ALIGN == 0 NET_IP_ALIGN 290 drivers/net/ethernet/sfc/net_driver.h #define EFX_TX_CB_SIZE (1 << EFX_TX_CB_ORDER) - NET_IP_ALIGN NET_IP_ALIGN 40 drivers/net/ethernet/sfc/tx.c ((index << EFX_TX_CB_ORDER) + NET_IP_ALIGN) & (PAGE_SIZE - 1); NET_IP_ALIGN 79 drivers/net/ethernet/sgi/ioc3-eth.c #define RX_OFFSET (sizeof(struct ioc3_erxbuf) + NET_IP_ALIGN) NET_IP_ALIGN 1236 drivers/net/ethernet/smsc/smsc911x.c pktwords = (pktlength + NET_IP_ALIGN + 3) >> 2; NET_IP_ALIGN 1263 drivers/net/ethernet/smsc/smsc911x.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1713 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, RX_CFG, (NET_IP_ALIGN << 8)); NET_IP_ALIGN 770 drivers/net/ethernet/smsc/smsc9420.c NET_IP_ALIGN + packet_length + 4); NET_IP_ALIGN 775 drivers/net/ethernet/smsc/smsc9420.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 804 drivers/net/ethernet/smsc/smsc9420.c pd->rx_ring[index].buffer1 = mapping + NET_IP_ALIGN; NET_IP_ALIGN 36 drivers/net/ethernet/smsc/smsc9420.h #define PKT_BUF_SZ (VLAN_ETH_FRAME_LEN + NET_IP_ALIGN + 4) NET_IP_ALIGN 241 drivers/net/ethernet/socionext/netsec.c #define NETSEC_SKB_PAD (NET_SKB_PAD + NET_IP_ALIGN) NET_IP_ALIGN 243 drivers/net/ethernet/socionext/netsec.c NET_IP_ALIGN) NET_IP_ALIGN 4610 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ndev->max_mtu = SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 2905 drivers/net/ethernet/sun/niu.h #define RX_SKB_ALLOC_SIZE 128 + NET_IP_ALIGN NET_IP_ALIGN 1092 drivers/net/ethernet/tehuti/tehuti.c skb = netdev_alloc_skb(priv->ndev, f->m.pktsz + NET_IP_ALIGN); NET_IP_ALIGN 1096 drivers/net/ethernet/tehuti/tehuti.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1259 drivers/net/ethernet/tehuti/tehuti.c (skb2 = netdev_alloc_skb(priv->ndev, len + NET_IP_ALIGN))) { NET_IP_ALIGN 1260 drivers/net/ethernet/tehuti/tehuti.c skb_reserve(skb2, NET_IP_ALIGN); NET_IP_ALIGN 100 drivers/net/ethernet/tehuti/tehuti.h #ifndef NET_IP_ALIGN NET_IP_ALIGN 68 drivers/net/ethernet/ti/cpsw.c #define CPSW_HEADROOM_NA (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN) NET_IP_ALIGN 859 drivers/net/ethernet/ti/davinci_emac.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1418 drivers/net/ethernet/ti/davinci_emac.c priv->rx_buf_size = EMAC_DEF_MAX_FRAME_SIZE + NET_IP_ALIGN; NET_IP_ALIGN 26 drivers/net/ethernet/ti/netcp_core.c #define NETCP_SOP_OFFSET (NET_IP_ALIGN + NET_SKB_PAD) NET_IP_ALIGN 354 drivers/net/ethernet/toshiba/tc35815.c L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + NET_IP_ALIGN) NET_IP_ALIGN 357 drivers/net/ethernet/toshiba/tc35815.c L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN + NET_IP_ALIGN) NET_IP_ALIGN 1507 drivers/net/ethernet/toshiba/tc35815.c if (!HAVE_DMA_RXALIGN(lp) && NET_IP_ALIGN != 0) NET_IP_ALIGN 1508 drivers/net/ethernet/toshiba/tc35815.c memmove(skb->data, skb->data - NET_IP_ALIGN, NET_IP_ALIGN 58 drivers/net/ethernet/xscale/ixp4xx_eth.c #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4) NET_IP_ALIGN 723 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN(NET_IP_ALIGN + desc->pkt_len, 4)); NET_IP_ALIGN 739 drivers/net/ethernet/xscale/ixp4xx_eth.c dma_unmap_single(&dev->dev, desc->data - NET_IP_ALIGN, NET_IP_ALIGN 742 drivers/net/ethernet/xscale/ixp4xx_eth.c dma_sync_single_for_cpu(&dev->dev, desc->data - NET_IP_ALIGN, NET_IP_ALIGN 745 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN(NET_IP_ALIGN + desc->pkt_len, 4) / 4); NET_IP_ALIGN 747 drivers/net/ethernet/xscale/ixp4xx_eth.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 761 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->data = phys + NET_IP_ALIGN; NET_IP_ALIGN 1125 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->data += NET_IP_ALIGN; NET_IP_ALIGN 1142 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->data - NET_IP_ALIGN, NET_IP_ALIGN 107 drivers/net/tun.c #define TUN_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) NET_IP_ALIGN 1791 drivers/net/tun.c align += NET_IP_ALIGN; NET_IP_ALIGN 1143 drivers/net/usb/smsc95xx.c read_buf |= NET_IP_ALIGN << 9; NET_IP_ALIGN 1924 drivers/net/usb/smsc95xx.c skb_pull(skb, 4 + NET_IP_ALIGN); NET_IP_ALIGN 1929 drivers/net/usb/smsc95xx.c align_count = (4 - ((size + NET_IP_ALIGN) % 4)) % 4; NET_IP_ALIGN 35 drivers/net/veth.c #define VETH_XDP_HEADROOM (XDP_PACKET_HEADROOM + NET_IP_ALIGN) NET_IP_ALIGN 38 drivers/net/virtio_net.c #define VIRTNET_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) NET_IP_ALIGN 470 drivers/net/wireless/ath/carl9170/rx.c reserved += NET_IP_ALIGN; NET_IP_ALIGN 473 drivers/net/wireless/ath/carl9170/rx.c reserved += NET_IP_ALIGN; NET_IP_ALIGN 477 drivers/net/wireless/ath/carl9170/rx.c reserved += NET_IP_ALIGN; NET_IP_ALIGN 479 drivers/net/wireless/ath/carl9170/rx.c reserved = 32 + (reserved & NET_IP_ALIGN); NET_IP_ALIGN 246 drivers/net/wireless/marvell/libertas/if_sdio.c skb = dev_alloc_skb(MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + NET_IP_ALIGN); NET_IP_ALIGN 252 drivers/net/wireless/marvell/libertas/if_sdio.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 556 drivers/net/wireless/realtek/rtlwifi/usb.c #if NET_IP_ALIGN != 0 NET_IP_ALIGN 561 drivers/net/wireless/realtek/rtlwifi/usb.c if (NET_IP_ALIGN == 0 || len < sizeof(*hdr)) NET_IP_ALIGN 564 drivers/net/wireless/realtek/rtlwifi/usb.c #if NET_IP_ALIGN != 0 NET_IP_ALIGN 571 drivers/net/wireless/realtek/rtlwifi/usb.c padding ^= NET_IP_ALIGN; NET_IP_ALIGN 578 drivers/net/wireless/realtek/rtlwifi/usb.c padding ^= NET_IP_ALIGN; NET_IP_ALIGN 582 drivers/net/wireless/realtek/rtlwifi/usb.c padding ^= NET_IP_ALIGN; NET_IP_ALIGN 346 drivers/net/xen-netback/netback.c alloc_skb(size + NET_SKB_PAD + NET_IP_ALIGN, NET_IP_ALIGN 352 drivers/net/xen-netback/netback.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 263 drivers/net/xen-netfront.c RX_COPY_THRESHOLD + NET_IP_ALIGN, NET_IP_ALIGN 276 drivers/net/xen-netfront.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 157 drivers/staging/gdm724x/gdm_lte.c skb_reserve(skb_out, NET_IP_ALIGN); NET_IP_ALIGN 318 drivers/staging/gdm724x/gdm_lte.c skb_reserve(skb_out, NET_IP_ALIGN); NET_IP_ALIGN 657 drivers/staging/gdm724x/gdm_lte.c skb = dev_alloc_skb(len + mac_header_len + NET_IP_ALIGN); NET_IP_ALIGN 660 drivers/staging/gdm724x/gdm_lte.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1644 drivers/staging/qlge/qlge_main.c new_skb = netdev_alloc_skb(qdev->ndev, length + NET_IP_ALIGN); NET_IP_ALIGN 1649 drivers/staging/qlge/qlge_main.c skb_reserve(new_skb, NET_IP_ALIGN); NET_IP_ALIGN 1748 drivers/staging/qlge/qlge_main.c skb->data -= QLGE_SB_PAD - NET_IP_ALIGN; NET_IP_ALIGN 1749 drivers/staging/qlge/qlge_main.c skb->tail -= QLGE_SB_PAD - NET_IP_ALIGN; NET_IP_ALIGN 1881 drivers/staging/qlge/qlge_main.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 1930 drivers/staging/qlge/qlge_main.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 2725 drivers/tty/n_gsm.c skb = dev_alloc_skb(size + NET_IP_ALIGN); NET_IP_ALIGN 2732 drivers/tty/n_gsm.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 505 drivers/usb/gadget/function/f_eem.c NET_IP_ALIGN, NET_IP_ALIGN 220 drivers/usb/gadget/function/u_ether.c skb = __netdev_alloc_skb(dev->net, size + NET_IP_ALIGN, gfp_flags); NET_IP_ALIGN 231 drivers/usb/gadget/function/u_ether.c skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 680 drivers/vhost/net.c #define VHOST_NET_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) NET_IP_ALIGN 2611 include/linux/skbuff.h #ifndef NET_IP_ALIGN NET_IP_ALIGN 2803 include/linux/skbuff.h struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); NET_IP_ALIGN 2805 include/linux/skbuff.h if (NET_IP_ALIGN && skb) NET_IP_ALIGN 2806 include/linux/skbuff.h skb_reserve(skb, NET_IP_ALIGN); NET_IP_ALIGN 6805 lib/test_bpf.c u32 headroom = NET_SKB_PAD + NET_IP_ALIGN + ETH_HLEN; NET_IP_ALIGN 355 net/batman-adv/bat_v_elp.c size = ETH_HLEN + NET_IP_ALIGN + BATADV_ELP_HLEN + tvlv_padding; NET_IP_ALIGN 360 net/batman-adv/bat_v_elp.c skb_reserve(hard_iface->bat_v.elp_skb, ETH_HLEN + NET_IP_ALIGN); NET_IP_ALIGN 214 net/batman-adv/bat_v_ogm.c skb_aggr = dev_alloc_skb(aggr_len + ETH_HLEN + NET_IP_ALIGN); NET_IP_ALIGN 220 net/batman-adv/bat_v_ogm.c skb_reserve(skb_aggr, ETH_HLEN + NET_IP_ALIGN); NET_IP_ALIGN 255 net/bpf/test_run.c data = bpf_test_init(kattr, size, NET_SKB_PAD + NET_IP_ALIGN, NET_IP_ALIGN 298 net/bpf/test_run.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 356 net/bpf/test_run.c data = bpf_test_init(kattr, size, XDP_PACKET_HEADROOM + NET_IP_ALIGN, 0); NET_IP_ALIGN 361 net/bpf/test_run.c xdp.data = data + XDP_PACKET_HEADROOM + NET_IP_ALIGN; NET_IP_ALIGN 371 net/bpf/test_run.c if (xdp.data != data + XDP_PACKET_HEADROOM + NET_IP_ALIGN || NET_IP_ALIGN 5659 net/core/dev.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN - skb_headroom(skb)); NET_IP_ALIGN 454 net/core/filter.c const int ip_align = NET_IP_ALIGN; NET_IP_ALIGN 588 net/core/flow_dissector.c if (NET_IP_ALIGN) NET_IP_ALIGN 503 net/core/skbuff.c len += NET_SKB_PAD + NET_IP_ALIGN; NET_IP_ALIGN 535 net/core/skbuff.c skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); NET_IP_ALIGN 32 net/dsa/tag_ksz.c nskb = alloc_skb(NET_IP_ALIGN + skb->len + NET_IP_ALIGN 36 net/dsa/tag_ksz.c skb_reserve(nskb, NET_IP_ALIGN); NET_IP_ALIGN 30 net/dsa/tag_trailer.c nskb = alloc_skb(NET_IP_ALIGN + skb->len + padlen + 4, GFP_ATOMIC); NET_IP_ALIGN 33 net/dsa/tag_trailer.c skb_reserve(nskb, NET_IP_ALIGN); NET_IP_ALIGN 2977 net/ipv4/tcp_output.c if (unlikely((NET_IP_ALIGN && ((unsigned long)skb->data & 3)) || NET_IP_ALIGN 555 net/openvswitch/datapath.c packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL); NET_IP_ALIGN 559 net/openvswitch/datapath.c skb_reserve(packet, NET_IP_ALIGN);