On 1/11/2018 8:12 AM, Andrew Rybchenko wrote: > May be it is too late to suggest a new API functions to ethdev, > but hopefully if the idea is accepted, it could be applied in the > current release cycle since these functions are trivial.
Agreed, I think they are OK to get in even late. > > I'm not sure that rte_ethdev_version.map is updated correctly > since EXPERIMENTAL tag is present and I don't understand how it > should be handled. > > In general for the transition period from old offload API to the > new one it would be useful to convert Tx offloads to/from txq_flags > in rte_eth_dev_info_get() for default_txconf and > rte_eth_tx_queue_info_get(). Unfortunately it was lost during > new offload API patches review. However, it would require testing > for all network PMDs and we decided to follow more conservative > approach and kept code to fill in txq_flags which should be simply > removed when txq_flags are removed. > > Cc: Thomas Monjalon <tho...@monjalon.net> > Cc: Ferruh Yigit <ferruh.yi...@intel.com> > Cc: Shahaf Shuler <shah...@mellanox.com> > > Ivan Malov (6): > ethdev: add a function to look up Rx offload names > ethdev: add a function to look up Tx offload names > net/sfc: factor out function to report Rx capabilities > net/sfc: convert to the new Rx offload API > net/sfc: factor out function to report Tx capabilities > net/sfc: convert to the new Tx offload API Series Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>