qed: Revisit chain implementation
RoCE driver is going to need a 32-bit chain [current chain implementation for qed* currently supports only 16-bit producer/consumer chains]. This patch adds said support, as well as doing other slight tweaks and modifications to qed's chain API. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
330348d942
commit
a91eb52abb
@@ -245,9 +245,8 @@ int
|
||||
qed_chain_alloc(struct qed_dev *cdev,
|
||||
enum qed_chain_use_mode intended_use,
|
||||
enum qed_chain_mode mode,
|
||||
u16 num_elems,
|
||||
size_t elem_size,
|
||||
struct qed_chain *p_chain);
|
||||
enum qed_chain_cnt_type cnt_type,
|
||||
u32 num_elems, size_t elem_size, struct qed_chain *p_chain);
|
||||
|
||||
/**
|
||||
* @brief qed_chain_free - Free chain DMA memory
|
||||
@@ -255,8 +254,7 @@ qed_chain_alloc(struct qed_dev *cdev,
|
||||
* @param p_hwfn
|
||||
* @param p_chain
|
||||
*/
|
||||
void qed_chain_free(struct qed_dev *cdev,
|
||||
struct qed_chain *p_chain);
|
||||
void qed_chain_free(struct qed_dev *cdev, struct qed_chain *p_chain);
|
||||
|
||||
/**
|
||||
* @@brief qed_fw_l2_queue - Get absolute L2 queue ID
|
||||
|
||||
Reference in New Issue
Block a user