Skip to content

Commit

Permalink
RDMA/bnxt_en: Enable RDMA driver support for 57500 chip
Browse files Browse the repository at this point in the history
Re-enabling RDMA driver support on 57500 chips. Removing the forced error
code for 57500 chip.

Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Devesh Sharma <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
  • Loading branch information
Devesh Sharma authored and jgunthorpe committed Feb 7, 2019
1 parent 95b86d1 commit ecb53fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id,
if (ulp_id == BNXT_ROCE_ULP) {
unsigned int max_stat_ctxs;

if (bp->flags & BNXT_FLAG_CHIP_P5)
return -EOPNOTSUPP;

max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp);
if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS ||
bp->cp_nr_rings == max_stat_ctxs)
Expand Down

0 comments on commit ecb53fe

Please sign in to comment.