summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dec
diff options
context:
space:
mode:
authorMatan Barak2017-08-10 14:29:12 +0200
committerSaeed Mahameed2017-09-26 19:51:51 +0200
commitb92af5a72ca982f0aa3df22f57a178aa5b0f4357 (patch)
tree3824f4b56aa75cb6bc03ce7c36f6c8b378c29824 /drivers/net/ethernet/dec
parentLinux 4.14-rc2 (diff)
downloadkernel-qcow2-linux-b92af5a72ca982f0aa3df22f57a178aa5b0f4357.tar.gz
kernel-qcow2-linux-b92af5a72ca982f0aa3df22f57a178aa5b0f4357.tar.xz
kernel-qcow2-linux-b92af5a72ca982f0aa3df22f57a178aa5b0f4357.zip
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 <matanb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/dec')
0 files changed, 0 insertions, 0 deletions