Thread (17 messages) 17 messages, 3 authors, 2024-12-13

Re: [PATCH RESEND net 3/7] net: hns3: Resolved the issue that the debugfs query result is inconsistent.

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-12-09 21:13:16
Also in: lkml

On Mon, 9 Dec 2024 22:14:37 +0800 Jijie Shao wrote:
Another way is seq_file, which may be a solution,
as far as I know, each seq_file has a separate buffer and can be expanded automatically.
So it might be possible to solve the problem
But even if the solution is feasible, this will require a major refactoring of hns3 debugfs
seq_file is generally used for text output

can you not hook in the allocation and execution of the cmd into the
.open handler and freeing in to the .close handler? You already use
explicit file_ops for this file.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help