Lines Matching refs:cid
1777 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err);
1801 int cid = SW_CID(rr_cqe->ramrod_cqe.conn_and_cmd_data); in bnx2x_sp_event() local
1808 fp->index, cid, command, bp->state, in bnx2x_sp_event()
1814 if (cid >= BNX2X_FIRST_VF_CID && in bnx2x_sp_event()
1815 cid < BNX2X_FIRST_VF_CID + BNX2X_VF_CIDS) in bnx2x_sp_event()
1816 bnx2x_iov_set_queue_sp_obj(bp, cid, &q_obj); in bnx2x_sp_event()
1820 DP(BNX2X_MSG_SP, "got UPDATE ramrod. CID %d\n", cid); in bnx2x_sp_event()
1825 DP(BNX2X_MSG_SP, "got MULTI[%d] setup ramrod\n", cid); in bnx2x_sp_event()
1830 DP(BNX2X_MSG_SP, "got MULTI[%d] tx-only setup ramrod\n", cid); in bnx2x_sp_event()
1835 DP(BNX2X_MSG_SP, "got MULTI[%d] halt ramrod\n", cid); in bnx2x_sp_event()
1840 DP(BNX2X_MSG_SP, "got MULTI[%d] terminate ramrod\n", cid); in bnx2x_sp_event()
1845 DP(BNX2X_MSG_SP, "got MULTI[%d] empty ramrod\n", cid); in bnx2x_sp_event()
1850 DP(BNX2X_MSG_SP, "got tpa update ramrod CID=%d\n", cid); in bnx2x_sp_event()
3833 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, in bnx2x_sp_post() argument
3868 HW_CID(bp, cid)); in bnx2x_sp_post()
3903 HW_CID(bp, cid), data_hi, data_lo, type, in bnx2x_sp_post()
5201 static int bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid, in bnx2x_cnic_handle_cfc_del() argument
5207 (cid < bp->cnic_eth_dev.starting_cid && in bnx2x_cnic_handle_cfc_del()
5208 cid != bp->cnic_eth_dev.iscsi_l2_cid)) in bnx2x_cnic_handle_cfc_del()
5211 DP(BNX2X_MSG_SP, "got delete ramrod for CNIC CID %d\n", cid); in bnx2x_cnic_handle_cfc_del()
5216 cid); in bnx2x_cnic_handle_cfc_del()
5219 bnx2x_cnic_cfc_comp(bp, cid, err); in bnx2x_cnic_handle_cfc_del()
5253 u32 cid = elem->message.data.eth_event.echo & BNX2X_SWCID_MASK; in bnx2x_handle_classification_eqe() local
5263 if (CNIC_LOADED(bp) && (cid == BNX2X_ISCSI_ETH_CID(bp))) in bnx2x_handle_classification_eqe()
5266 vlan_mac_obj = &bp->sp_objs[cid].mac_obj; in bnx2x_handle_classification_eqe()
5393 struct bnx2x *bp, u32 cid) in bnx2x_cid_to_q_obj() argument
5395 DP(BNX2X_MSG_SP, "retrieving fp from cid %d\n", cid); in bnx2x_cid_to_q_obj()
5397 if (CNIC_LOADED(bp) && (cid == BNX2X_FCOE_ETH_CID(bp))) in bnx2x_cid_to_q_obj()
5400 return &bp->sp_objs[CID_TO_FP(cid, bp)].q_obj; in bnx2x_cid_to_q_obj()
5408 u32 cid; in bnx2x_eq_int() local
5448 cid = SW_CID((__force __le32) in bnx2x_eq_int()
5449 elem->message.data.cfc_del_event.cid); in bnx2x_eq_int()
5473 "got delete ramrod for MULTI[%d]\n", cid); in bnx2x_eq_int()
5476 !bnx2x_cnic_handle_cfc_del(bp, cid, elem)) in bnx2x_eq_int()
5479 q_obj = bnx2x_cid_to_q_obj(bp, cid); in bnx2x_eq_int()
5563 cid = elem->message.data.eth_event.echo & in bnx2x_eq_int()
5566 cid); in bnx2x_eq_int()
6115 ramrod_param.cid = 0; in bnx2x_set_q_rx_mode()
6302 fp->cid = fp_idx; in bnx2x_init_eth_fp()
6324 CID_COS_TO_TX_ONLY_CID(fp->cid, cos, bp), in bnx2x_init_eth_fp()
6327 cids[cos] = fp->txdata_ptr[cos]->cid; in bnx2x_init_eth_fp()
6407 bnx2x_fcoe(bp, cid) = BNX2X_FCOE_ETH_CID(bp); in bnx2x_init_fcoe_fp()
6412 fp->cid, FCOE_TXQ_IDX(bp), BNX2X_FCOE_L2_TX_INDEX, in bnx2x_init_fcoe_fp()
6431 &fp->cid, 1, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), in bnx2x_init_fcoe_fp()
8649 cxt_index = fp->txdata_ptr[cos]->cid / ILT_PAGE_CIDS; in bnx2x_pf_q_prep_init()
8650 cxt_offset = fp->txdata_ptr[cos]->cid - (cxt_index * in bnx2x_pf_q_prep_init()
8791 DP(NETIF_MSG_IFDOWN, "stopping queue %d cid %d\n", index, fp->cid); in bnx2x_stop_queue()
14144 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err) in bnx2x_cnic_cfc_comp() argument
14150 ctl.data.comp.cid = cid; in bnx2x_cnic_cfc_comp()