[PATCH] gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000]

2023-10-10 Thread Levend Sayar
PCI device ID is added for NVIDIA TU102GL [Quadro RTX 6000/8000] GPU card. Signed-off-by: Levend Sayar --- drivers/gpu/cuda/cuda.c| 4 drivers/gpu/cuda/devices.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index a552aabeb8

Re: [PATCH] gpu/cuda: fix getenv related build error

2023-10-06 Thread Levend Sayar
My pleasure. Thanks for ACKing Elena. Thanks for applying David. Best, Levend > On 6 Oct 2023, at 13:07, David Marchand wrote: > > On Thu, Aug 3, 2023 at 6:25 PM Levend Sayar wrote: >> >> If gdrapi.h is available, meson sets DRIVERS_GPU_CUDA_GDRCOPY_H as 1. >> Thi

[PATCH] gpu/cuda: fix getenv related build error

2023-08-03 Thread Levend Sayar
tions parameters") Signed-off-by: Levend Sayar --- drivers/gpu/cuda/gdrcopy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/cuda/gdrcopy.c b/drivers/gpu/cuda/gdrcopy.c index 322a5dbeb2..bd56b73ce4 100644 --- a/drivers/gpu/cuda/gdrcopy.c +++ b/drivers/gpu/cuda/gdrcopy.c @@

Re: [PATCH v5] net/gve: add Rx/Tx queue stats as extended stats

2023-02-23 Thread Levend Sayar
Thanks Ferruh for applying. > On 23 Feb 2023, at 14:09, Ferruh Yigit wrote: > > On 2/23/2023 2:49 AM, Guo, Junfeng wrote: > >>> -Original Message----- >>> From: Levend Sayar >>> Sent: Wednesday, February 22, 2023 00:44 >>> To: Ferruh Yigit

Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs stats counter update

2023-02-23 Thread Levend Sayar
Thanks Ferruh For applying. > On 23 Feb 2023, at 14:10, Ferruh Yigit wrote: > > On 2/23/2023 4:34 AM, Guo, Junfeng wrote: > >>>>> On 2/20/2023 9:11 PM, Levend Sayar wrote: >>>>>> rx no_mbufs stats counter update is added for another error case.

Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs stats counter update

2023-02-22 Thread Levend Sayar
Thanks Junfeng for acknowledging. > On 23 Feb 2023, at 07:34, Guo, Junfeng wrote: > > Acked-by: Junfeng Guo mailto:junfeng@intel.com>> > >> -Original Message- >> From: Ferruh Yigit mailto:ferruh.yi...@amd.com>> >> Sent: Tuesday, F

Re: [PATCH v5] net/gve: add Rx/Tx queue stats as extended stats

2023-02-22 Thread Levend Sayar
Thanks Junfeng for acknowledging. > On 23 Feb 2023, at 05:49, Guo, Junfeng wrote: > > Thanks! > >> -Original Message----- >> From: Levend Sayar >> Sent: Wednesday, February 22, 2023 00:44 >> To: Ferruh Yigit >> Cc: Guo, Junfeng ; dev@dpdk.org >

Re: [PATCH v5] net/gve: add Rx/Tx queue stats as extended stats

2023-02-21 Thread Levend Sayar
Thanks Ferruh for the review. > On 21 Feb 2023, at 18:58, Ferruh Yigit wrote: > > On 2/21/2023 2:18 PM, Levend Sayar wrote: >> Google Virtual NIC rx/tx queue stats are added as extended stats. >> >> Signed-off-by: Levend Sayar > > Reviewed-by: Ferruh Yigit

Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs stats counter update

2023-02-21 Thread Levend Sayar
ruh Yigit wrote: > > On 2/20/2023 9:11 PM, Levend Sayar wrote: >> rx no_mbufs stats counter update is added for another error case. >> >> Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") >> Cc: junfeng....@intel.com >> >> Sign

[PATCH v5] net/gve: add Rx/Tx queue stats as extended stats

2023-02-21 Thread Levend Sayar
Google Virtual NIC rx/tx queue stats are added as extended stats. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 137 +++ drivers/net/gve/gve_ethdev.h | 28 +-- drivers/net/gve/gve_rx.c | 12 +-- drivers/net/gve/gve_tx.c | 11 +-- 4

[PATCH v4] net/gve: add Rx/Tx queue stats as extended stats

