.. | .. |
---|
65 | 65 | u32 max_mw; |
---|
66 | 66 | u32 max_raw_ethy_qp; |
---|
67 | 67 | u32 max_ah; |
---|
68 | | - u32 max_fmr; |
---|
69 | | - u32 max_map_per_fmr; |
---|
70 | 68 | u32 max_srq; |
---|
71 | 69 | u32 max_srq_wqes; |
---|
72 | 70 | u32 max_srq_sges; |
---|
.. | .. |
---|
83 | 81 | |
---|
84 | 82 | struct bnxt_qplib_gid { |
---|
85 | 83 | u8 data[16]; |
---|
| 84 | +}; |
---|
| 85 | + |
---|
| 86 | +struct bnxt_qplib_gid_info { |
---|
| 87 | + struct bnxt_qplib_gid gid; |
---|
| 88 | + u16 vlan_id; |
---|
86 | 89 | }; |
---|
87 | 90 | |
---|
88 | 91 | struct bnxt_qplib_ah { |
---|
.. | .. |
---|
206 | 209 | /* res_tx_pci_err is 64 b */ |
---|
207 | 210 | u64 res_rx_pci_err; |
---|
208 | 211 | /* res_rx_pci_err is 64 b */ |
---|
| 212 | + u64 res_oos_drop_count; |
---|
| 213 | + /* res_oos_drop_count */ |
---|
| 214 | + u64 active_qp_count_p0; |
---|
| 215 | + /* port 0 active qps */ |
---|
| 216 | + u64 active_qp_count_p1; |
---|
| 217 | + /* port 1 active qps */ |
---|
| 218 | + u64 active_qp_count_p2; |
---|
| 219 | + /* port 2 active qps */ |
---|
| 220 | + u64 active_qp_count_p3; |
---|
| 221 | + /* port 3 active qps */ |
---|
209 | 222 | }; |
---|
210 | 223 | |
---|
211 | 224 | int bnxt_qplib_get_sgid(struct bnxt_qplib_res *res, |
---|
212 | 225 | struct bnxt_qplib_sgid_tbl *sgid_tbl, int index, |
---|
213 | 226 | struct bnxt_qplib_gid *gid); |
---|
214 | 227 | int bnxt_qplib_del_sgid(struct bnxt_qplib_sgid_tbl *sgid_tbl, |
---|
215 | | - struct bnxt_qplib_gid *gid, bool update); |
---|
| 228 | + struct bnxt_qplib_gid *gid, u16 vlan_id, bool update); |
---|
216 | 229 | int bnxt_qplib_add_sgid(struct bnxt_qplib_sgid_tbl *sgid_tbl, |
---|
217 | 230 | struct bnxt_qplib_gid *gid, u8 *mac, u16 vlan_id, |
---|
218 | 231 | bool update, u32 *index); |
---|
.. | .. |
---|
232 | 245 | int bnxt_qplib_set_func_resources(struct bnxt_qplib_res *res, |
---|
233 | 246 | struct bnxt_qplib_rcfw *rcfw, |
---|
234 | 247 | struct bnxt_qplib_ctx *ctx); |
---|
235 | | -int bnxt_qplib_create_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah); |
---|
236 | | -int bnxt_qplib_destroy_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah); |
---|
| 248 | +int bnxt_qplib_create_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah, |
---|
| 249 | + bool block); |
---|
| 250 | +void bnxt_qplib_destroy_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah, |
---|
| 251 | + bool block); |
---|
237 | 252 | int bnxt_qplib_alloc_mrw(struct bnxt_qplib_res *res, |
---|
238 | 253 | struct bnxt_qplib_mrw *mrw); |
---|
239 | 254 | int bnxt_qplib_dereg_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw, |
---|
240 | 255 | bool block); |
---|
241 | 256 | int bnxt_qplib_reg_mr(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mr, |
---|
242 | | - u64 *pbl_tbl, int num_pbls, bool block, u32 buf_pg_size); |
---|
| 257 | + struct ib_umem *umem, int num_pbls, u32 buf_pg_size); |
---|
243 | 258 | int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mr); |
---|
244 | 259 | int bnxt_qplib_alloc_fast_reg_mr(struct bnxt_qplib_res *res, |
---|
245 | 260 | struct bnxt_qplib_mrw *mr, int max); |
---|