On 3/26/2018 12:02 PM, Pavan Nikhilesh wrote: > Use the new Rx/Tx offload APIs and remove the old style offloads. > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@caviumnetworks.com> > Acked-by: Santosh Shukla <santosh.shu...@caviumnetworks.com>
<...> > @@ -630,6 +636,7 @@ octeontx_dev_info(struct rte_eth_dev *dev, > dev_info->default_rxconf = (struct rte_eth_rxconf) { > .rx_free_thresh = 0, > .rx_drop_en = 0, > + .offloads = OCTEONTX_RX_OFFLOADS, > }; OCTEONTX_RX_OFFLOADS need to be reported in "rx_offload_capa", currently "rx_offload_capa" is zero, technically applications are not allowed to set any Rx offloads.