commit | 8c49f54a3f48ddb516e7e12e5c065317c06a58fa | [log] [tgz] |
---|---|---|
author | Raed Salem <raeds@mellanox.com> | Tue Jul 03 10:10:38 2018 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Wed Jul 18 18:16:57 2018 -0700 |
tree | 86abaee3137d3f4433541b294b31ba5977df7b5d | |
parent | 443a858158d35916e572b75667ca4924a6af2182 [diff] |
net/mlx5: Fix 'DON'T_TRAP' functionality The flow counters binding support commit introduced a code change where none NULL 'rule_dest' is always passed to mlx5_add_flow_rules, this breaks 'DON'T_TRAP' rules insertion. The fix uses the equivalent 'dest_num' value instead of dest pointer at the failed check. fixes: 3b3233fbf02e ('IB/mlx5: Add flow counters binding support') Signed-off-by: Raed Salem <raeds@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>