* Enable a flow control configured from the control plane. * * @param dev * Pointer to Ethernet device. * @param eth_spec * An Ethernet flow spec to apply. * @param eth_mask * An Ethernet flow mask to apply. * * @return * 0 on success, a negative errno value otherwise and rte_errno is set. */
| 8491 | * 0 on success, a negative errno value otherwise and rte_errno is set. |
| 8492 | */ |
| 8493 | int |
| 8494 | mlx5_ctrl_flow(struct rte_eth_dev *dev, |
| 8495 | struct rte_flow_item_eth *eth_spec, |
| 8496 | struct rte_flow_item_eth *eth_mask) |
| 8497 | { |
| 8498 | return mlx5_ctrl_flow_vlan(dev, eth_spec, eth_mask, NULL, NULL); |
| 8499 | } |
| 8500 | |
| 8501 | /** |
| 8502 | * Create default miss flow rule matching lacp traffic |
no test coverage detected