Commit ed9085f
IB/mlx5: Fix steering rule of drop and count
There are two flow rule destinations: QP and packet. While users are
setting DROP packet rule, the QP should not be set as a destination.
Fixes: 3b3233f ("IB/mlx5: Add flow counters binding support")
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20191212091214.315005-4-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>1 parent 89f988d commit ed9085f
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3544 | 3544 | | |
3545 | 3545 | | |
3546 | 3546 | | |
3547 | | - | |
3548 | | - | |
3549 | | - | |
3550 | | - | |
3551 | 3547 | | |
3552 | 3548 | | |
3553 | 3549 | | |
| |||
3560 | 3556 | | |
3561 | 3557 | | |
3562 | 3558 | | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
| 3562 | + | |
| 3563 | + | |
3563 | 3564 | | |
3564 | 3565 | | |
3565 | 3566 | | |
| |||
3600 | 3601 | | |
3601 | 3602 | | |
3602 | 3603 | | |
3603 | | - | |
| 3604 | + | |
3604 | 3605 | | |
3605 | | - | |
3606 | | - | |
3607 | 3606 | | |
3608 | 3607 | | |
3609 | 3608 | | |
| |||
0 commit comments