Hi,
> -Original Message-
> From: dev On Behalf Of Mohsin Shaikh
> Sent: Thursday, April 9, 2020 11:37 PM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Alexander Kozyrev ;
> Mohsin Shaikh
> Subject: [dpdk-dev] [PATCH] net/mlx5: use open/read/close for reading ib
> st
> -Original Message-
> From: dev On Behalf Of Alexander Kozyrev
> Sent: Friday, April 10, 2020 1:21
> To: Mohsin Shaikh ; dev@dpdk.org
> Cc: sta...@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: use open/read/close for reading ib
> stat
>
> > -
> -Original Message-
> From: Mohsin Shaikh
> Sent: Thursday, April 9, 2020 16:37
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Alexander Kozyrev ; Mohsin
> Shaikh
> Subject: [PATCH] net/mlx5: use open/read/close for reading ib stat
>
> fgets(3)/fread(3)/fscanf(3) etc. use mmap(2)/munmap(2) w
fgets(3)/fread(3)/fscanf(3) etc. use mmap(2)/munmap(2) which leads
to TLB shootdown interrupts to all dpdk app cores including RX cores.
This can cause packet drops. Use read(2)/write(2) instead.
Bugzilla ID: 440
Cc: sta...@dpdk.org
Signed-off-by: Mohsin Shaikh
---
drivers/net/mlx5/mlx5_stats.c
4 matches
Mail list logo