Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • linux
  • ethtool.h
Find file BlameHistoryPermalink
  • Ido Schimmel's avatar
    ethtool: Add ethtool operation to write to a transceiver module EEPROM · 69540b79
    Ido Schimmel authored Jun 27, 2024
    
    
    Ethtool can already retrieve information from a transceiver module
    EEPROM by invoking the ethtool_ops::get_module_eeprom_by_page operation.
    Add a corresponding operation that allows ethtool to write to a
    transceiver module EEPROM.
    
    The new write operation is purely an in-kernel API and is not exposed to
    user space.
    
    The purpose of this operation is not to enable arbitrary read / write
    access, but to allow the kernel to write to specific addresses as part
    of transceiver module firmware flashing. In the future, more
    functionality can be implemented on top of these read / write
    operations.
    
    Adjust the comments of the 'ethtool_module_eeprom' structure as it is
    no longer used only for read access.
    
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarDanielle Ratson <danieller@nvidia.com>
    Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
    Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    69540b79
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7