| 1074 | } |
| 1075 | |
| 1076 | static inline bool |
| 1077 | is_tunnel_offload_active(const struct rte_eth_dev *dev) |
| 1078 | { |
| 1079 | #ifdef HAVE_IBV_FLOW_DV_SUPPORT |
| 1080 | const struct mlx5_priv *priv = dev->data->dev_private; |
| 1081 | return !!priv->sh->config.dv_miss_info; |
| 1082 | #else |
| 1083 | RTE_SET_USED(dev); |
| 1084 | return false; |
| 1085 | #endif |
| 1086 | } |
| 1087 | |
| 1088 | static inline bool |
| 1089 | is_flow_tunnel_match_rule(enum mlx5_tof_rule_type tof_rule_type) |
no outgoing calls
no test coverage detected