Lines Matching +full:tcam +full:- +full:based
1 /* SPDX-License-Identifier: GPL-2.0 */
355 /* Packet Processor per-port counters */
420 /* Per-port registers */
485 /* Per-port XGMAC registers. PPv2.2 and PPv2.3, only for GOP port 0,
486 * relative to port->base.
522 /* SMI registers. PPv2.2 and PPv2.3, relative to priv->iface_base. */
526 /* TAI registers, PPv2.2 only, relative to priv->iface_base */
596 (((index) < (q)->last_desc) ? ((index) + 1) : 0)
714 /* Maximum number of T-CONTs of PON port */
754 #define MVPP2_TX_DESC_ALIGN (MVPP2_DESC_ALIGNED_SIZE - 1)
771 ((kb) * 1024 - MVPP2_TX_FIFO_THRESHOLD_MIN)
844 ((total_size) - MVPP2_SKB_HEADROOM - MVPP2_SKB_SHINFO_SIZE)
846 #define MVPP2_MAX_RX_BUF_SIZE (PAGE_SIZE - MVPP2_SKB_SHINFO_SIZE - MVPP2_SKB_HEADROOM)
855 /* There are 7 supported high-level flows */
933 #define MVPP2_BM_POOL_SIZE_MAX (16*1024 - MVPP2_BM_POOL_PTR_ALIGN/4)
1070 /* Are we using page_pool with per-cpu pools? */
1132 /* Per-CPU port control */
1160 /* Index of the C2 TCAM entry handling this rule */
1169 /* TCAM key and mask for C2-based steering. These fields should be
1203 /* Per-port registers' base address */
1217 /* Per-CPU port control */
1236 /* Per-port work and its lock to gather hardware statistics */
1401 /* Per-CPU Tx queue control */
1446 /* Per-CPU control of physical Tx queues */
1465 /* RX queue number, in the range 0-31 for physical RXQs */
1498 /* Pool number in the range 0-7 */
1523 ((addr) >= (txq_pcpu)->tso_headers_dma && \
1524 (addr) < (txq_pcpu)->tso_headers_dma + \
1525 (txq_pcpu)->size * TSO_HEADER_SIZE)
1564 return -1;
1570 return IS_ENABLED(CONFIG_MVPP2_PTP) && port->rx_hwtstamp;