qed*: Change hwfn used for sb initialization
When initializing status blocks use the affined hwfn instead of the leading one for RDMA / Storage Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
79284adeb9
commit
08eb1fb0f7
@@ -907,7 +907,8 @@ struct qed_common_ops {
|
||||
|
||||
u32 (*sb_release)(struct qed_dev *cdev,
|
||||
struct qed_sb_info *sb_info,
|
||||
u16 sb_id);
|
||||
u16 sb_id,
|
||||
enum qed_sb_type type);
|
||||
|
||||
void (*simd_handler_config)(struct qed_dev *cdev,
|
||||
void *token,
|
||||
@@ -1123,6 +1124,13 @@ struct qed_common_ops {
|
||||
*/
|
||||
int (*read_module_eeprom)(struct qed_dev *cdev,
|
||||
char *buf, u8 dev_addr, u32 offset, u32 len);
|
||||
|
||||
/**
|
||||
* @brief get_affin_hwfn_idx
|
||||
*
|
||||
* @param cdev
|
||||
*/
|
||||
u8 (*get_affin_hwfn_idx)(struct qed_dev *cdev);
|
||||
};
|
||||
|
||||
#define MASK_FIELD(_name, _value) \
|
||||
|
Reference in New Issue
Block a user