Re: [PATCH v1 02/14] net/zxdh: support compatibility check

2025-02-10 Thread Stephen Hemminger
On Mon, 10 Feb 2025 09:46:45 +0800 Bingbin Chen wrote: > + > +static void > +zxdh_np_fw_version_data_read(uint64_t compatible_base_addr, > + ZXDH_VERSION_COMPATIBLE_REG_T *p_fw_version_data, > uint32_t module_id) > +{ > + void *fw_addr = NULL; > + uint64_t module_comp

[PATCH v1 02/14] net/zxdh: support compatibility check

2025-02-09 Thread Bingbin Chen
Add compatibility check between (np)network processor software and firmware. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 93 ++ drivers/net/zxdh/zxdh_np.h | 12 + 2 files changed, 105 insertions(+) diff --git a/drivers/net/zxdh/zxdh_np.c