2023-02-21 Thread Levend Sayar
Google Virtual NIC rx/tx queue stats are added as extended stats. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 137 +++ drivers/net/gve/gve_ethdev.h | 28 +-- drivers/net/gve/gve_rx.c | 12 +-- drivers/net/gve/gve_tx.c | 11 +-- 4

Re: [PATCH v3 2/2] net/gve: add Rx/Tx queue stats as extended stats

2023-02-21 Thread Levend Sayar
Thanks Ferruh for the review. My comments are inlined. > On 21 Feb 2023, at 01:57, Ferruh Yigit wrote: > > On 2/20/2023 9:11 PM, Levend Sayar wrote: >> Google Virtual NIC rx/tx queue stats are added as extended stats. >> >> Signed-off-by: Levend Sayar > >

Re: [PATCH v3 1/2] net/gve: fix Rx no mbufs stats counter update

2023-02-21 Thread Levend Sayar
023, at 01:57, Ferruh Yigit wrote: > > On 2/20/2023 9:11 PM, Levend Sayar wrote: >> rx no_mbufs stats counter update is added for another error case. >> >> Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") >> Cc: junfeng....@intel.com >> >

[PATCH v3 2/2] net/gve: add Rx/Tx queue stats as extended stats

2023-02-20 Thread Levend Sayar
Google Virtual NIC rx/tx queue stats are added as extended stats. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 143 +++ drivers/net/gve/gve_ethdev.h | 27 +-- drivers/net/gve/gve_rx.c | 10 +-- drivers/net/gve/gve_tx.c | 11 +-- 4

[PATCH v3 1/2] net/gve: fix Rx no mbufs stats counter update

2023-02-20 Thread Levend Sayar
rx no_mbufs stats counter update is added for another error case. Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") Cc: junfeng@intel.com Signed-off-by: Levend Sayar --- drivers/net/gve/gve_rx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH] net/gve: add Rx/Tx queue stats as extended stats

2023-02-20 Thread Levend Sayar
Google Virtual NIC rx/tx queue stats are added as extended stats. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 143 +++ drivers/net/gve/gve_ethdev.h | 27 +-- drivers/net/gve/gve_rx.c | 10 +-- drivers/net/gve/gve_tx.c | 11 +-- 4

[PATCH v2] net/gve: fix Rx no mbufs stats counter update

2023-02-20 Thread Levend Sayar
rx no_mbufs stats counter update is added for another error case. Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") Cc: junfeng@intel.com Signed-off-by: Levend Sayar --- drivers/net/gve/gve_rx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drive

