Lines Matching +full:flow +full:- +full:controller
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * RSS and Classifier definitions for Marvell PPv2 Network Controller
22 /* Classifier flow constants */
143 /* Number of per-port dedicated entries in the C2 TCAM */
146 /* Each port has one range per flow type + one entry controlling the global RSS
151 #define MVPP22_CLS_C2_RSS_ENTRY(p) (MVPP22_CLS_C2_PORT_FIRST((p) + 1) - 1)
157 /* Packet flow ID */
176 MVPP2_FL_IP4_UNTAG, /* non-TCP, non-UDP, same for below */
185 /* LU Type defined for all engines, and specified in the flow table */
189 /* rule->loc is used as a lu-type for the entries 0 - 62. */
193 #define MVPP2_N_FLOWS (MVPP2_FL_LAST - MVPP2_FL_START)
196 /* The L2-L4 traffic flow type */
199 /* The first id in the flow table for this flow */
202 /* The supported HEK fields for this flow */
205 /* The Header Parser result_info that matches this flow */
210 #define MVPP2_CLS_FLT_FIRST(id) (((id) - MVPP2_FL_START) * \
220 MVPP2_CLS_FLT_ENTRIES_PER_FLOW - 1)
222 /* Iterate on each classifier flow id. Sets 'i' to be the index of the first
230 cls_flows[(i)].flow_id == cls_flows[(i) - 1].flow_id) \
234 /* Iterate on each classifier flow that has a given flow_type. Sets 'i' to be
237 * matches a given ethtool flow type.
288 const struct mvpp2_cls_flow *mvpp2_cls_flow_get(int flow);