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 <[email protected]>
> Acked-by: Santosh Shukla <[email protected]>
<...>
> @@ -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.