Skip to contentSkip to conversation

ABI/API stability towards drivers

dpdk-dev Morten Brørup 4 participants 4 messages Jul 2, 2021 – Jul 7, 2021

lore
Share & tools
lore
#0 lore raw

Regarding the ongoing ABI stability project, it is suggested to export driver interfaces as internal.

What are we targeting regarding ABI and API stability towards drivers?

-Morten

#1 lore raw
Quoted 4 lines · Morten Brørup

Regarding the ongoing ABI stability project, it is suggested to export driver interfaces as internal.

What are we targeting regarding ABI and API stability towards drivers?

Hi Morten,

It is about some device abstraction libraries, like cryptodev, exposing the internal driver to library interface to the application. And any change on them causing an unnecessary ABI break.

So target is not drivers, but hide everything from application that only needs to be between lib and driver.

#2 lore raw
In reply to Morten Brørup

02/07/2021 10:00, Morten Brørup:

Quoted 3 lines

Regarding the ongoing ABI stability project, it is suggested to export driver interfaces as internal.

What are we targeting regarding ABI and API stability towards drivers?

No stability for driver interface.
It is recommended to make drivers internal.
If a driver is kept external to DPDK, there is a maintenance cost.

#3 lore raw
In reply to Morten Brørup
Quoted 3 lines · Morten Brørup

Regarding the ongoing ABI stability project, it is suggested to export driver interfaces as internal.

What are we targeting regarding ABI and API stability towards drivers?

last discussed the outcome was that there was no promise of api/abi stability at all for drivers only applications. tech-board may have discussed it further i don't know.

we (Microsoft) would like to see them evolve to stable abi/api but we understand the challenges and effort involved. so driver stability is pretty much the interface consumers problem right now for drivers built in-tree and out of tree.