Skip to content

Commit 92819ad

Browse files
author
Herton R. Krzesinski
committed
Merge: bnxt_re: Driver update to v6.0
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1913 Bugzilla: http://bugzilla.redhat.com/2142686 This patch set updates the bnxt_re driver to v6.0. Signed-off-by: Kamal Heib <kheib@redhat.com> Approved-by: Íñigo Huguet <ihuguet@redhat.com> Approved-by: Jonathan Toppins <jtoppins@redhat.com> Approved-by: José Ignacio Tornos Martínez <jtornosm@redhat.com> Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 parents f0c6cbb + 48bcfba commit 92819ad

File tree

11 files changed

+56
-248
lines changed

11 files changed

+56
-248
lines changed

drivers/infiniband/hw/bnxt_re/bnxt_re.h

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,9 @@
4343
#define ROCE_DRV_MODULE_NAME "bnxt_re"
4444

4545
#define BNXT_RE_DESC "Broadcom NetXtreme-C/E RoCE Driver"
46-
#define BNXT_RE_PAGE_SHIFT_4K (12)
47-
#define BNXT_RE_PAGE_SHIFT_8K (13)
48-
#define BNXT_RE_PAGE_SHIFT_64K (16)
49-
#define BNXT_RE_PAGE_SHIFT_2M (21)
50-
#define BNXT_RE_PAGE_SHIFT_8M (23)
51-
#define BNXT_RE_PAGE_SHIFT_1G (30)
5246

53-
#define BNXT_RE_PAGE_SIZE_4K BIT(BNXT_RE_PAGE_SHIFT_4K)
54-
#define BNXT_RE_PAGE_SIZE_8K BIT(BNXT_RE_PAGE_SHIFT_8K)
55-
#define BNXT_RE_PAGE_SIZE_64K BIT(BNXT_RE_PAGE_SHIFT_64K)
56-
#define BNXT_RE_PAGE_SIZE_2M BIT(BNXT_RE_PAGE_SHIFT_2M)
57-
#define BNXT_RE_PAGE_SIZE_8M BIT(BNXT_RE_PAGE_SHIFT_8M)
58-
#define BNXT_RE_PAGE_SIZE_1G BIT(BNXT_RE_PAGE_SHIFT_1G)
47+
#define BNXT_RE_PAGE_SHIFT_1G (30)
48+
#define BNXT_RE_PAGE_SIZE_SUPPORTED 0x7FFFF000 /* 4kb - 1G */
5949

6050
#define BNXT_RE_MAX_MR_SIZE_LOW BIT_ULL(BNXT_RE_PAGE_SHIFT_1G)
6151
#define BNXT_RE_MAX_MR_SIZE_HIGH BIT_ULL(39)

drivers/infiniband/hw/bnxt_re/ib_verbs.c

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <linux/pci.h>
4242
#include <linux/netdevice.h>
4343
#include <linux/if_ether.h>
44+
#include <net/addrconf.h>
4445

