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

Function mlx5_ctrl_flow

dpdk/drivers/net/mlx5/mlx5_flow.c:8493–8499  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

8491 * 0 on success, a negative errno value otherwise and rte_errno is set.
8492 */
8493int
8494mlx5_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

Callers 1

mlx5_traffic_enableFunction · 0.85

Calls 1

mlx5_ctrl_flow_vlanFunction · 0.85

Tested by

no test coverage detected