| 287 | } |
| 288 | |
| 289 | static int bnxt_alloc_parent_info(struct bnxt *bp) |
| 290 | { |
| 291 | bp->parent = rte_zmalloc("bnxt_parent_info", |
| 292 | sizeof(struct bnxt_parent_info), 0); |
| 293 | if (bp->parent == NULL) |
| 294 | return -ENOMEM; |
| 295 | |
| 296 | return 0; |
| 297 | } |
| 298 | |
| 299 | static int bnxt_alloc_pf_info(struct bnxt *bp) |
| 300 | { |
no test coverage detected