RE: [PATCH iproute2-next v1 19/19] rdma: Provide and reuse filter functions

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

 




> -----Original Message-----
> From: linux-rdma-owner@xxxxxxxxxxxxxxx <linux-rdma-
> owner@xxxxxxxxxxxxxxx> On Behalf Of Leon Romanovsky
> Sent: Wednesday, February 20, 2019 1:22 AM
> To: David Ahern <dsahern@xxxxxxxxx>
> Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx>; netdev
> <netdev@xxxxxxxxxxxxxxx>; RDMA mailing list <linux-
> rdma@xxxxxxxxxxxxxxx>; Stephen Hemminger
> <stephen@xxxxxxxxxxxxxxxxxx>
> Subject: [PATCH iproute2-next v1 19/19] rdma: Provide and reuse filter
> functions
> 
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> Globally replace all filter function in safer variants of those
> is_filterred functions, which take into account the availability/lack

"is_filterred" -> "is_filtered"

> of netlink attributes.
> 
> Such conversion allowed to fix a number of places in the code, where
> the previous implementation didn't honor filter requests if netlink
> attribute wasn't present.
> 
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  rdma/rdma.h     |  7 +++---
>  rdma/res-cmid.c | 57 +++++++++++++++++++++++++++----------------------
>  rdma/res-cq.c   | 22 +++++++++++--------
>  rdma/res-mr.c   | 12 +++++++----
>  rdma/res-pd.c   | 12 +++++++----
>  rdma/res-qp.c   | 53 ++++++++++++++++++++++-----------------------
>  rdma/utils.c    | 26 ++++++++++++++++++----
>  7 files changed, 112 insertions(+), 77 deletions(-)

Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>





[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