Re: [PATCH rdma-next v1] RDMA/mlx5: Delete unreachable handle_atomic code by simplifying SW completion

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

 



Hi Leon,

On Wed, 12 Dec 2018 19:45:53 +0200 Leon Romanovsky <leon@xxxxxxxxxx> wrote:
>
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> Handle atomic was left as unimplemented from 2013,
> remove the code till this part will be developed.
> 
> Remove the dead code by simplifying SW completion logic which is
> supposed to be the same for send and receive paths.
> 
> Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
> Changelog v0->v1:
>  * Simplified sw_send_comp() and sw_recv_comp() routines
>  * Deleted last_poll variable, which is not really needed and was
>    for unnedde optimization, because the logic should be the same
>    for mlx4 and mlx5 devices.

I have applied this to linux-next for today and it fixes the build
failure.

Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> # compile tested

-- 
Cheers,
Stephen Rothwell

Attachment: pgp50KI7P59yu.pgp
Description: OpenPGP digital signature


[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