RDMA/bnxt_re: Use GFP_KERNEL in non atomic context
authorSelvin Xavier <selvin.xavier@broadcom.com>
Wed, 15 Sep 2021 12:32:40 +0000 (05:32 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 20 Sep 2021 16:37:02 +0000 (13:37 -0300)
commit690ea7fe00afe1270590a9e4211705691dcef1bd
tree30b6ea7910bb9784881a9851199e3d8710b446b4
parent2b4ccce6cafae8eff0daec06b7652d9ab75f692f
RDMA/bnxt_re: Use GFP_KERNEL in non atomic context

Use GFP_KERNEL instead of GFP_ATOMIC while allocating control path
structures which will be only called from non atomic context

Link: https://lore.kernel.org/r/1631709163-2287-10-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c