diff options
author | David S. Miller <davem@davemloft.net> | 2019-09-11 15:15:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-11 15:15:23 +0100 |
commit | c1609946b8b6485e1d405663004867ea9e92178a (patch) | |
tree | 1b499f18be04de16a40bb0cb7a7a4850ca2146a4 /include | |
parent | 2f2fa16e23816bded4b97117faf6e97a95ba9056 (diff) | |
parent | 2da244a5c4b5fdbb5ae6cc89f85421defed59a5b (diff) |
Merge branch 'qed-Fix-series'
Sudarsana Reddy Kalluru says:
====================
qed* Fix series.
The patch series addresses couple of issues in the recent commits.
Patch (1) populates the actual dump-size of config attribute instead of
providing a fixed size value.
Patch(2) updates frame format of flash config buffer as required by
management FW (MFW).
Please consider applying it to net-next.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/qed/qed_if.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index e35463860c84..b5db1ee96d78 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -1143,6 +1143,14 @@ struct qed_common_ops { */ int (*read_nvm_cfg)(struct qed_dev *cdev, u8 **buf, u32 cmd, u32 entity_id); +/** + * @brief read_nvm_cfg - Read NVM config attribute value. + * @param cdev + * @param cmd - NVM CFG command id + * + * @return config id length, 0 on error. + */ + int (*read_nvm_cfg_len)(struct qed_dev *cdev, u32 cmd); /** * @brief set_grc_config - Configure value for grc config id. |