Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-25 Thread Ferruh Yigit
On 4/25/2018 2:32 PM, Ferruh Yigit wrote: >>> There are two cases of disable: >>> 1- Disabling a "queue level offload" enabled queue_setup() previously >>> 2- Disabling a "queue level offload" enabled in configure() >>> >>> If second is not supported, to disable the offload, applications should >>>

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-25 Thread Thomas Monjalon
25/04/2018 15:32, Ferruh Yigit: > On 4/24/2018 11:00 PM, Thomas Monjalon wrote: > > Hi, > > > > First, this is my summary after the survey answers and comments: > > > > 1/ allow "forgetting" port offloads in queue offloads setup > > > > 2/ update documentation, applications and remove checks in

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-25 Thread Ferruh Yigit
On 4/24/2018 11:00 PM, Thomas Monjalon wrote: > Hi, > > First, this is my summary after the survey answers and comments: > > 1/ allow "forgetting" port offloads in queue offloads setup > > 2/ update documentation, applications and remove checks in PMDs for 18.05-rc2 > > 3/ an offload enabled at

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Thomas Monjalon
Hi, First, this is my summary after the survey answers and comments: 1/ allow "forgetting" port offloads in queue offloads setup 2/ update documentation, applications and remove checks in PMDs for 18.05-rc2 3/ an offload enabled at port level, cannot be disabled at queue level 4/ The queue cap

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Ferruh Yigit
szynski ; Jianbo Liu >> ; Alejandro Lucero >> ; Hemant Agrawal ; >> Shreyansh Jain ; Harish >> Patil ; Rasesh Mody ; >> Andrew Rybchenko ; >> Shrikrishna Khare ; Maxime Coquelin >> ; Legacy, Allain (Wind River) >> ; Richardson, Bruce >> ; Gaetan R

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Ananyev, Konstantin
Andrew > Rybchenko ; > Shrikrishna Khare ; Maxime Coquelin > ; Legacy, Allain (Wind River) > ; Richardson, Bruce > ; Gaetan Rivet ; Olivier > Matz > > Subject: Re: [dpdk-dev] Survey for final decision about per-port offload API > > On 4/24/2018 12:08 PM, Ananyev,

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Shahaf Shuler
Tuesday, April 24, 2018 1:39 PM, Ferruh Yigit: > Subject: Re: [dpdk-dev] Survey for final decision about per-port offload API > > On 3/30/2018 2:47 PM, Thomas Monjalon wrote: > > There are some discussions about a specific part of the offload API: > > "To enable per

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Ferruh Yigit
On 4/24/2018 12:08 PM, Ananyev, Konstantin wrote: > Hi Ferruh, > >> >> On 3/30/2018 2:47 PM, Thomas Monjalon wrote: >>> There are some discussions about a specific part of the offload API: >>> "To enable per-port offload, the offload should be set on both >>> device configuration and queue

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Ananyev, Konstantin
Hi Ferruh, > > On 3/30/2018 2:47 PM, Thomas Monjalon wrote: > > There are some discussions about a specific part of the offload API: > > "To enable per-port offload, the offload should be set on both > > device configuration and queue setup." > > > > It means the application must repeat t

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-24 Thread Ferruh Yigit
On 3/30/2018 2:47 PM, Thomas Monjalon wrote: > There are some discussions about a specific part of the offload API: > "To enable per-port offload, the offload should be set on both > device configuration and queue setup." > > It means the application must repeat the port offload flags

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-12 Thread Shreyansh Jain
On Friday 30 March 2018 07:17 PM, Thomas Monjalon wrote: There are some discussions about a specific part of the offload API: "To enable per-port offload, the offload should be set on both device configuration and queue setup." It means the application must repeat the port offloa

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-12 Thread Maxime Coquelin
Hi Thomas, On 03/30/2018 03:47 PM, Thomas Monjalon wrote: There are some discussions about a specific part of the offload API: "To enable per-port offload, the offload should be set on both device configuration and queue setup." It means the application must repeat the port offl

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-11 Thread Jerin Jacob
-Original Message- > Date: Fri, 30 Mar 2018 15:47:55 +0200 > From: Thomas Monjalon > To: dev@dpdk.org > Cc: Ajit Khaparde , Jerin Jacob > , Shijith Thotton > , Santosh Shukla > , Rahul Lakkireddy > , John Daley , Wenzhuo > Lu , Konstantin Ananyev > , Beilei Xing , Qi > Zhang , Jingj

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-11 Thread Alejandro Lucero
Hi On Fri, Mar 30, 2018 at 3:47 PM, Thomas Monjalon wrote: > There are some discussions about a specific part of the offload API: > "To enable per-port offload, the offload should be set on both > device configuration and queue setup." > > It means the application must repeat the

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-11 Thread Olivier Matz
On Fri, Mar 30, 2018 at 03:47:55PM +0200, Thomas Monjalon wrote: > There are some discussions about a specific part of the offload API: > "To enable per-port offload, the offload should be set on both > device configuration and queue setup." > > It means the application must repeat the

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-03 Thread Yongseok Koh
> On Mar 30, 2018, at 6:47 AM, Thomas Monjalon wrote: > > There are some discussions about a specific part of the offload API: > "To enable per-port offload, the offload should be set on both > device configuration and queue setup." > > It means the application must repeat the port

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-03 Thread John Daley (johndale)
Hi, Inline. Thanks, John > -Original Message- > From: Thomas Monjalon > Sent: Friday, March 30, 2018 6:48 AM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; Santosh Shukla > ; Rahul Lakkireddy > ; John Daley (johndale) ; > Wenzhuo Lu ; Konstantin Ananyev > ; B

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Shahaf Shuler
Monday, April 2, 2018 6:54 PM, Thomas Monjalon: > 01/04/2018 06:44, Shahaf Shuler: > > > There is the same kind of confusion in the offload capabilities: > > > rte_eth_dev_info.[rt]x_offload_capa > > > rte_eth_dev_info.[rt]x_queue_offload_capa > > > The queue capabilities must be a subset of po

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, March 30, 2018 9:48 PM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; Santosh Shukla > ; Rahul Lakkireddy > ; John Daley ; Lu, > Wenzhuo ; Ananyev, Konstantin > ; Xing,

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Patil, Harish
-Original Message- From: Thomas Monjalon Date: Monday, April 2, 2018 at 1:10 PM To: Harish Patil Cc: "dev@dpdk.org" , Ajit Khaparde , "Jacob, Jerin" , "Thotton, Shijith" , "Shukla, Santosh" , Rahul Lakkireddy , John Daley , Wenzhuo Lu , Konstantin Ananyev , Beilei Xing , Qi Zhang , Jin

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Thomas Monjalon
02/04/2018 19:39, Patil, Harish: > >It was also proposed to relax the API and allow "forgetting" port > >offloads in queue offloads: > > http://dpdk.org/ml/archives/dev/2018-March/092978.html > > > >It would mean the offloads applied to a queue result of OR operation: > > rte_eth_conf.[rt]x

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Patil, Harish
-Original Message- From: Thomas Monjalon Date: Friday, March 30, 2018 at 6:47 AM To: "dev@dpdk.org" Cc: Ajit Khaparde , "Jacob, Jerin" , "Thotton, Shijith" , "Shukla, Santosh" , Rahul Lakkireddy , John Daley , Wenzhuo Lu , Konstantin Ananyev , Beilei Xing , Qi Zhang , Jingjing Wu , Adri

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Wu, Jingjing
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, March 30, 2018 6:48 AM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; > Santosh Shukla ; Rahul Lakkireddy > ; John Daley ; Lu, Wenzhuo > ; Ananyev, Konstantin ; > Xing

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Thomas Monjalon
01/04/2018 06:44, Shahaf Shuler: > > There is the same kind of confusion in the offload capabilities: > > rte_eth_dev_info.[rt]x_offload_capa > > rte_eth_dev_info.[rt]x_queue_offload_capa > > The queue capabilities must be a subset of port capabilities, i.e. every > > queue > > capabilitie

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-02 Thread Thomas Monjalon
01/04/2018 03:51, Zhang, Qi Z: > > There are some discussions about a specific part of the offload API: > > "To enable per-port offload, the offload should be set on both > > device configuration and queue setup." > > > > It means the application must repeat the port offload flags in > > r

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-01 Thread Xing, Beilei
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, March 30, 2018 9:48 PM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; Santosh Shukla > ; Rahul Lakkireddy > ; John Daley ; Lu, > Wenzhuo ; Ananyev, Konstantin > ; Xing,

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-04-01 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, March 30, 2018 9:48 PM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; Santosh Shukla > ; Rahul Lakkireddy > ; John Daley ; Lu, > Wenzhuo ; Ananyev, Konstantin > ; Xin

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-03-31 Thread Shahaf Shuler
Friday, March 30, 2018 4:48 PM, Thomas Monjalon: > Subject: Survey for final decision about per-port offload API > > There are some discussions about a specific part of the offload API: > "To enable per-port offload, the offload should be set on both > device configuration and queue se

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-03-31 Thread Zhang, Qi Z
Hi Thomas: > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, March 30, 2018 9:48 PM > To: dev@dpdk.org > Cc: Ajit Khaparde ; Jerin Jacob > ; Shijith Thotton > ; Santosh Shukla > ; Rahul Lakkireddy > ; John Daley ; Lu, > Wenzhuo ; Ananyev, Konstantin >

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-03-30 Thread Thomas Monjalon
30/03/2018 17:13, Andrew Rybchenko: > On 03/30/2018 04:47 PM, Thomas Monjalon wrote: > > There is the same kind of confusion in the offload capabilities: > > rte_eth_dev_info.[rt]x_offload_capa > > rte_eth_dev_info.[rt]x_queue_offload_capa > > The queue capabilities must be a subset of port

Re: [dpdk-dev] Survey for final decision about per-port offload API

2018-03-30 Thread Andrew Rybchenko
On 03/30/2018 04:47 PM, Thomas Monjalon wrote: There are some discussions about a specific part of the offload API: "To enable per-port offload, the offload should be set on both device configuration and queue setup." It means the application must repeat the port offload flags in

[dpdk-dev] Survey for final decision about per-port offload API

2018-03-30 Thread Thomas Monjalon
There are some discussions about a specific part of the offload API: "To enable per-port offload, the offload should be set on both device configuration and queue setup." It means the application must repeat the port offload flags in rte_eth_conf.[rt]xmode.offloads and rte_eth_[rt]