Re: [dpdk-dev] [PATCH v14] ethdev: new Rx/Tx offloads API

2018-05-14 Thread Ferruh Yigit
On 5/14/2018 3:11 PM, Thomas Monjalon wrote: > 14/05/2018 15:20, Wei Dai: >> Signed-off-by: Wei Dai >> Signed-off-by: Ferruh Yigit >> Signed-off-by: Qi Zhang > > [...] >> * hasn't been set in the input argument eth_conf->rxmode.offloads >> * to rte_eth_dev_configure(), it is a new added

Re: [dpdk-dev] [PATCH v14] ethdev: new Rx/Tx offloads API

2018-05-14 Thread Thomas Monjalon
14/05/2018 15:20, Wei Dai: > Signed-off-by: Wei Dai > Signed-off-by: Ferruh Yigit > Signed-off-by: Qi Zhang [...] > * hasn't been set in the input argument eth_conf->rxmode.offloads > * to rte_eth_dev_configure(), it is a new added offloading, it must be > * per-queue type and it is

[dpdk-dev] [PATCH v14] ethdev: new Rx/Tx offloads API

2018-05-14 Thread Wei Dai
This patch check if a input requested offloading is valid or not. Any reuqested offloading must be supported in the device capabilities. Any offloading is disabled by default if it is not set in the parameter dev_conf->[rt]xmode.offloads to rte_eth_dev_configure() and [rt]x_conf->offloads to rte_et