Re: [PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-19 Thread Levend Sayar
> On 19 Feb 2023, at 20:35, Stephen Hemminger > wrote: > > On Sun, 19 Feb 2023 03:30:59 +0300 > Levend Sayar mailto:levendsa...@gmail.com>> wrote: > >> rx no_mbufs stats counter update is added for another error case. >> >> Fixes: 4f6b1dd8240c (

Re: [PATCH 2/2] net/gve: add extended statistics

2023-02-19 Thread Levend Sayar
Hi Ferruh, Opps, I was not aware of that rejection. Thanks for notification. Let me supersede this patch. And create a new one. Best, Levend > On 19 Feb 2023, at 23:09, Ferruh Yigit wrote: > > On 2/19/2023 12:26 AM, Levend Sayar wrote: >> Ferruh, >> >> Than

[PATCH] net/gve: add Rx/Tx queue statistics

2023-02-18 Thread Levend Sayar
Google Virtual NIC PMD is enriched with rx/tx queue statistics info. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index fef2458a16..2a6cb11da3 100644 --- a

[PATCH] net/gve: fix Rx no mbufs stats counter update

2023-02-18 Thread Levend Sayar
rx no_mbufs stats counter update is added for another error case. Fixes: 4f6b1dd8240c ("net/gve: support basic statistics") Cc: junfeng@intel.com Signed-off-by: Levend Sayar --- drivers/net/gve/gve_rx.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/d

Re: [PATCH 2/2] net/gve: add extended statistics

2023-02-18 Thread Levend Sayar
> Renaming eth_dev_ops is not related to xstats, and I am not sure if the > change is necessary, can you please drop it from this patch? > >> Signed-off-by: Levend Sayar >> --- >> drivers/net/gve/gve_ethdev.c | 152 ++- >> drivers/net/gv

Re: [PATCH v2 1/4] net/gve: change offloading capability

2023-02-17 Thread Levend Sayar
. Best, Levend > On 17 Feb 2023, at 15:43, Ferruh Yigit wrote: > > On 2/16/2023 6:10 PM, Levend Sayar wrote: >> Google Virtual NIC is not doing IPv4 checksummimg. >> Removed that capability from PMD. >> >> Signed-off-by: Levend Sayar >> --- >> drivers/ne

Re: [PATCH 1/2] net/gve: change offloading capability

2023-02-17 Thread Levend Sayar
Thanks Junfeng for acknowledging. Best, Levend > On 17 Feb 2023, at 12:11, Guo, Junfeng wrote: > > > >> -Original Message----- >> From: Levend Sayar >> Sent: Friday, February 17, 2023 02:58 >> To: Guo, Junfeng >> Cc: dev@dpdk.org; Levend Saya

Re: [PATCH 1/2] net/gve: change offloading capability

2023-02-17 Thread Levend Sayar
Thanks Rushil for acknowledging. Best, Levend > On 16 Feb 2023, at 23:14, Rushil Gupta wrote: > > Makes sense. The virtual device only does L4 checksum. > > Acked-by: Rushil Gupta mailto:rush...@google.com>> > > On Thu, Feb 16, 2023 at 10:58 AM Levend Sayar &l

[PATCH 2/2] net/gve: add extended statistics

2023-02-16 Thread Levend Sayar
Google Virtual NIC PMD is enriched with extended statistics info. eth_dev_ops callback names are also synched with eth_dev_ops field names Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 152 ++- drivers/net/gve/gve_rx.c | 8 +- 2 files

[PATCH 1/2] net/gve: change offloading capability

2023-02-16 Thread Levend Sayar
Google Virtual NIC is not doing IPv4 checksummimg. Removed that capability from PMD. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index 06d1b796c8..fef2458a16 100644

[PATCH v2 4/4] net/gve: add standard and extended statistics

2023-02-16 Thread Levend Sayar
NIC statistics are enhanced with rx/tx queue errors. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 49 +++- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index

[PATCH v2 2/4] net/gve: add standard and extended statistics

2023-02-16 Thread Levend Sayar
Google Virtual NIC PMD is enriched with statistics info. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 147 ++- drivers/net/gve/gve_ethdev.h | 11 +++ drivers/net/gve/gve_rx.c | 18 - drivers/net/gve/gve_tx.c | 6 ++ 4 files

[PATCH v2 3/4] net/gve: add standard and extended statistics

2023-02-16 Thread Levend Sayar
TX side statistics is updated. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_tx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/gve/gve_tx.c b/drivers/net/gve/gve_tx.c index d4e52e3ea5..5c8a3b4379 100644 --- a/drivers/net/gve/gve_tx.c +++ b

[PATCH v2 1/4] net/gve: change offloading capability

2023-02-16 Thread Levend Sayar
Google Virtual NIC is not doing IPv4 checksummimg. Removed that capability from PMD. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index 97781f0ed3..e357f16e16 100644

[PATCH 3/3] net/gve: add standard and extended statistics

2023-02-15 Thread Levend Sayar
TX side statistics is updated Signed-off-by: Levend Sayar --- drivers/net/gve/gve_tx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/gve/gve_tx.c b/drivers/net/gve/gve_tx.c index d4e52e3ea5..5c8a3b4379 100644 --- a/drivers/net/gve/gve_tx.c +++ b/drivers

Re: [PATCH 2/2] net/gve: add standard and extended statistics

2023-02-10 Thread Levend Sayar
Accessing a stack variable is faster. So copying to given stats pointer will be done at once. But of course, given stats pointer can also be used. > On 10 Feb 2023, at 19:34, Stephen Hemminger > wrote: > > On Fri, 10 Feb 2023 16:06:06 +0300 > Levend Sayar wrote: > >&g

[PATCH 2/2] net/gve: add standard and extended statistics

2023-02-10 Thread Levend Sayar
Google Virtual NIC PMD is enriched with statistics info. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 147 ++- drivers/net/gve/gve_ethdev.h | 11 +++ drivers/net/gve/gve_rx.c | 18 - drivers/net/gve/gve_tx.c | 6 ++ 4 files

[PATCH 1/2] net/gve: change offloading capability

2023-02-10 Thread Levend Sayar
Google Virtual NIC is not doing IPv4 checksummimg. Removed that capability from PMD. Signed-off-by: Levend Sayar --- drivers/net/gve/gve_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index 97781f0ed3..e357f16e16 100644

Re: Google Virtual NIC (GVE) PMD

2023-01-31 Thread Levend Sayar
f you offload. Normally I am not using a checksum at UDP and use zero as the checksum. Best, Levend Telefonumdan gönderildi > Guo, Junfeng şunları yazdı (31 Oca 2023 09:52): > >  > >> -Original Message- >> From: Ferruh Yigit >> Sent: Wednesday, Ja

Google Virtual NIC (GVE) PMD

2023-01-18 Thread Levend Sayar
Hi all. PMD for Google Virtual NIC says it is capable of IPV4 TX checksum offloading. https://github.com/DPDK/dpdk/blob/main/drivers/net/gve/gve_ethdev.c#L285 But according to my tests on Google Cloud, it is not doing that ipv4 checksum tx offload. I only managed to send a packet via DPDK if I c

[dpdk-dev] IPv6 header misleading comment

2021-02-25 Thread Levend Sayar
Hi, all. Comment for payload_len is misleading. It says "includes header size". In fact, payload_len does not include IPv6 header size. As the name implies, only payload size + plus extensions size if any. struct rte_ipv6_hdr { rte_be32_t vtc_flow;/**< IP version, traffic class & flow

[dpdk-dev] ACL crash with one packet

2021-01-20 Thread Levend Sayar
Hi all. For packet classification using ACL, there are multiple functions for this classification. When packet count is under 4, it uses scalar function. And that scalar function looks like making a classification for 2 packets. I am having a crash when used with only one packet. İs there such a

Re: [dpdk-dev] mbuf->packet_type

2020-11-02 Thread Levend Sayar
Hi all. Nobody cared about my mail. Am I in the wrong place? If so, can you forward me to the right place please? Best, Levend On Mon, Nov 2, 2020 at 1:45 PM Levend Sayar wrote: > Hi all. > > Recently I encountered a dont-know-why issue about mbuf->packet_type. > > Two diffe

[dpdk-dev] mbuf->packet_type

2020-11-02 Thread Levend Sayar
Hi all. Recently I encountered a dont-know-why issue about mbuf->packet_type. Two different setups behave differently. One is a bare metal server, one KVM based OpenStack VM (virtio). Both use the uio driver. Namely only hardware is different. Software stack is the same. But this macro does not

Re: [dpdk-dev] [PATCH v3] service: support C++ linkage

2020-07-09 Thread Levend Sayar
Sure I agree Thomas. Thanks in advance. Best, Levend On Thu, Jul 9, 2020 at 4:21 PM Thomas Monjalon wrote: > 09/07/2020 14:32, levendsa...@gmail.com: > > From: Levend Sayar > > > > "extern C" define is added to rte_service_component.h file > > to be able

Re: [dpdk-dev] [PATCH] acl: Fix RTE_ACL_RULE_SZ macro definition

2020-07-08 Thread Levend Sayar
konstantin.anan...@intel.com> wrote: > > > From: Levend Sayar > > Could you provide some explanation: > What do you think is wrong with current version and why, > and what your fix does. > > > > > Signed-off-by: Levend Sayar > > --- > > lib/librte_a

Re: [dpdk-dev] [PATCH] acl: Fix RTE_ACL_RULE_SZ macro definition

2020-07-08 Thread Levend Sayar
, Konstantin < konstantin.anan...@intel.com> wrote: > > > > > *From:* Levend Sayar > *Sent:* Tuesday, July 7, 2020 4:25 PM > *To:* Ananyev, Konstantin > *Cc:* dev@dpdk.org > *Subject:* Re: [PATCH] acl: Fix RTE_ACL_RULE_SZ macro definition > > > > Sure

Re: [dpdk-dev] [PATCH] build: C++ linkage support is added to rte_service_component.h file

2020-07-08 Thread Levend Sayar
> > > > 07/07/2020 14:25, levendsa...@gmail.com: > > > From: Levend Sayar > > > > Would be good to have a short explanation, even if obvious. > > +1 > > > > Signed-off-by: Levend Sayar > > With a short description in the commit message, you can include ack in v2 > Acked-by: Harry van Haaren > > >