Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/bnxt_en: Enable RDMA driver support for 57500 chip

Re-enabling RDMA driver support on 57500 chips. Removing the forced error
code for 57500 chip.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>

authored by

Devesh Sharma and committed by
Jason Gunthorpe
ecb53feb 95b86d1c

-3
-3
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
··· 43 43 if (ulp_id == BNXT_ROCE_ULP) { 44 44 unsigned int max_stat_ctxs; 45 45 46 - if (bp->flags & BNXT_FLAG_CHIP_P5) 47 - return -EOPNOTSUPP; 48 - 49 46 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); 50 47 if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || 51 48 bp->cp_nr_rings == max_stat_ctxs)