Lines Matching refs:sgid_tbl
299 &rdev->qplib_res.sgid_tbl, index, in bnxt_re_query_gid()
309 struct bnxt_qplib_sgid_tbl *sgid_tbl = &rdev->qplib_res.sgid_tbl; in bnxt_re_del_gid() local
318 if (sgid_tbl && sgid_tbl->active) { in bnxt_re_del_gid()
319 if (ctx->idx >= sgid_tbl->max) in bnxt_re_del_gid()
321 gid_to_del = &sgid_tbl->tbl[ctx->idx].gid; in bnxt_re_del_gid()
322 vlan_id = sgid_tbl->tbl[ctx->idx].vlan_id; in bnxt_re_del_gid()
340 rc = bnxt_qplib_del_sgid(sgid_tbl, gid_to_del, in bnxt_re_del_gid()
346 ctx_tbl = sgid_tbl->ctx; in bnxt_re_del_gid()
364 struct bnxt_qplib_sgid_tbl *sgid_tbl = &rdev->qplib_res.sgid_tbl; in bnxt_re_add_gid() local
370 rc = bnxt_qplib_add_sgid(sgid_tbl, (struct bnxt_qplib_gid *)&attr->gid, in bnxt_re_add_gid()
374 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()
388 ctx_tbl = sgid_tbl->ctx; in bnxt_re_add_gid()