mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
qed: Chain support for external PBL
iWARP would require the chains to allocate/free their PBL memory independently, so add the infrastructure to provide it externally. Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8917a777be
commit
1a4a69751f
10 changed files with 56 additions and 28 deletions
|
@ -307,6 +307,7 @@ int qed_dmae_host2host(struct qed_hwfn *p_hwfn,
|
|||
* @param num_elems
|
||||
* @param elem_size
|
||||
* @param p_chain
|
||||
* @param ext_pbl - a possible external PBL
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
@ -315,7 +316,9 @@ qed_chain_alloc(struct qed_dev *cdev,
|
|||
enum qed_chain_use_mode intended_use,
|
||||
enum qed_chain_mode mode,
|
||||
enum qed_chain_cnt_type cnt_type,
|
||||
u32 num_elems, size_t elem_size, struct qed_chain *p_chain);
|
||||
u32 num_elems,
|
||||
size_t elem_size,
|
||||
struct qed_chain *p_chain, struct qed_chain_ext_pbl *ext_pbl);
|
||||
|
||||
/**
|
||||
* @brief qed_chain_free - Free chain DMA memory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue