[PATCH v2 03/15] net/zxdh: port tables init implementations
Stephen Hemminger
stephen at networkplumber.org
Fri Dec 13 20:42:53 CET 2024
On Tue, 10 Dec 2024 13:53:21 +0800
Junlong Wang <wang.junlong1 at zte.com.cn> wrote:
> insert port tables in host.
>
> Signed-off-by: Junlong Wang <wang.junlong1 at zte.com.cn>
> ---
> drivers/net/zxdh/meson.build | 1 +
> drivers/net/zxdh/zxdh_ethdev.c | 23 ++
> drivers/net/zxdh/zxdh_msg.c | 63 ++++
> drivers/net/zxdh/zxdh_msg.h | 72 ++++
> drivers/net/zxdh/zxdh_np.c | 662 +++++++++++++++++++++++++++++++++
> drivers/net/zxdh/zxdh_np.h | 210 +++++++++++
> drivers/net/zxdh/zxdh_pci.h | 2 +
> drivers/net/zxdh/zxdh_tables.c | 104 ++++++
> drivers/net/zxdh/zxdh_tables.h | 148 ++++++++
> 9 files changed, 1285 insertions(+)
> create mode 100644 drivers/net/zxdh/zxdh_tables.c
> create mode 100644 drivers/net/zxdh/zxdh_tables.h
Is this a problem?
### [PATCH] net/zxdh: port tables init implementations
WARNING:MACRO_ARG_UNUSED: Argument 'INDEX' is not used in function-like macro
#329: FILE: drivers/net/zxdh/zxdh_np.c:124:
+#define ZXDH_DTB_TAB_DOWN_PHY_ADDR_GET(DEV_ID, QUEUE_ID, INDEX) \
+ (p_dpp_dtb_mgr[(DEV_ID)]->queue_info[(QUEUE_ID)].tab_down.start_phy_addr)
total: 0 errors, 1 warnings, 0 checks, 1396 lines checked
More information about the dev
mailing list