2016-12-12 11:51, Ananyev, Konstantin: > > > The application gets few information from tx_prepare() about what should > > > be done to make the packet accepted by the hw, and the actions will > > > probably be different depending on hardware. > > That's true. > I am open to suggestions how in future to provide extra information to the > upper layer. > Set rte_errno to different values depending on type of error, > OR extra parameter in tx_prepare() that will provide more detailed error > information, > OR something else?
That's one of the reason which give me a feeling that it is safer to introduce tx_prepare as an experimental API in 17.02. So the users will know that it can change in the next release. What do you think?