mlx5e_is_eswitch_flow
if (mlx5e_is_eswitch_flow(parse_state->flow)) {
if (!mlx5e_is_eswitch_flow(flow) && parse_attr->mirred_ifindex[0]) {
bool is_esw = mlx5e_is_eswitch_flow(flow);
bool mlx5e_is_eswitch_flow(struct mlx5e_tc_flow *flow);
if (!mlx5e_is_eswitch_flow(flow))
if (!mlx5e_is_eswitch_flow(flow))
if (mlx5e_is_eswitch_flow(flow) && has_encap_dests(attr)) {
if (mlx5e_is_eswitch_flow(flow)) {
if (!mlx5e_is_eswitch_flow(flow)) {
fs_type = mlx5e_is_eswitch_flow(flow) ? FS_FT_FDB : FS_FT_NIC_RX;
is_eswitch_flow = mlx5e_is_eswitch_flow(flow);
if (mlx5e_is_eswitch_flow(flow) &&
if (mlx5e_is_eswitch_flow(flow)) {
return mlx5e_is_eswitch_flow(flow) ?
return mlx5e_is_eswitch_flow(flow) ? flow->attr->esw_attr->counter_dev : flow->priv->mdev;