From: Vidya Sagar Ravipati <vi...@cumulusnetworks.com> Date: Sat, 11 Jun 2016 16:22:38 -0700
> As part of ethtool application, application is requesting the drivers > to provide the supported eeprom size to allocate memory buffer for > getting complete dump. And the right way to do that is the driver requests the eeprom info with a buffer size of zero, then the driver fills in the size field for what the size actually is. Then the application can allocate the proper buffer size and rerun the eeprom request. Putting endless values for each and every eeprom type a device has is just rediculous. I'm not going to continue promoting this broken and unscalable scheme, we have to fix this.