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? */
1129 /* Per-CPU port control */
1157 /* Index of the C2 TCAM entry handling this rule */
1166 /* TCAM key and mask for C2-based steering. These fields should be
1200 /* Per-port registers' base address */
1214 /* Per-CPU port control */
1233 /* Per-port work and its lock to gather hardware statistics */
1398 /* Per-CPU Tx queue control */
1443 /* Per-CPU control of physical Tx queues */
1462 /* RX queue number, in the range 0-31 for physical RXQs */
1495 /* Pool number in the range 0-7 */
1520 ((addr) >= (txq_pcpu)->tso_headers_dma && \
1521 (addr) < (txq_pcpu)->tso_headers_dma + \
1522 (txq_pcpu)->size * TSO_HEADER_SIZE)
1561 return -1; in mvpp22_tai_ptp_clock_index()
1567 return IS_ENABLED(CONFIG_MVPP2_PTP) && port->rx_hwtstamp; in mvpp22_rx_hwtstamping()