aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMatan Barak <[email protected]>2017-08-10 15:29:12 +0300
committerSaeed Mahameed <[email protected]>2017-09-26 20:51:51 +0300
commitb92af5a72ca982f0aa3df22f57a178aa5b0f4357 (patch)
tree3824f4b56aa75cb6bc03ce7c36f6c8b378c29824 /lib/netdev-notifier-error-inject.c
parente19b205be43d11bff638cad4487008c48d21c103 (diff)
net/mlx5: Fix creating a new FTE when an existing but full FTE exists
Currently, when a flow steering rule is added, we look for a FTE with an identical value. If we find a match, we try to merge the required destinations with the existing ones. In a case where the existing destination list is full, the code should return an error to its consumer. However, the current code just tries to create another FTE. Fixing that by returning an error in this special scenario. Fixes: f478be79a22e ("net/mlx5: Add hash table for flow groups in flow table") Signed-off-by: Matan Barak <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions