[dpdk-dev] [PATCH 1/2] ethdev: add callback to get register size in bytes

Thomas Monjalon thomas.monjalon at 6wind.com
Fri May 27 16:43:51 CEST 2016


2016-05-27 13:28, Panu Matilainen:
> On 05/25/2016 09:36 AM, zr at semihalf.com wrote:
> > @@ -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.



More information about the dev mailing list