MCPcopy Create free account
hub / github.com/F-Stack/f-stack / flow_source_vport_representor

Function flow_source_vport_representor

dpdk/drivers/net/mlx5/mlx5_flow.h:2421–2427  ·  view source on GitHub ↗

* Indicates whether flow source vport is representor port. * * @param[in] priv * Pointer to device private context structure. * @param[in] act_priv * Pointer to actual device private context structure if have. * * @return * True when the flow source vport is representor port, false otherwise. */

Source from the content-addressed store, hash-verified

2419 * True when the flow source vport is representor port, false otherwise.
2420 */
2421static inline bool
2422flow_source_vport_representor(struct mlx5_priv *priv, struct mlx5_priv *act_priv)
2423{
2424 MLX5_ASSERT(priv);
2425 return (!act_priv ? (priv->representor_id != UINT16_MAX) :
2426 (act_priv->representor_id != UINT16_MAX));
2427}
2428
2429/* All types of Ethernet patterns used in control flow rules. */
2430enum mlx5_flow_ctrl_rx_eth_pattern_type {

Callers 2

flow_dv_validateFunction · 0.85
flow_create_split_sampleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected