Hi, 22/05/2019 13:01, Ananyev, Konstantin: > > As far as I can see, passing FDIR configuration via the rte_eth_conf struct: > > struct rte_fdir_conf fdir_conf; /**< FDIR configuration. DEPRECATED */ > > was deprecated. I suspect in favor of the late binding design mentioned, but > > again, I don't know the history on that. IMO, this made devargs a better > > choice. > > Ok, then it looks like there is a flaw in ethdev level API that needs to be > fixed: > We deprecated old way to request FD usage without introducing new one. > CC-ing to ethdev maintainers - > Guys is there a new way to request FD enablement, instead of deprecated > fdir_config? > Seems like not, unless I missed something obvious. > If not, then we probably need either to re-deprecate fdir_config, or > introduce some new method. > My first thought would be to add new DEV_RX_OFFLOAD_* flag(s). > Does it make sense?
Sorry,I have not read the full thread so I may be out of topic. Please be aware that the flow director API is deprecated in favor of the more generic rte_flow API.