Re: [PATCH rdma-next] RDMA/mlx5: Fix drop packet rule in egress table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 18, 2021 at 03:51:23PM +0200, Leon Romanovsky wrote:
> From: Maor Gottlieb <maorg@xxxxxxxxxx>
> 
> Initial drop action support missed that drop action can be added to
> egress flow tables as well. Add the missing support.
> 
> This requires making sure that dest_type isn't set to PORT which in
> turn exposes a possibility of passing dst while indicating number of
> dsts as zero. Explicitly check for number of dsts and pass the appropriate
> pointer.
> 
> Fixes: f29de9eee782 ("RDMA/mlx5: Add support for drop action in DV steering")
> Reviewed-by: Mark Bloch <markb@xxxxxxxxxx>
> Signed-off-by: Maor Gottlieb <maorg@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/fs.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux