Re: [RFC PATCH net-next 1/5] ethtool: Allow network drivers to dump arbitrary EEPROM data

2021-03-03 Thread Vladyslav Tarasiuk
On 28-Feb-21 02:45, Andrew Lunn wrote: On Wed, Feb 24, 2021 at 05:41:10PM +0200, Moshe Shemesh wrote: From: Vladyslav Tarasiuk Define get_module_eeprom_data_by_page() ethtool callback and implement netlink infrastructure. get_module_eeprom_data_by_page() allows network drivers to dump a

Re: [PATCH net-next v2 0/2] Add support for DSFP transceiver type

2021-01-04 Thread Vladyslav Tarasiuk
On 30-Dec-20 17:36, Andrew Lunn wrote: On Wed, Dec 30, 2020 at 03:55:02PM +0200, Vladyslav Tarasiuk wrote: On 29-Dec-20 18:25, Andrew Lunn wrote: Hi Andrew, Following this conversation, I wrote some pseudocode checking if I'm on right path here. Please review: struct eeprom

Re: [PATCH net-next v2 0/2] Add support for DSFP transceiver type

2020-12-30 Thread Vladyslav Tarasiuk
On 29-Dec-20 18:25, Andrew Lunn wrote: Hi Andrew, Following this conversation, I wrote some pseudocode checking if I'm on right path here. Please review: struct eeprom_page {     u8 page_number;     u8 bank_number;     u16 offset;     u16 data_length;     u8 *data; }

Re: [PATCH net-next v2 0/2] Add support for DSFP transceiver type

2020-12-29 Thread Vladyslav Tarasiuk
On 27-Nov-20 17:56, Andrew Lunn wrote: OK, but if the caching system is checking one time netlink and one time ioctl, it means this cache should be in user space, or did you mean to have this cache in kernel ? This is all in userspace, in the ethtool code. What about the global offset that w