11/04/2019 14:37, Igor Russkikh: > On 10.04.2019 14:46, Thomas Monjalon wrote: > > 10/04/2019 13:18, Igor Russkikh: > >> MACSEC related device ops, API and parameters are taken from the > >> existing ixgbe PMD ops > > > > Please can you explain how it is related to rte_security? > > It is not. > Do you mean macsec control API could be moved and logically be a part of > rte_security api? > I can't comment now on how feasible is this. Moreover this depends on how > Intel considers > and uses the existing macsec offload in ixgbe.
There are RTE_SECURITY_PROTOCOL_MACSEC and rte_security_macsec_* structs in librte_security. Please check how it can be used while defining an ethdev API.