* Validate a flow supported by the NIC. * * @see rte_flow_validate() * @see rte_flow_ops */
| 928 | * @see rte_flow_ops |
| 929 | */ |
| 930 | static int |
| 931 | mlx4_flow_validate(struct rte_eth_dev *dev, |
| 932 | const struct rte_flow_attr *attr, |
| 933 | const struct rte_flow_item pattern[], |
| 934 | const struct rte_flow_action actions[], |
| 935 | struct rte_flow_error *error) |
| 936 | { |
| 937 | struct mlx4_priv *priv = dev->data->dev_private; |
| 938 | |
| 939 | return mlx4_flow_prepare(priv, attr, pattern, actions, error, NULL); |
| 940 | } |
| 941 | |
| 942 | /** |
| 943 | * Get a drop flow rule resources instance. |
nothing calls this directly
no test coverage detected