Re: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-08 Thread Ferruh Yigit
On 5/5/2018 7:59 PM, Shahaf Shuler wrote: > Hi Ferruh, Dai, >> Subject: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads >> >> This patch check if a input requested offloading is valid or not. >> Any reuqested offloading must be supported in the device capabilities. &g

Re: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-07 Thread Dai, Wei
etter. I will adopt it in my v8 patch. > -Original Message- > From: Shahaf Shuler [mailto:shah...@mellanox.com] > Sent: Sunday, May 6, 2018 3:00 AM > To: Dai, Wei ; Thomas Monjalon > ; Yigit, Ferruh > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v7] ethdev: check

Re: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-05 Thread Shahaf Shuler
Hi Ferruh, Dai, > Subject: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads > > 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 i

Re: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-04 Thread Ferruh Yigit
On 5/4/2018 3:42 PM, Ferruh Yigit wrote: > On 5/4/2018 3:02 PM, Wei Dai wrote: >> 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 >>

Re: [dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-04 Thread Ferruh Yigit
On 5/4/2018 3:02 PM, Wei Dai wrote: > 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_co

[dpdk-dev] [PATCH v7] ethdev: check Rx/Tx offloads

2018-05-04 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_e