[dpdk-dev] [PATCH v2] net/octeontx: use the new offload APIs
Ferruh Yigit
ferruh.yigit at intel.com
Thu Apr 5 15:13:43 CEST 2018
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 <pbhagavatula at caviumnetworks.com>
> Acked-by: Santosh Shukla <santosh.shukla at 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.
More information about the dev
mailing list