On 2024-07-22 8:53 a.m., Simon Horman wrote:
On Wed, Jul 10, 2024 at 02:40:05PM -0600, Ahmed Zaki wrote:
From: Junfeng Guo <[email protected]>
Add debug for all parser sections.
Reviewed-by: Marcin Szycik <[email protected]>
Signed-off-by: Qi Zhang <[email protected]>
Signed-off-by: Junfeng Guo <[email protected]>
Signed-off-by: Ahmed Zaki <[email protected]>
Hi Jungfeng, Ahmed, all.
I am wondering if a mechanism other than writing to the system log
was considered for this debugging information, e.g. debugfs.
I am not aware of any other mechanisms that were considered.
The series loads the parser registers on demand from other parts of the
driver, then destroys all these states and values once the packet/hdr
parsing is done, so I am not sure if debugfs (or any other fs-based
method) would be useful here.