Re: [dpdk-dev] [PATCH] net/mlx5: introduce dev parameter for hairpin

2020-03-31 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Tuesday, March 24, 2020 2:59 PM > To: Ori Kam ; Matan Azrad > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; dev@dpdk.org > Subject: [PATCH] net/mlx5: introduce dev parameter for hairpin > > When creating a hairpin queue, the total data siz

Re: [dpdk-dev] [PATCH] net/mlx5: introduce dev parameter for hairpin

2020-03-31 Thread Slava Ovsiienko
> -Original Message- > From: Bing Zhao > Sent: Tuesday, March 24, 2020 14:59 > To: Ori Kam ; Matan Azrad > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; dev@dpdk.org > Subject: [PATCH] net/mlx5: introduce dev parameter for hairpin > > When creating a hairpin queue, the total data size and t

[dpdk-dev] [PATCH] net/mlx5: introduce dev parameter for hairpin

2020-03-24 Thread Bing Zhao
When creating a hairpin queue, the total data size and the maximal number of packets are interrelated. The differ is the stride size. Larger buffer size means big packet like jumbo could be supported, but in the meanwhile, it will introduce more cache misses and have a side effect on the performanc