Thread (36 messages) 36 messages, 4 authors, 2021-04-08

Re: [dpdk-dev] [PATCH v3 2/4] regex/mlx5: add data path scattered mbuf process

From: Suanming Mou <hidden>
Date: 2021-03-30 09:01:01

Hi Slava,
-----Original Message-----
From: Slava Ovsiienko <redacted>
Sent: Tuesday, March 30, 2021 4:05 PM
To: Suanming Mou <redacted>; Ori Kam <redacted>
Cc: dev@dpdk.org; Matan Azrad <redacted>; Raslan Darawsheh
[off-list ref]
Subject: RE: [PATCH v3 2/4] regex/mlx5: add data path scattered mbuf process
quoted
-----Original Message-----
From: Suanming Mou <redacted>
Sent: Tuesday, March 30, 2021 4:39
To: Ori Kam <redacted>
Cc: dev@dpdk.org; Slava Ovsiienko <redacted>; Matan
Azrad [off-list ref]; Raslan Darawsheh [off-list ref]
Subject: [PATCH v3 2/4] regex/mlx5: add data path scattered mbuf
process
Nice feature, but I would fix the typos and reword a bit:
quoted
UMR WQE can convert multiple mkey's memory sapce to contiguous space.
Typo: "sapce?"

And rather not "convert mkey" but "present data buffers scattered within
multiple mbufs with single indirect mkey".

quoted
Take advantage of the UMR WQE, scattered mbuf in one operation can be
converted to an indirect mkey. The RegEx which only accepts one mkey
can now process the whole scattered mbuf.
I would add "in one operation."
quoted
The maximum scattered mbuf can be supported in one UMR WQE is now
defined as 64. Multiple operations scattered mbufs can be add to one
UMR
Typos: "THE multiple", "added"

I would reword - "The mbufs from multiple operations can be combined into one
UMR. Also, I would add few words what UMR is.
quoted
WQE if there is enough space in the KLM array, since the operations
can address their own mbuf's content by the mkey's address and length.
However, one operation's scattered mbuf's can't be placed in two
different UMR WQE's KLM array, if the UMR WQE's KLM does not has
enough free space for one operation, a new UMR WQE will be required.
I would say "the extra UMR WQE will be engaged"
quoted
In case the UMR WQE's indirect mkey will be over wrapped by the SQ's
WQE move, the meky's index used by the UMR WQE should be the index of
last
typo: "meky"
quoted
the RegEX WQE in the operations. As one operation consumes one WQE
set, build the RegEx WQE by reverse helps address the mkey more efficiently.
typo: TO address

With best regards,
Slava
Thanks very much for helping with the log improvement, I will wait for one or two days to see if there are other new comments and update it with the new version.

BR,
Suanming
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help