Re: [PATCH ethtool v2 3/4] ethtool: Rename QSFP-DD identifiers to use CMIS 4.0
flat view
From: Moshe Shemesh <hidden>
Date: 2021-06-03 07:18:08
On 5/31/2021 5:23 PM, Ido Schimmel wrote:
On Mon, May 24, 2021 at 05:18:59PM +0300, Moshe Shemesh wrote:quoted
From: Vladyslav Tarasiuk <redacted> QSFP-DD and DSFP EEPROM layout complies to CMIS 4.0 specification. As DSFP support is added, there are currently two standards, which share the same infrastructure. Rename QSFP_DD and qsfp_dd occurrences to use CMIS4 or cmis4 respectively to make function names generic for any module compliant to CMIS 4.0. Signed-off-by: Vladyslav Tarasiuk <redacted> Reviewed-by: Moshe Shemesh <redacted> --- Makefile.am | 2 +- qsfp-dd.c => cmis4.c | 210 ++++++++++++++++++++-------------------- cmis4.h | 128 ++++++++++++++++++++++++ netlink/module-eeprom.c | 2 +- qsfp.c | 2 +- 5 files changed, 236 insertions(+), 108 deletions(-) rename qsfp-dd.c => cmis4.c (56%) create mode 100644 cmis4.hIs there a reason to call this "cmis4" instead of just "cmis"? Revision 5.0 was published earlier this month [1] and I assume more revisions will follow.
We called it cmis4 as we comply here with CMIS version 4. However, I understand your point that other eeprom module specifications only spec number is mentioned and probably we can do the same here. Andrew, Michal, WDYT ?
Other standards (e.g., SFF-8024) also have multiple revisions and the revision number is only mentioned in the "revision compliance" field. [1] http://www.qsfp-dd.com/wp-content/uploads/2021/05/CMIS5p0.pdf