Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: remove device status check in flow creation
[ upstream commit 4095ce34095e33ae9e8b19150b9280ff8737a590 ] The flow rule can be inserted even before the device started. The only exception is for a queue or RSS action. For the other interfaces of template API, the start status is not checked. The checking would cause some cache miss or eviction since the flag locates on some other cache line. Fixes: f1fecff ("net/mlx5: support Direct Rules action template API") Signed-off-by: Bing Zhao <bingz@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com>
- Loading branch information