dpaa: Add and use bman_new_pool_for_bpid()

Update #3277.
This commit is contained in:
Sebastian Huber
2018-01-12 13:22:10 +01:00
parent 95fe5b1f46
commit a7d252c645
3 changed files with 19 additions and 0 deletions

View File

@@ -86,6 +86,9 @@ struct bman_pool;
* Creates a pool object, and returns a reference to it or NULL on error.
*/
struct bman_pool *bman_new_pool(void);
#ifdef __rtems__
struct bman_pool *bman_new_pool_for_bpid(u8 bpid);
#endif /* __rtems__ */
/**
* bman_free_pool - Deallocates a Buffer Pool object