RE: [RFC] lib/ethdev: introduce table driven APIs

2023-08-02 Thread Dumitrescu, Cristian
i...@amd.com; > Mcnamara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: RE: [RFC] lib/ethdev: introduce table driven APIs > > Hi folks, > > > -Original Message- > > From: Ori Kam > > Sent: Tuesday, June

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-07-19 Thread Dumitrescu, Cristian
l.com; ferruh.yi...@amd.com; > Mcnamara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: RE: [RFC] lib/ethdev: introduce table driven APIs > > > > > Yes. We need to change the backend compiler to understand the rte_flow > > map

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-20 Thread Ori Kam
> > > > > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon > > > > > (EXTERNAL) ; david.march...@redhat.com; > > > > > Richardson, Bruce ; jer...@marvell.com; > > > > > ferruh.yi...@amd.com; Mcnamara, John ; > > > > > Zhang, Helin ; tec

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-19 Thread Jerin Jacob
on (EXTERNAL) > > ; david.march...@redhat.com; Richardson, Bruce > > ; jer...@marvell.com; ferruh.yi...@amd.com; > > Mcnamara, John ; Zhang, Helin > > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > > > Subject: Re: [RFC] lib/ethdev: intro

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-19 Thread Zhang, Qi Z
i...@amd.com; > Mcnamara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > On Mon, Jun 19, 2023 at 5:53 AM Zhang, Qi Z wrote: > > > > > > > > > -Original Message---

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-19 Thread Jerin Jacob
on (EXTERNAL) > > ; david.march...@redhat.com; Richardson, Bruce > > ; jer...@marvell.com; ferruh.yi...@amd.com; > > Mcnamara, John ; Zhang, Helin > > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs >

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-18 Thread Zhang, Qi Z
i...@amd.com; > Mcnamara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > On Thu, Jun 15, 2023 at 7:36 PM Zhang, Qi Z wrote: > > > > > > > If we assume that th

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 7:36 PM Zhang, Qi Z wrote: > > > > If we assume that the application is not P4-aware, it will consume > > > existing > > rte_flow API for flow offloading. In this case, all we need to do is > > implement > > it in the PMD, which will be a highly hardware-specific task. D

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Zhang, Qi Z
ara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > On Thu, Jun 15, 2023 at 1:12 PM Zhang, Qi Z wrote: > > > > > > > > > -Original Message- > > > From: Jer

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Jerin Jacob
ch...@redhat.com; Richardson, Bruce > > ; jer...@marvell.com; ferruh.yi...@amd.com; > > Mcnamara, John ; Zhang, Helin > > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > > > O

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Zhang, Qi Z
ara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > On Thu, Jun 15, 2023 at 11:33 AM Zhang, Qi Z wrote: > > > > Hi Jerin: > > Hi Qi > > > > > > -Original M

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-14 Thread Jerin Jacob
> ; david.march...@redhat.com; Richardson, Bruce > > ; jer...@marvell.com; ferruh.yi...@amd.com; > > Mcnamara, John ; Zhang, Helin > > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs >

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-14 Thread Zhang, Qi Z
; Mcnamara, John ; Zhang, Helin > ; techbo...@dpdk.org; dev@dpdk.org; Ivan Malov > > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > On Thu, Jun 15, 2023 at 7:55 AM Zhang, Qi Z wrote: > > > > Hi Ori: > > > > Thank you for your review

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-14 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 7:55 AM Zhang, Qi Z wrote: > > Hi Ori: > > Thank you for your review! > Comment inline. > Please let me know if anything I missed. > > Thanks > Qi > > > -Original Message- > > From: Ori Kam > > Sent: Thursday, June 15, 2023 2:31 AM > > To: Z

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-14 Thread Ori Kam
Hi Qi, 1. it may be useful to get some general calling flow what comes from the application, what comes from the compiler. Simple example will be good. 2. I gave some comments about names but those are in low priority, first, we need to understand what is the basic flow. 3. in your suggested A

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-13 Thread Zhang, Qi Z
t; Zhang, Helin ; techbo...@dpdk.org; dev@dpdk.org > Subject: RE: [RFC] lib/ethdev: introduce table driven APIs > > Hi, > > Thanks for responding. Yes, perhaps my thought about being > vendor-neutral was a bit ridiculous, taking the P4 part of > the problem into account, and yet, thi

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-12 Thread Ivan Malov
hbo...@dpdk.org; dev@dpdk.org Subject: Re: [RFC] lib/ethdev: introduce table driven APIs Hi, Thanks for sending the RFC. Sounds interesting. My impression is that this API is rather low-level, so the question is how does the application find a vendor-neutral approach to discover and use specific t

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-12 Thread Zhang, Qi Z
t; Zhang, Helin ; techbo...@dpdk.org; dev@dpdk.org > Subject: Re: [RFC] lib/ethdev: introduce table driven APIs > > Hi, > > Thanks for sending the RFC. Sounds interesting. > > My impression is that this API is rather low-level, so the question is how > does the application fi

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-12 Thread Ivan Malov
Hi, Thanks for sending the RFC. Sounds interesting. My impression is that this API is rather low-level, so the question is how does the application find a vendor-neutral approach to discover and use specific table to do some job? For example, the application needs to do some tunnel match and de