4546
#include <rdma/ib_verbs.h>
4647
#include <rdma/ib_user_verbs.h>
@@ -130,10 +131,10 @@ int bnxt_re_query_device(struct ib_device *ibdev,
130131
memcpy(&ib_attr->fw_ver, dev_attr->fw_ver,
131132
min(sizeof(dev_attr->fw_ver),
132133
sizeof(ib_attr->fw_ver)));
133-
bnxt_qplib_get_guid(rdev->netdev->dev_addr,
134-
(u8 *)&ib_attr->sys_image_guid);
134+
addrconf_addr_eui48((u8 *)&ib_attr->sys_image_guid,
135+
rdev->netdev->dev_addr);
135136
ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE;
136-
ib_attr->page_size_cap = BNXT_RE_PAGE_SIZE_4K | BNXT_RE_PAGE_SIZE_2M;
137+
ib_attr->page_size_cap = BNXT_RE_PAGE_SIZE_SUPPORTED;
137138

138139
ib_attr->vendor_id = rdev->en_dev->pdev->vendor;
139140
ib_attr->vendor_part_id = rdev->en_dev->pdev->device;
@@ -261,13 +262,12 @@ void bnxt_re_query_fw_str(struct ib_device *ibdev, char *str)
261262
int bnxt_re_query_pkey(struct ib_device *ibdev, u32 port_num,
262263
u16 index, u16 *pkey)
263264
{
264-
struct bnxt_re_dev *rdev = to_bnxt_re_dev(ibdev, ibdev);
265+
if (index > 0)
266+
return -EINVAL;
265267

266-
/* Ignore port_num */
268+
*pkey = IB_DEFAULT_PKEY_FULL;
267269

268-
memset(pkey, 0, sizeof(*pkey));
269-
return bnxt_qplib_get_pkey(&rdev->qplib_res,
270-
&rdev->qplib_res.pkey_tbl, index, pkey);
270+
return 0;
271271
}
272272

273273
int bnxt_re_query_gid(struct ib_device *ibdev, u32 port_num,
@@ -707,11 +707,6 @@ int bnxt_re_create_ah(struct ib_ah *ib_ah, struct rdma_ah_init_attr *init_attr,
707707
return 0;
708708
}
709709

710-
int bnxt_re_modify_ah(struct ib_ah *ib_ah, struct rdma_ah_attr *ah_attr)
711-
{
712-
return 0;
713-
}
714-
715710
int bnxt_re_query_ah(struct ib_ah *ib_ah, struct rdma_ah_attr *ah_attr)
716711
{
717712
struct bnxt_re_ah *ah = container_of(ib_ah, struct bnxt_re_ah, ib_ah);
@@ -1319,15 +1314,15 @@ static int bnxt_re_init_qp_attr(struct bnxt_re_qp *qp, struct bnxt_re_pd *pd,
13191314
static int bnxt_re_create_shadow_gsi(struct bnxt_re_qp *qp,
13201315
struct bnxt_re_pd *pd)
13211316
{
1322-
struct bnxt_re_sqp_entries *sqp_tbl = NULL;
1317+
struct bnxt_re_sqp_entries *sqp_tbl;
13231318
struct bnxt_re_dev *rdev;
13241319
struct bnxt_re_qp *sqp;
13251320
struct bnxt_re_ah *sah;
13261321
int rc = 0;
13271322

13281323
rdev = qp->rdev;
13291324
/* Create a shadow QP to handle the QP1 traffic */
1330-
sqp_tbl = kzalloc(sizeof(*sqp_tbl) * BNXT_RE_MAX_GSI_SQP_ENTRIES,
1325+
sqp_tbl = kcalloc(BNXT_RE_MAX_GSI_SQP_ENTRIES, sizeof(*sqp_tbl),
13311326
GFP_KERNEL);
13321327
if (!sqp_tbl)
13331328
return -ENOMEM;
@@ -2488,7 +2483,8 @@ static int bnxt_re_build_reg_wqe(const struct ib_reg_wr *wr,
24882483

24892484
wqe->frmr.l_key = wr->key;
24902485
wqe->frmr.length = wr->mr->length;
2491-
wqe->frmr.pbl_pg_sz_log = (wr->mr->page_size >> PAGE_SHIFT_4K) - 1;
2486+
wqe->frmr.pbl_pg_sz_log = ilog2(PAGE_SIZE >> PAGE_SHIFT_4K);
2487+
wqe->frmr.pg_sz_log = ilog2(wr->mr->page_size >> PAGE_SHIFT_4K);
24922488
wqe->frmr.va = wr->mr->iova;
24932489
return 0;
24942490
}
@@ -3364,8 +3360,11 @@ static void bnxt_re_process_res_ud_wc(struct bnxt_re_qp *qp,
33643360
struct ib_wc *wc,
33653361
struct bnxt_qplib_cqe *cqe)
33663362
{
3363+
struct bnxt_re_dev *rdev;
3364+
u16 vlan_id = 0;
33673365
u8 nw_type;
33683366

3367+
rdev = qp->rdev;
33693368
wc->opcode = IB_WC_RECV;
33703369
wc->status = __rc_to_ib_wc_status(cqe->status);
33713370

@@ -3377,9 +3376,12 @@ static void bnxt_re_process_res_ud_wc(struct bnxt_re_qp *qp,
33773376
memcpy(wc->smac, cqe->smac, ETH_ALEN);
33783377
wc->wc_flags |= IB_WC_WITH_SMAC;
33793378
if (cqe->flags & CQ_RES_UD_FLAGS_META_FORMAT_VLAN) {
3380-
wc->vlan_id = (cqe->cfa_meta & 0xFFF);
3381-
if (wc->vlan_id < 0x1000)
3382-
wc->wc_flags |= IB_WC_WITH_VLAN;
3379+
vlan_id = (cqe->cfa_meta & 0xFFF);
3380+
}
3381+
/* Mark only if vlan_id is non zero */
3382+
if (vlan_id && bnxt_re_check_if_vlan_valid(rdev, vlan_id)) {
3383+
wc->vlan_id = vlan_id;
3384+
wc->wc_flags |= IB_WC_WITH_VLAN;
33833385
}
33843386
nw_type = (cqe->flags & CQ_RES_UD_FLAGS_ROCE_IP_VER_MASK) >>
33853387
CQ_RES_UD_FLAGS_ROCE_IP_VER_SFT;
@@ -3808,7 +3810,7 @@ struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *ib_pd, u64 start, u64 length,
38083810

38093811
mr->qplib_mr.va = virt_addr;
38103812
page_size = ib_umem_find_best_pgsz(
3811-
umem, BNXT_RE_PAGE_SIZE_4K | BNXT_RE_PAGE_SIZE_2M, virt_addr);
3813+
umem, BNXT_RE_PAGE_SIZE_SUPPORTED, virt_addr);
38123814
if (!page_size) {
38133815
ibdev_err(&rdev->ibdev, "umem page size unsupported!");
38143816
rc = -EFAULT;

drivers/infiniband/hw/bnxt_re/ib_verbs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ int bnxt_re_alloc_pd(struct ib_pd *pd, struct ib_udata *udata);
166166
int bnxt_re_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata);
167167
int bnxt_re_create_ah(struct ib_ah *ah, struct rdma_ah_init_attr *init_attr,
168168
struct ib_udata *udata);
169-
int bnxt_re_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
170169
int bnxt_re_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
171170
int bnxt_re_destroy_ah(struct ib_ah *ah, u32 flags);
172171
int bnxt_re_create_srq(struct ib_srq *srq,

drivers/infiniband/hw/bnxt_re/main.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ static int bnxt_re_net_stats_ctx_free(struct bnxt_re_dev *rdev,
525525
u32 fw_stats_ctx_id)
526526
{
527527
struct bnxt_en_dev *en_dev = rdev->en_dev;
528-
struct hwrm_stat_ctx_free_input req = {0};
528+
struct hwrm_stat_ctx_free_input req = {};
529+
struct hwrm_stat_ctx_free_output resp = {};
529530
struct bnxt_fw_msg fw_msg;
530531
int rc = -EINVAL;
531532

@@ -539,8 +540,8 @@ static int bnxt_re_net_stats_ctx_free(struct bnxt_re_dev *rdev,
539540

540541
bnxt_re_init_hwrm_hdr(rdev, (void *)&req, HWRM_STAT_CTX_FREE, -1, -1);
541542
req.stat_ctx_id = cpu_to_le32(fw_stats_ctx_id);
542-
bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&req,
543-
sizeof(req), DFLT_HWRM_CMD_TIMEOUT);
543+
bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
544+
sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
544545
rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg);
545546
if (rc)
546547
ibdev_err(&rdev->ibdev, "Failed to free HW stats context %#x",
@@ -695,7 +696,6 @@ static const struct ib_device_ops bnxt_re_dev_ops = {
695696
.get_port_immutable = bnxt_re_get_port_immutable,
696697
.map_mr_sg = bnxt_re_map_mr_sg,
697698
.mmap = bnxt_re_mmap,
698-
.modify_ah = bnxt_re_modify_ah,
699699
.modify_qp = bnxt_re_modify_qp,
700700
.modify_srq = bnxt_re_modify_srq,
701701
.poll_cq = bnxt_re_poll_cq,
@@ -729,7 +729,7 @@ static int bnxt_re_register_ib(struct bnxt_re_dev *rdev)
729729
strlen(BNXT_RE_DESC) + 5);
730730
ibdev->phys_port_cnt = 1;
731731

732-
bnxt_qplib_get_guid(rdev->netdev->dev_addr, (u8 *)&ibdev->node_guid);
732+
addrconf_addr_eui48((u8 *)&ibdev->node_guid, rdev->netdev->dev_addr);
733733

734734
ibdev->num_comp_vectors = rdev->num_msix - 1;
735735
ibdev->dev.parent = &rdev->en_dev->pdev->dev;
@@ -893,7 +893,6 @@ static int bnxt_re_srqn_handler(struct bnxt_qplib_nq *nq,
893893
struct bnxt_re_srq *srq = container_of(handle, struct bnxt_re_srq,
894894
qplib_srq);
895895
struct ib_event ib_event;
896-
int rc = 0;
897896

898897
ib_event.device = &srq->rdev->ibdev;
899898
ib_event.element.srq = &srq->ib_srq;
@@ -907,7 +906,7 @@ static int bnxt_re_srqn_handler(struct bnxt_qplib_nq *nq,
907906
(*srq->ib_srq.event_handler)(&ib_event,
908907
srq->ib_srq.srq_context);
909908
}
910-
return rc;
909+
return 0;
911910
}
912911

913912
static int bnxt_re_cqn_handler(struct bnxt_qplib_nq *nq,
@@ -1729,7 +1728,7 @@ static int bnxt_re_netdev_event(struct notifier_block *notifier,
17291728
}
17301729
if (sch_work) {
17311730
/* Allocate for the deferred task */
1732-
re_work = kzalloc(sizeof(*re_work), GFP_ATOMIC);
1731+
re_work = kzalloc(sizeof(*re_work), GFP_KERNEL);
17331732
if (re_work) {
17341733
get_device(&rdev->ibdev.dev);
17351734
re_work->rdev = rdev;

drivers/infiniband/hw/bnxt_re/qplib_fp.c

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include <linux/delay.h>
4747
#include <linux/prefetch.h>
4848
#include <linux/if_ether.h>
49+
#include <rdma/ib_mad.h>
4950

5051
#include "roce_hsi.h"
5152

@@ -707,12 +708,13 @@ int bnxt_qplib_query_srq(struct bnxt_qplib_res *res,
707708
int rc = 0;
708709

709710
RCFW_CMD_PREP(req, QUERY_SRQ, cmd_flags);
710-
req.srq_cid = cpu_to_le32(srq->id);
711711

712712
/* Configure the request */
713713
sbuf = bnxt_qplib_rcfw_alloc_sbuf(rcfw, sizeof(*sb));
714714
if (!sbuf)
715715
return -ENOMEM;
716+
req.resp_size = sizeof(*sb) / BNXT_QPLIB_CMDQE_UNITS;
717+
req.srq_cid = cpu_to_le32(srq->id);
716718
sb = sbuf->sb;
717719
rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp,
718720
(void *)sbuf, 0);
@@ -1231,7 +1233,7 @@ int bnxt_qplib_modify_qp(struct bnxt_qplib_res *res, struct bnxt_qplib_qp *qp)
12311233
struct bnxt_qplib_rcfw *rcfw = res->rcfw;
12321234
struct cmdq_modify_qp req;
12331235
struct creq_modify_qp_resp resp;
1234-
u16 cmd_flags = 0, pkey;
1236+
u16 cmd_flags = 0;
12351237
u32 temp32[4];
12361238
u32 bmask;
12371239
int rc;
@@ -1254,11 +1256,9 @@ int bnxt_qplib_modify_qp(struct bnxt_qplib_res *res, struct bnxt_qplib_qp *qp)
12541256
if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_ACCESS)
12551257
req.access = qp->access;
12561258

1257-
if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY) {
1258-
if (!bnxt_qplib_get_pkey(res, &res->pkey_tbl,
1259-
qp->pkey_index, &pkey))
1260-
req.pkey = cpu_to_le16(pkey);
1261-
}
1259+
if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY)
1260+
req.pkey = cpu_to_le16(IB_DEFAULT_PKEY_FULL);
1261+
12621262
if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_QKEY)
12631263
req.qkey = cpu_to_le32(qp->qkey);
12641264

@@ -2854,6 +2854,7 @@ int bnxt_qplib_poll_cq(struct bnxt_qplib_cq *cq, struct bnxt_qplib_cqe *cqe,
28542854
struct cq_base *hw_cqe;
28552855
u32 sw_cons, raw_cons;
28562856
int budget, rc = 0;
2857+
u8 type;
28572858

28582859
raw_cons = cq->hwq.cons;
28592860
budget = num_cqes;
@@ -2872,7 +2873,8 @@ int bnxt_qplib_poll_cq(struct bnxt_qplib_cq *cq, struct bnxt_qplib_cqe *cqe,
28722873
*/
28732874
dma_rmb();
28742875
/* From the device's respective CQE format to qplib_wc*/
2875-
switch (hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK) {
2876+
type = hw_cqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK;
2877+
switch (type) {
28762878
case CQ_BASE_CQE_TYPE_REQ:
28772879
rc = bnxt_qplib_cq_process_req(cq,
28782880
(struct cq_req *)hw_cqe,
@@ -2919,8 +2921,9 @@ int bnxt_qplib_poll_cq(struct bnxt_qplib_cq *cq, struct bnxt_qplib_cqe *cqe,
29192921
/* Error while processing the CQE, just skip to the
29202922
* next one
29212923
*/
2922-
dev_err(&cq->hwq.pdev->dev,
2923-
"process_cqe error rc = 0x%x\n", rc);
2924+
if (type != CQ_BASE_CQE_TYPE_TERMINAL)
2925+
dev_err(&cq->hwq.pdev->dev,
2926+
"process_cqe error rc = 0x%x\n", rc);
29242927
}
29252928
raw_cons++;
29262929
}

drivers/infiniband/hw/bnxt_re/qplib_rcfw.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static int __block_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie)
7878
if (!test_bit(cbit, cmdq->cmdq_bitmap))
7979
goto done;
8080
do {
81-
mdelay(1); /* 1m sec */
81+
udelay(1);
8282
bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet);
8383
} while (test_bit(cbit, cmdq->cmdq_bitmap) && --count);
8484
done:
@@ -555,7 +555,7 @@ int bnxt_qplib_init_rcfw(struct bnxt_qplib_rcfw *rcfw,
555555

556556
void bnxt_qplib_free_rcfw_channel(struct bnxt_qplib_rcfw *rcfw)
557557
{
558-
kfree(rcfw->cmdq.cmdq_bitmap);
558+
bitmap_free(rcfw->cmdq.cmdq_bitmap);
559559
kfree(rcfw->qp_tbl);
560560
kfree(rcfw->crsqe_tbl);
561561
bnxt_qplib_free_hwq(rcfw->res, &rcfw->cmdq.hwq);
@@ -572,7 +572,6 @@ int bnxt_qplib_alloc_rcfw_channel(struct bnxt_qplib_res *res,
572572
struct bnxt_qplib_sg_info sginfo = {};
573573
struct bnxt_qplib_cmdq_ctx *cmdq;
574574
struct bnxt_qplib_creq_ctx *creq;
575-
u32 bmap_size = 0;
576575

577576
rcfw->pdev = res->pdev;
578577
cmdq = &rcfw->cmdq;
@@ -613,13 +612,10 @@ int bnxt_qplib_alloc_rcfw_channel(struct bnxt_qplib_res *res,
613612
if (!rcfw->crsqe_tbl)
614613
goto fail;
615614

616-
bmap_size = BITS_TO_LONGS(rcfw->cmdq_depth) * sizeof(unsigned long);
617-
cmdq->cmdq_bitmap = kzalloc(bmap_size, GFP_KERNEL);
615+
cmdq->cmdq_bitmap = bitmap_zalloc(rcfw->cmdq_depth, GFP_KERNEL);
618616
if (!cmdq->cmdq_bitmap)
619617
goto fail;
620618

621-
cmdq->bmap_size = bmap_size;
622-
623619
/* Allocate one extra to hold the QP1 entries */
624620
rcfw->qp_tbl_size = qp_tbl_sz + 1;
625621
rcfw->qp_tbl = kcalloc(rcfw->qp_tbl_size, sizeof(struct bnxt_qplib_qp_node),
@@ -667,8 +663,8 @@ void bnxt_qplib_disable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw)
667663
iounmap(cmdq->cmdq_mbox.reg.bar_reg);
668664
iounmap(creq->creq_db.reg.bar_reg);
669665

670-
indx = find_first_bit(cmdq->cmdq_bitmap, cmdq->bmap_size);
671-
if (indx != cmdq->bmap_size)
666+
indx = find_first_bit(cmdq->cmdq_bitmap, rcfw->cmdq_depth);
667+
if (indx != rcfw->cmdq_depth)
672668
dev_err(&rcfw->pdev->dev,
673669
"disabling RCFW with pending cmd-bit %lx\n", indx);
674670

@@ -848,13 +844,13 @@ struct bnxt_qplib_rcfw_sbuf *bnxt_qplib_rcfw_alloc_sbuf(
848844
{
849845
struct bnxt_qplib_rcfw_sbuf *sbuf;
850846

851-
sbuf = kzalloc(sizeof(*sbuf), GFP_ATOMIC);
847+
sbuf = kzalloc(sizeof(*sbuf), GFP_KERNEL);
852848
if (!sbuf)
853849
return NULL;
854850

855851
sbuf->size = size;
856852
sbuf->sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf->size,
857-
&sbuf->dma_addr, GFP_ATOMIC);
853+
&sbuf->dma_addr, GFP_KERNEL);
858854
if (!sbuf->sb)
859855
goto bail;
860856

drivers/infiniband/hw/bnxt_re/qplib_rcfw.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static inline void bnxt_qplib_set_cmd_slots(struct cmdq_base *req)
9696

9797
#define RCFW_MAX_COOKIE_VALUE 0x7FFF
9898
#define RCFW_CMD_IS_BLOCKING 0x8000
99-
#define RCFW_BLOCKED_CMD_WAIT_COUNT 0x4E20
99+
#define RCFW_BLOCKED_CMD_WAIT_COUNT 20000000UL /* 20 sec */
100100

101101
#define HWRM_VERSION_RCFW_CMDQ_DEPTH_CHECK 0x1000900020011ULL
102102

@@ -152,7 +152,6 @@ struct bnxt_qplib_cmdq_ctx {
152152
wait_queue_head_t waitq;
153153
unsigned long flags;
154154
unsigned long *cmdq_bitmap;
155-
u32 bmap_size;
156155
u32 seq_num;
157156
};
158157

0 commit comments

Comments
 (0)