Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-17 Thread Ajit Khaparde
On Fri, Apr 16, 2021 at 11:10 PM Bing Zhao wrote: > > Hi Ajit, > > > -Original Message- > > From: Ajit Khaparde > > Sent: Saturday, April 17, 2021 5:47 AM > > To: Bing Zhao > > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon > > ; ferruh.yi...@intel.com; > > andrew.rybche...@oktetlabs.ru; dev@

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Bing Zhao
Hi Ajit, > -Original Message- > From: Ajit Khaparde > Sent: Saturday, April 17, 2021 5:47 AM > To: Bing Zhao > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon > ; ferruh.yi...@intel.com; > andrew.rybche...@oktetlabs.ru; dev@dpdk.org > Subject: Re: [PATCH v2 1/2] ethdev: introduce conntrack flo

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Ajit Khaparde
> > > + > > > +/** > > > + * @warning > > > + * @b EXPERIMENTAL: this structure may change without prior > > notice > > > + * > > > + * Configuration parameters for each direction of a TCP > > connection. > > > + */ > > > +struct rte_flow_tcp_dir_param { > > > + uint32_t scale:4; /**< TCP window

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Bing Zhao
.org; > ajit.khapa...@broadcom.com; jer...@marvell.com; humi...@huawei.com; > rosen...@intel.com; hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack > flow action and item > > External email: Use caution opening links or attachments > >

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Bing Zhao
Hi Ori, My comments are inline, PSB. > -Original Message- > From: Ori Kam > Sent: Friday, April 16, 2021 8:42 PM > To: Bing Zhao ; NBU-Contact-Thomas Monjalon > ; ferruh.yi...@intel.com; > andrew.rybche...@oktetlabs.ru > Cc: dev@dpdk.org; ajit.khapa...@broadcom.com > Subject: RE: [PATCH v

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Ori Kam
Hi Bing, One more thought, PSB Best, Ori > -Original Message- > From: Bing Zhao > Sent: Thursday, April 15, 2021 7:41 PM > To: Ori Kam ; NBU-Contact-Thomas Monjalon > ; ferruh.yi...@intel.com; > andrew.rybche...@oktetlabs.ru > Cc: dev@dpdk.org; ajit.khapa...@broadcom.com > Subject: [PATC

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-16 Thread Thomas Monjalon
15/04/2021 18:41, Bing Zhao: > This commit introduced the conntrack action and item. > > Usually the HW offloading is stateless. For some stateful offloading > like a TCP connection, HW module will help provide the ability of a > full offloading w/o SW participation after the connection was > esta

[dpdk-dev] [PATCH v2 1/2] ethdev: introduce conntrack flow action and item

2021-04-15 Thread Bing Zhao
This commit introduced the conntrack action and item. Usually the HW offloading is stateless. For some stateful offloading like a TCP connection, HW module will help provide the ability of a full offloading w/o SW participation after the connection was established. The basic usage is that in the