Re: [PATCH 1/2] ethdev: add callback to get register size in bytes
From: Thomas Monjalon <hidden>
Date: 2016-05-27 14:43:53
From: Thomas Monjalon <hidden>
Date: 2016-05-27 14:43:53
2016-05-27 13:28, Panu Matilainen:
On 05/25/2016 09:36 AM, zr@semihalf.com wrote:quoted
@@ -1455,6 +1458,8 @@ struct eth_dev_ops { eth_get_reg_length_t get_reg_length; /**< Get # of registers */ + eth_get_reg_width_t get_reg_width; + /**< Get # of bytes in register */ eth_get_reg_t get_reg; /**< Get registers */ eth_get_eeprom_length_t get_eeprom_length;This is an ABI break, but maybe it is part of that "driver implementation API" which is exempt from the ABI/API policies. Thomas?
Yes dev_ops are for drivers, not for applications. Thus it should not be impacted by the ABI policy.