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 <junfeng....@intel.com>

Add debug for all parser sections.

Reviewed-by: Marcin Szycik <marcin.szy...@linux.intel.com>
Signed-off-by: Qi Zhang <qi.z.zh...@intel.com>
Signed-off-by: Junfeng Guo <junfeng....@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.z...@intel.com>

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.

Reply via email to