From: Junlong Wang <wang.junlong1@zte.com.cn>
To: stephen@networkplumber.org
Cc: dev@dpdk.org, Junlong Wang <wang.junlong1@zte.com.cn>
Subject: [PATCH v6 02/15] net/zxdh: zxdh np uninit implementation
Date: Thu, 26 Dec 2024 11:37:06 +0800 [thread overview]
Message-ID: <20241226033719.1629989-3-wang.junlong1@zte.com.cn> (raw)
In-Reply-To: <20241226033719.1629989-1-wang.junlong1@zte.com.cn>
[-- Attachment #1.1.1: Type: text/plain, Size: 19520 bytes --]
(np)network processor release resources in host.
Signed-off-by: Junlong Wang <wang.junlong1@zte.com.cn>
---
drivers/net/zxdh/zxdh_ethdev.c | 48 ++++
drivers/net/zxdh/zxdh_np.c | 470 +++++++++++++++++++++++++++++++++
drivers/net/zxdh/zxdh_np.h | 107 ++++++++
3 files changed, 625 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c
index b8f4415e00..4e114d95da 100644
--- a/drivers/net/zxdh/zxdh_ethdev.c
+++ b/drivers/net/zxdh/zxdh_ethdev.c
@@ -841,6 +841,51 @@ zxdh_dev_configure(struct rte_eth_dev *dev)
return ret;
}
+static void
+zxdh_np_dtb_data_res_free(struct zxdh_hw *hw)
+{
+ struct rte_eth_dev *dev = hw->eth_dev;
+ int ret;
+ int i;
+
+ if (g_dtb_data.init_done && g_dtb_data.bind_device == dev) {
+ ret = zxdh_np_online_uninit(0, dev->data->name, g_dtb_data.queueid);
+ if (ret)
+ PMD_DRV_LOG(ERR, "%s dpp_np_online_uninstall failed", dev->data->name);
+
+ if (g_dtb_data.dtb_table_conf_mz)
+ rte_memzone_free(g_dtb_data.dtb_table_conf_mz);
+
+ if (g_dtb_data.dtb_table_dump_mz) {
+ rte_memzone_free(g_dtb_data.dtb_table_dump_mz);
+ g_dtb_data.dtb_table_dump_mz = NULL;
+ }
+
+ for (i = 0; i < ZXDH_MAX_BASE_DTB_TABLE_COUNT; i++) {
+ if (g_dtb_data.dtb_table_bulk_dump_mz[i]) {
+ rte_memzone_free(g_dtb_data.dtb_table_bulk_dump_mz[i]);
+ g_dtb_data.dtb_table_bulk_dump_mz[i] = NULL;
+ }
+ }
+ g_dtb_data.init_done = 0;
+ g_dtb_data.bind_device = NULL;
+ }
+ if (zxdh_shared_data != NULL)
+ zxdh_shared_data->np_init_done = 0;
+}
+
+static void
+zxdh_np_uninit(struct rte_eth_dev *dev)
+{
+ struct zxdh_hw *hw = dev->data->dev_private;
+
+ if (!g_dtb_data.init_done && !g_dtb_data.dev_refcnt)
+ return;
+
+ if (--g_dtb_data.dev_refcnt == 0)
+ zxdh_np_dtb_data_res_free(hw);
+}
+
static int
zxdh_dev_close(struct rte_eth_dev *dev)
{
@@ -848,6 +893,7 @@ zxdh_dev_close(struct rte_eth_dev *dev)
int ret = 0;
zxdh_intr_release(dev);
+ zxdh_np_uninit(dev);
zxdh_pci_reset(hw);
zxdh_dev_free_mbufs(dev);
@@ -1010,6 +1056,7 @@ zxdh_np_dtb_res_init(struct rte_eth_dev *dev)
return 0;
free_res:
+ zxdh_np_dtb_data_res_free(hw);
rte_free(dpp_ctrl);
return ret;
}
@@ -1177,6 +1224,7 @@ zxdh_eth_dev_init(struct rte_eth_dev *eth_dev)
err_zxdh_init:
zxdh_intr_release(eth_dev);
+ zxdh_np_uninit(eth_dev);
zxdh_bar_msg_chan_exit();
rte_free(eth_dev->data->mac_addrs);
eth_dev->data->mac_addrs = NULL;
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh/zxdh_np.c
index e44d7ff501..28728b0c68 100644
--- a/drivers/net/zxdh/zxdh_np.c
+++ b/drivers/net/zxdh/zxdh_np.c
@@ -18,10 +18,21 @@ static ZXDH_DEV_MGR_T g_dev_mgr;
static ZXDH_SDT_MGR_T g_sdt_mgr;
ZXDH_PPU_CLS_BITMAP_T g_ppu_cls_bit_map[ZXDH_DEV_CHANNEL_MAX];
ZXDH_DTB_MGR_T *p_dpp_dtb_mgr[ZXDH_DEV_CHANNEL_MAX];
+ZXDH_RISCV_DTB_MGR *p_riscv_dtb_queue_mgr[ZXDH_DEV_CHANNEL_MAX];
+ZXDH_TLB_MGR_T *g_p_dpp_tlb_mgr[ZXDH_DEV_CHANNEL_MAX];
+ZXDH_REG_T g_dpp_reg_info[4];
#define ZXDH_SDT_MGR_PTR_GET() (&g_sdt_mgr)
#define ZXDH_SDT_SOFT_TBL_GET(id) (g_sdt_mgr.sdt_tbl_array[id])
+#define ZXDH_COMM_MASK_BIT(_bitnum_)\
+ (0x1U << (_bitnum_))
+
+#define ZXDH_COMM_GET_BIT_MASK(_inttype_, _bitqnt_)\
+ ((_inttype_)(((_bitqnt_) < 32)))
+
+#define ZXDH_REG_DATA_MAX (128)
+
#define ZXDH_COMM_CHECK_DEV_POINT(dev_id, point)\
do {\
if (NULL == (point)) {\
@@ -338,3 +349,462 @@ zxdh_np_host_init(uint32_t dev_id,
return 0;
}
+
+static ZXDH_RISCV_DTB_MGR *
+zxdh_np_riscv_dtb_queue_mgr_get(uint32_t dev_id)
+{
+ if (dev_id >= ZXDH_DEV_CHANNEL_MAX)
+ return NULL;
+ else
+ return p_riscv_dtb_queue_mgr[dev_id];
+}
+
+static uint32_t
+zxdh_np_riscv_dtb_mgr_queue_info_delete(uint32_t dev_id, uint32_t queue_id)
+{
+ ZXDH_RISCV_DTB_MGR *p_riscv_dtb_mgr = NULL;
+
+ p_riscv_dtb_mgr = zxdh_np_riscv_dtb_queue_mgr_get(dev_id);
+ if (p_riscv_dtb_mgr == NULL)
+ return 1;
+
+ p_riscv_dtb_mgr->queue_alloc_count--;
+ p_riscv_dtb_mgr->queue_user_info[queue_id].alloc_flag = 0;
+ p_riscv_dtb_mgr->queue_user_info[queue_id].queue_id = 0xFF;
+ p_riscv_dtb_mgr->queue_user_info[queue_id].vport = 0;
+ memset(p_riscv_dtb_mgr->queue_user_info[queue_id].user_name, 0, ZXDH_PORT_NAME_MAX);
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_dev_get_dev_type(uint32_t dev_id)
+{
+ ZXDH_DEV_MGR_T *p_dev_mgr = NULL;
+ ZXDH_DEV_CFG_T *p_dev_info = NULL;
+
+ p_dev_mgr = &g_dev_mgr;
+ p_dev_info = p_dev_mgr->p_dev_array[dev_id];
+
+ if (p_dev_info == NULL)
+ return 0xffff;
+
+ return p_dev_info->dev_type;
+}
+
+static uint32_t
+zxdh_np_comm_read_bits(uint8_t *p_base, uint32_t base_size_bit,
+ uint32_t *p_data, uint32_t start_bit, uint32_t end_bit)
+{
+ uint32_t start_byte_index;
+ uint32_t end_byte_index;
+ uint32_t byte_num;
+ uint32_t buffer_size;
+ uint32_t len;
+
+ if (0 != (base_size_bit % 8))
+ return 1;
+
+ if (start_bit > end_bit)
+ return 1;
+
+ if (base_size_bit < end_bit)
+ return 1;
+
+ len = end_bit - start_bit + 1;
+ buffer_size = base_size_bit / 8;
+ while (0 != (buffer_size & (buffer_size - 1)))
+ buffer_size += 1;
+
+ *p_data = 0;
+ end_byte_index = (end_bit >> 3);
+ start_byte_index = (start_bit >> 3);
+
+ if (start_byte_index == end_byte_index) {
+ *p_data = (uint32_t)(((p_base[start_byte_index] >> (7U - (end_bit & 7)))
+ & (0xff >> (8U - len))) & 0xff);
+ return 0;
+ }
+
+ if (start_bit & 7) {
+ *p_data = (p_base[start_byte_index] & (0xff >> (start_bit & 7))) & UINT8_MAX;
+ start_byte_index++;
+ }
+
+ for (byte_num = start_byte_index; byte_num < end_byte_index; byte_num++) {
+ *p_data <<= 8;
+ *p_data += p_base[byte_num];
+ }
+
+ *p_data <<= 1 + (end_bit & 7);
+ *p_data += ((p_base[byte_num & (buffer_size - 1)] & (0xff << (7 - (end_bit & 7)))) >>
+ (7 - (end_bit & 7))) & 0xff;
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_comm_read_bits_ex(uint8_t *p_base, uint32_t base_size_bit,
+ uint32_t *p_data, uint32_t msb_start_pos, uint32_t len)
+{
+ uint32_t rtn;
+
+ rtn = zxdh_np_comm_read_bits(p_base,
+ base_size_bit,
+ p_data,
+ (base_size_bit - 1 - msb_start_pos),
+ (base_size_bit - 1 - msb_start_pos + len - 1));
+ return rtn;
+}
+
+static uint32_t
+zxdh_np_reg_read(uint32_t dev_id, uint32_t reg_no,
+ uint32_t m_offset, uint32_t n_offset, void *p_data)
+{
+ uint32_t p_buff[ZXDH_REG_DATA_MAX] = {0};
+ ZXDH_REG_T *p_reg_info = NULL;
+ ZXDH_FIELD_T *p_field_info = NULL;
+ uint32_t rc = 0;
+ uint32_t i;
+
+ if (reg_no < 4) {
+ p_reg_info = &g_dpp_reg_info[reg_no];
+ p_field_info = p_reg_info->p_fields;
+ for (i = 0; i < p_reg_info->field_num; i++) {
+ rc = zxdh_np_comm_read_bits_ex((uint8_t *)p_buff,
+ p_reg_info->width * 8,
+ (uint32_t *)p_data + i,
+ p_field_info[i].msb_pos,
+ p_field_info[i].len);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxic_comm_read_bits_ex");
+ PMD_DRV_LOG(ERR, "dev_id %d(%d)(%d)is ok!", dev_id, m_offset, n_offset);
+ }
+ }
+ return rc;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_vm_info_get(uint32_t dev_id,
+ uint32_t queue_id,
+ ZXDH_DTB_QUEUE_VM_INFO_T *p_vm_info)
+{
+ ZXDH_DTB4K_DTB_ENQ_CFG_EPID_V_FUNC_NUM_0_127_T vm_info = {0};
+ uint32_t rc;
+
+ rc = zxdh_np_reg_read(dev_id, ZXDH_DTB_CFG_EPID_V_FUNC_NUM,
+ 0, queue_id, &vm_info);
+ ZXDH_COMM_CHECK_DEV_RC(dev_id, rc, "zxdh_reg_read");
+
+ p_vm_info->dbi_en = vm_info.dbi_en;
+ p_vm_info->queue_en = vm_info.queue_en;
+ p_vm_info->epid = vm_info.cfg_epid;
+ p_vm_info->vector = vm_info.cfg_vector;
+ p_vm_info->vfunc_num = vm_info.cfg_vfunc_num;
+ p_vm_info->func_num = vm_info.cfg_func_num;
+ p_vm_info->vfunc_active = vm_info.cfg_vfunc_active;
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_comm_write_bits(uint8_t *p_base, uint32_t base_size_bit,
+ uint32_t data, uint32_t start_bit, uint32_t end_bit)
+{
+ uint32_t start_byte_index;
+ uint32_t end_byte_index;
+ uint8_t mask_value;
+ uint32_t byte_num;
+ uint32_t buffer_size;
+
+ if (0 != (base_size_bit % 8))
+ return 1;
+
+ if (start_bit > end_bit)
+ return 1;
+
+ if (base_size_bit < end_bit)
+ return 1;
+
+ buffer_size = base_size_bit / 8;
+
+ while (0 != (buffer_size & (buffer_size - 1)))
+ buffer_size += 1;
+
+ end_byte_index = (end_bit >> 3);
+ start_byte_index = (start_bit >> 3);
+
+ if (start_byte_index == end_byte_index) {
+ mask_value = ((0xFE << (7 - (start_bit & 7))) & 0xff);
+ mask_value |= (((1 << (7 - (end_bit & 7))) - 1) & 0xff);
+ p_base[end_byte_index] &= mask_value;
+ p_base[end_byte_index] |= (((data << (7 - (end_bit & 7)))) & 0xff);
+ return 0;
+ }
+
+ if (7 != (end_bit & 7)) {
+ mask_value = ((0x7f >> (end_bit & 7)) & 0xff);
+ p_base[end_byte_index] &= mask_value;
+ p_base[end_byte_index] |= ((data << (7 - (end_bit & 7))) & 0xff);
+ end_byte_index--;
+ data >>= 1 + (end_bit & 7);
+ }
+
+ for (byte_num = end_byte_index; byte_num > start_byte_index; byte_num--) {
+ p_base[byte_num & (buffer_size - 1)] = data & 0xff;
+ data >>= 8;
+ }
+
+ mask_value = ((0xFE << (7 - (start_bit & 7))) & 0xff);
+ p_base[byte_num] &= mask_value;
+ p_base[byte_num] |= data;
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_comm_write_bits_ex(uint8_t *p_base,
+ uint32_t base_size_bit,
+ uint32_t data,
+ uint32_t msb_start_pos,
+ uint32_t len)
+{
+ uint32_t rtn;
+
+ rtn = zxdh_np_comm_write_bits(p_base,
+ base_size_bit,
+ data,
+ (base_size_bit - 1 - msb_start_pos),
+ (base_size_bit - 1 - msb_start_pos + len - 1));
+
+ return rtn;
+}
+
+static uint32_t
+zxdh_np_reg_write(uint32_t dev_id, uint32_t reg_no,
+ uint32_t m_offset, uint32_t n_offset, void *p_data)
+{
+ uint32_t p_buff[ZXDH_REG_DATA_MAX] = {0};
+ ZXDH_REG_T *p_reg_info = NULL;
+ ZXDH_FIELD_T *p_field_info = NULL;
+ uint32_t temp_data;
+ uint32_t rc;
+ uint32_t i;
+
+ if (reg_no < 4) {
+ p_reg_info = &g_dpp_reg_info[reg_no];
+ p_field_info = p_reg_info->p_fields;
+
+ for (i = 0; i < p_reg_info->field_num; i++) {
+ if (p_field_info[i].len <= 32) {
+ temp_data = *((uint32_t *)p_data + i);
+ rc = zxdh_np_comm_write_bits_ex((uint8_t *)p_buff,
+ p_reg_info->width * 8,
+ temp_data,
+ p_field_info[i].msb_pos,
+ p_field_info[i].len);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxdh_comm_write_bits_ex");
+ PMD_DRV_LOG(ERR, "dev_id %d(%d)(%d)is ok!",
+ dev_id, m_offset, n_offset);
+ }
+ }
+ }
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_vm_info_set(uint32_t dev_id,
+ uint32_t queue_id,
+ ZXDH_DTB_QUEUE_VM_INFO_T *p_vm_info)
+{
+ uint32_t rc = 0;
+ ZXDH_DTB4K_DTB_ENQ_CFG_EPID_V_FUNC_NUM_0_127_T vm_info = {0};
+
+ vm_info.dbi_en = p_vm_info->dbi_en;
+ vm_info.queue_en = p_vm_info->queue_en;
+ vm_info.cfg_epid = p_vm_info->epid;
+ vm_info.cfg_vector = p_vm_info->vector;
+ vm_info.cfg_vfunc_num = p_vm_info->vfunc_num;
+ vm_info.cfg_func_num = p_vm_info->func_num;
+ vm_info.cfg_vfunc_active = p_vm_info->vfunc_active;
+
+ rc = zxdh_np_reg_write(dev_id, ZXDH_DTB_CFG_EPID_V_FUNC_NUM,
+ 0, queue_id, &vm_info);
+ ZXDH_COMM_CHECK_DEV_RC(dev_id, rc, "zxdh_reg_write");
+
+ return rc;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_enable_set(uint32_t dev_id,
+ uint32_t queue_id,
+ uint32_t enable)
+{
+ ZXDH_DTB_QUEUE_VM_INFO_T vm_info = {0};
+ uint32_t rc;
+
+ rc = zxdh_np_dtb_queue_vm_info_get(dev_id, queue_id, &vm_info);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxdh_dtb_queue_vm_info_get");
+
+ vm_info.queue_en = enable;
+ rc = zxdh_np_dtb_queue_vm_info_set(dev_id, queue_id, &vm_info);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxdh_dtb_queue_vm_info_set");
+
+ return rc;
+}
+
+static uint32_t
+zxdh_np_riscv_dpp_dtb_queue_id_release(uint32_t dev_id,
+ char name[ZXDH_PORT_NAME_MAX], uint32_t queue_id)
+{
+ ZXDH_RISCV_DTB_MGR *p_riscv_dtb_mgr = NULL;
+
+ p_riscv_dtb_mgr = zxdh_np_riscv_dtb_queue_mgr_get(dev_id);
+ if (p_riscv_dtb_mgr == NULL)
+ return 1;
+
+ if (zxdh_np_dev_get_dev_type(dev_id) == ZXDH_DEV_TYPE_SIM)
+ return 0;
+
+ if (p_riscv_dtb_mgr->queue_user_info[queue_id].alloc_flag != 1) {
+ PMD_DRV_LOG(ERR, "queue %d not alloc!", queue_id);
+ return 2;
+ }
+
+ if (strcmp(p_riscv_dtb_mgr->queue_user_info[queue_id].user_name, name) != 0) {
+ PMD_DRV_LOG(ERR, "queue %d name %s error!", queue_id, name);
+ return 3;
+ }
+ zxdh_np_dtb_queue_enable_set(dev_id, queue_id, 0);
+ zxdh_np_riscv_dtb_mgr_queue_info_delete(dev_id, queue_id);
+
+ return 0;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_unused_item_num_get(uint32_t dev_id,
+ uint32_t queue_id,
+ uint32_t *p_item_num)
+{
+ uint32_t rc;
+
+ if (zxdh_np_dev_get_dev_type(dev_id) == ZXDH_DEV_TYPE_SIM) {
+ *p_item_num = 32;
+ return 0;
+ }
+
+ rc = zxdh_np_reg_read(dev_id, ZXDH_DTB_INFO_QUEUE_BUF_SPACE,
+ 0, queue_id, p_item_num);
+ ZXDH_COMM_CHECK_DEV_RC(dev_id, rc, "dpp_reg_read");
+ return rc;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_id_free(uint32_t dev_id,
+ uint32_t queue_id)
+{
+ uint32_t item_num = 0;
+ ZXDH_DTB_MGR_T *p_dtb_mgr = NULL;
+ uint32_t rc;
+
+ p_dtb_mgr = p_dpp_dtb_mgr[dev_id];
+ if (p_dtb_mgr == NULL)
+ return 1;
+
+ rc = zxdh_np_dtb_queue_unused_item_num_get(dev_id, queue_id, &item_num);
+
+ p_dtb_mgr->queue_info[queue_id].init_flag = 0;
+ p_dtb_mgr->queue_info[queue_id].vport = 0;
+ p_dtb_mgr->queue_info[queue_id].vector = 0;
+
+ return rc;
+}
+
+static uint32_t
+zxdh_np_dtb_queue_release(uint32_t devid,
+ char pname[32],
+ uint32_t queueid)
+{
+ uint32_t rc;
+
+ ZXDH_COMM_CHECK_DEV_POINT(devid, pname);
+
+ rc = zxdh_np_riscv_dpp_dtb_queue_id_release(devid, pname, queueid);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxdh_riscv_dpp_dtb_queue_id_release");
+
+ rc = zxdh_np_dtb_queue_id_free(devid, queueid);
+ ZXDH_COMM_CHECK_RC_NO_ASSERT(rc, "zxdh_dtb_queue_id_free");
+
+ return rc;
+}
+
+static void
+zxdh_np_dtb_mgr_destroy(uint32_t dev_id)
+{
+ if (p_dpp_dtb_mgr[dev_id] != NULL) {
+ free(p_dpp_dtb_mgr[dev_id]);
+ p_dpp_dtb_mgr[dev_id] = NULL;
+ }
+}
+
+static void
+zxdh_np_tlb_mgr_destroy(uint32_t dev_id)
+{
+ if (g_p_dpp_tlb_mgr[dev_id] != NULL) {
+ free(g_p_dpp_tlb_mgr[dev_id]);
+ g_p_dpp_tlb_mgr[dev_id] = NULL;
+ }
+}
+
+static void
+zxdh_np_sdt_mgr_destroy(uint32_t dev_id)
+{
+ ZXDH_SDT_SOFT_TABLE_T *p_sdt_tbl_temp = NULL;
+ ZXDH_SDT_MGR_T *p_sdt_mgr = NULL;
+
+ p_sdt_tbl_temp = ZXDH_SDT_SOFT_TBL_GET(dev_id);
+ p_sdt_mgr = ZXDH_SDT_MGR_PTR_GET();
+
+ if (p_sdt_tbl_temp != NULL)
+ free(p_sdt_tbl_temp);
+
+ ZXDH_SDT_SOFT_TBL_GET(dev_id) = NULL;
+
+ p_sdt_mgr->channel_num--;
+}
+
+static void
+zxdh_np_dev_del(uint32_t dev_id)
+{
+ ZXDH_DEV_CFG_T *p_dev_info = NULL;
+ ZXDH_DEV_MGR_T *p_dev_mgr = NULL;
+
+ p_dev_mgr = &g_dev_mgr;
+ p_dev_info = p_dev_mgr->p_dev_array[dev_id];
+
+ if (p_dev_info != NULL) {
+ free(p_dev_info);
+ p_dev_mgr->p_dev_array[dev_id] = NULL;
+ p_dev_mgr->device_num--;
+ }
+}
+
+int
+zxdh_np_online_uninit(uint32_t dev_id,
+ char *port_name,
+ uint32_t queue_id)
+{
+ uint32_t rc;
+
+ rc = zxdh_np_dtb_queue_release(dev_id, port_name, queue_id);
+ if (rc != 0)
+ PMD_DRV_LOG(ERR, "%s:dtb release error,"
+ "port name %s queue id %d. ", __func__, port_name, queue_id);
+
+ zxdh_np_dtb_mgr_destroy(dev_id);
+ zxdh_np_tlb_mgr_destroy(dev_id);
+ zxdh_np_sdt_mgr_destroy(dev_id);
+ zxdh_np_dev_del(dev_id);
+
+ return 0;
+}
diff --git a/drivers/net/zxdh/zxdh_np.h b/drivers/net/zxdh/zxdh_np.h
index 573eafe796..dc0e867827 100644
--- a/drivers/net/zxdh/zxdh_np.h
+++ b/drivers/net/zxdh/zxdh_np.h
@@ -47,6 +47,11 @@
#define ZXDH_INIT_FLAG_TM_IMEM_FLAG (1 << 9)
#define ZXDH_INIT_FLAG_AGENT_FLAG (1 << 10)
+#define ZXDH_ACL_TBL_ID_MIN (0)
+#define ZXDH_ACL_TBL_ID_MAX (7)
+#define ZXDH_ACL_TBL_ID_NUM (8U)
+#define ZXDH_ACL_BLOCK_NUM (8U)
+
typedef enum zxdh_module_init_e {
ZXDH_MODULE_INIT_NPPU = 0,
ZXDH_MODULE_INIT_PPU,
@@ -67,6 +72,15 @@ typedef enum zxdh_dev_type_e {
ZXDH_DEV_TYPE_INVALID,
} ZXDH_DEV_TYPE_E;
+typedef enum zxdh_reg_info_e {
+ ZXDH_DTB_CFG_QUEUE_DTB_HADDR = 0,
+ ZXDH_DTB_CFG_QUEUE_DTB_LADDR = 1,
+ ZXDH_DTB_CFG_QUEUE_DTB_LEN = 2,
+ ZXDH_DTB_INFO_QUEUE_BUF_SPACE = 3,
+ ZXDH_DTB_CFG_EPID_V_FUNC_NUM = 4,
+ ZXDH_REG_ENUM_MAX_VALUE
+} ZXDH_REG_INFO_E;
+
typedef enum zxdh_dev_access_type_e {
ZXDH_DEV_ACCESS_TYPE_PCIE = 0,
ZXDH_DEV_ACCESS_TYPE_RISCV = 1,
@@ -79,6 +93,26 @@ typedef enum zxdh_dev_agent_flag_e {
ZXDH_DEV_AGENT_INVALID,
} ZXDH_DEV_AGENT_FLAG_E;
+typedef enum zxdh_acl_pri_mode_e {
+ ZXDH_ACL_PRI_EXPLICIT = 1,
+ ZXDH_ACL_PRI_IMPLICIT,
+ ZXDH_ACL_PRI_SPECIFY,
+ ZXDH_ACL_PRI_INVALID,
+} ZXDH_ACL_PRI_MODE_E;
+
+typedef struct zxdh_d_node {
+ void *data;
+ struct zxdh_d_node *prev;
+ struct zxdh_d_node *next;
+} ZXDH_D_NODE;
+
+typedef struct zxdh_d_head {
+ uint32_t used;
+ uint32_t maxnum;
+ ZXDH_D_NODE *p_next;
+ ZXDH_D_NODE *p_prev;
+} ZXDH_D_HEAD;
+
typedef struct zxdh_dtb_tab_up_user_addr_t {
uint32_t user_flag;
uint64_t phy_addr;
@@ -193,6 +227,79 @@ typedef struct zxdh_sdt_mgr_t {
ZXDH_SDT_SOFT_TABLE_T *sdt_tbl_array[ZXDH_DEV_CHANNEL_MAX];
} ZXDH_SDT_MGR_T;
+typedef struct zxdh_riscv_dtb_queue_USER_info_t {
+ uint32_t alloc_flag;
+ uint32_t queue_id;
+ uint32_t vport;
+ char user_name[ZXDH_PORT_NAME_MAX];
+} ZXDH_RISCV_DTB_QUEUE_USER_INFO_T;
+
+typedef struct zxdh_riscv_dtb_mgr {
+ uint32_t queue_alloc_count;
+ uint32_t queue_index;
+ ZXDH_RISCV_DTB_QUEUE_USER_INFO_T queue_user_info[ZXDH_DTB_QUEUE_NUM_MAX];
+} ZXDH_RISCV_DTB_MGR;
+
+typedef struct zxdh_dtb_queue_vm_info_t {
+ uint32_t dbi_en;
+ uint32_t queue_en;
+ uint32_t epid;
+ uint32_t vfunc_num;
+ uint32_t vector;
+ uint32_t func_num;
+ uint32_t vfunc_active;
+} ZXDH_DTB_QUEUE_VM_INFO_T;
+
+typedef struct zxdh_dtb4k_dtb_enq_cfg_epid_v_func_num_0_127_t {
+ uint32_t dbi_en;
+ uint32_t queue_en;
+ uint32_t cfg_epid;
+ uint32_t cfg_vfunc_num;
+ uint32_t cfg_vector;
+ uint32_t cfg_func_num;
+ uint32_t cfg_vfunc_active;
+} ZXDH_DTB4K_DTB_ENQ_CFG_EPID_V_FUNC_NUM_0_127_T;
+
+
+typedef uint32_t (*ZXDH_REG_WRITE)(uint32_t dev_id, uint32_t addr, uint32_t *p_data);
+typedef uint32_t (*ZXDH_REG_READ)(uint32_t dev_id, uint32_t addr, uint32_t *p_data);
+
+typedef struct zxdh_field_t {
+ const char *p_name;
+ uint32_t flags;
+ uint16_t msb_pos;
+
+ uint16_t len;
+ uint32_t default_value;
+ uint32_t default_step;
+} ZXDH_FIELD_T;
+
+typedef struct zxdh_reg_t {
+ const char *reg_name;
+ uint32_t reg_no;
+ uint32_t module_no;
+ uint32_t flags;
+ uint32_t array_type;
+ uint32_t addr;
+ uint32_t width;
+ uint32_t m_size;
+ uint32_t n_size;
+ uint32_t m_step;
+ uint32_t n_step;
+ uint32_t field_num;
+ ZXDH_FIELD_T *p_fields;
+
+ ZXDH_REG_WRITE p_write_fun;
+ ZXDH_REG_READ p_read_fun;
+} ZXDH_REG_T;
+
+typedef struct zxdh_tlb_mgr_t {
+ uint32_t entry_num;
+ uint32_t va_width;
+ uint32_t pa_width;
+} ZXDH_TLB_MGR_T;
+
int zxdh_np_host_init(uint32_t dev_id, ZXDH_DEV_INIT_CTRL_T *p_dev_init_ctrl);
+int zxdh_np_online_uninit(uint32_t dev_id, char *port_name, uint32_t queue_id);
#endif /* ZXDH_NP_H */
--
2.27.0
[-- Attachment #1.1.2: Type: text/html , Size: 45109 bytes --]
next prev parent reply other threads:[~2024-12-26 3:46 UTC|newest]
Thread overview: 225+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 12:00 [PATCH v4] net/zxdh: Provided zxdh basic init Junlong Wang
2024-09-24 1:35 ` [v4] " Junlong Wang
2024-09-25 22:39 ` [PATCH v4] " Ferruh Yigit
2024-09-26 6:49 ` [v4] " Junlong Wang
2024-10-07 21:43 ` [PATCH v4] " Stephen Hemminger
2024-10-15 5:43 ` [PATCH v5 0/9] net/zxdh: introduce net zxdh driver Junlong Wang
2024-10-15 5:43 ` [PATCH v5 1/9] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-10-15 5:44 ` [PATCH v5 2/9] net/zxdh: add logging implementation Junlong Wang
2024-10-15 5:44 ` [PATCH v5 3/9] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-10-15 5:44 ` [PATCH v5 4/9] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-10-15 5:44 ` [PATCH v5 5/9] net/zxdh: add msg chan enable implementation Junlong Wang
2024-10-15 5:44 ` [PATCH v5 6/9] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-10-15 5:44 ` [PATCH v5 7/9] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-10-15 5:44 ` [PATCH v5 8/9] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-10-15 5:44 ` [PATCH v5 9/9] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-10-15 15:37 ` Stephen Hemminger
2024-10-15 15:57 ` Stephen Hemminger
2024-10-16 8:16 ` [PATCH v6 0/9] net/zxdh: introduce net zxdh driver Junlong Wang
2024-10-16 8:16 ` [PATCH v6 1/9] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-10-16 8:18 ` [PATCH v6 2/9] net/zxdh: add logging implementation Junlong Wang
2024-10-16 8:18 ` [PATCH v6 3/9] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-10-16 8:18 ` [PATCH v6 4/9] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-10-16 8:18 ` [PATCH v6 5/9] net/zxdh: add msg chan enable implementation Junlong Wang
2024-10-21 8:50 ` Thomas Monjalon
2024-10-21 10:56 ` Junlong Wang
2024-10-16 8:18 ` [PATCH v6 6/9] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-10-21 8:52 ` Thomas Monjalon
2024-10-16 8:18 ` [PATCH v6 7/9] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-10-16 8:18 ` [PATCH v6 8/9] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-10-21 8:54 ` Thomas Monjalon
2024-10-16 8:18 ` [PATCH v6 9/9] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-10-18 5:18 ` [v6,9/9] " Junlong Wang
2024-10-18 6:48 ` David Marchand
2024-10-19 11:17 ` Junlong Wang
2024-10-21 9:03 ` [PATCH v6 1/9] net/zxdh: add zxdh ethdev pmd driver Thomas Monjalon
2024-10-22 12:20 ` [PATCH v7 0/9] net/zxdh: introduce net zxdh driver Junlong Wang
2024-10-22 12:20 ` [PATCH v7 1/9] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-10-30 9:01 ` [PATCH v8 0/9] net/zxdh: introduce net zxdh driver Junlong Wang
2024-10-30 9:01 ` [PATCH v8 1/9] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-11-01 6:21 ` [PATCH v9 0/9] net/zxdh: introduce net zxdh driver Junlong Wang
2024-11-01 6:21 ` [PATCH v9 1/9] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-11-02 0:57 ` Ferruh Yigit
2024-11-04 11:58 ` [PATCH v10 00/10] net/zxdh: introduce net zxdh driver Junlong Wang
2024-11-04 11:58 ` [PATCH v10 01/10] net/zxdh: add zxdh ethdev pmd driver Junlong Wang
2024-11-07 10:32 ` [PATCH v10 00/10] net/zxdh: introduce net zxdh driver Junlong Wang
2024-11-12 0:42 ` Thomas Monjalon
2024-12-06 5:57 ` [PATCH v1 00/15] net/zxdh: updated " Junlong Wang
2024-12-06 5:57 ` [PATCH v1 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-10 5:53 ` [PATCH v2 00/15] net/zxdh: updated net zxdh driver Junlong Wang
2024-12-10 5:53 ` [PATCH v2 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-11 16:10 ` Stephen Hemminger
2024-12-12 2:06 ` Junlong Wang
2024-12-12 3:35 ` Junlong Wang
2024-12-17 11:41 ` [PATCH v3 00/15] net/zxdh: updated net zxdh driver Junlong Wang
2024-12-17 11:41 ` [PATCH v3 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-17 11:41 ` [PATCH v3 02/15] net/zxdh: zxdh np uninit implementation Junlong Wang
2024-12-17 11:41 ` [PATCH v3 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-17 11:41 ` [PATCH v3 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-17 11:41 ` [PATCH v3 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 11/15] net/zxdh: promisc/allmulti " Junlong Wang
2024-12-17 11:41 ` [PATCH v3 12/15] net/zxdh: vlan filter/ offload " Junlong Wang
2024-12-17 11:41 ` [PATCH v3 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-17 11:41 ` [PATCH v3 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-17 11:41 ` [PATCH v3 15/15] net/zxdh: mtu update " Junlong Wang
2024-12-18 9:25 ` [PATCH v4 00/15] net/zxdh: updated net zxdh driver Junlong Wang
2024-12-18 9:25 ` [PATCH v4 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-18 9:25 ` [PATCH v4 02/15] net/zxdh: zxdh np uninit implementation Junlong Wang
2024-12-18 9:25 ` [PATCH v4 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-18 9:25 ` [PATCH v4 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-18 9:25 ` [PATCH v4 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-18 9:25 ` [PATCH v4 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-21 0:51 ` Stephen Hemminger
2024-12-18 9:25 ` [PATCH v4 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-18 9:25 ` [PATCH v4 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-18 9:25 ` [PATCH v4 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-18 9:25 ` [PATCH v4 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-18 9:25 ` [PATCH v4 11/15] net/zxdh: promisc/allmulti " Junlong Wang
2024-12-18 9:25 ` [PATCH v4 12/15] net/zxdh: vlan filter/ offload " Junlong Wang
2024-12-18 9:26 ` [PATCH v4 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-21 0:44 ` Stephen Hemminger
2024-12-18 9:26 ` [PATCH v4 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-18 9:26 ` [PATCH v4 15/15] net/zxdh: mtu update " Junlong Wang
2024-12-21 0:33 ` Stephen Hemminger
2024-12-23 11:02 ` [PATCH v5 00/15] net/zxdh: updated net zxdh driver Junlong Wang
2024-12-23 11:02 ` [PATCH v5 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-23 11:02 ` [PATCH v5 02/15] net/zxdh: zxdh np uninit implementation Junlong Wang
2024-12-23 11:02 ` [PATCH v5 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-23 11:02 ` [PATCH v5 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-23 11:02 ` [PATCH v5 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 11/15] net/zxdh: promisc/allmulti " Junlong Wang
2024-12-23 11:02 ` [PATCH v5 12/15] net/zxdh: vlan filter/ offload " Junlong Wang
2024-12-23 11:02 ` [PATCH v5 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-23 11:02 ` [PATCH v5 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-23 11:02 ` [PATCH v5 15/15] net/zxdh: mtu update " Junlong Wang
2024-12-24 20:30 ` [PATCH v5 00/15] net/zxdh: updated net zxdh driver Stephen Hemminger
2024-12-24 20:47 ` Stephen Hemminger
2024-12-26 3:37 ` [PATCH v6 " Junlong Wang
2024-12-26 3:37 ` [PATCH v6 01/15] net/zxdh: zxdh np init implementation Junlong Wang
2024-12-26 3:37 ` Junlong Wang [this message]
2024-12-26 3:37 ` [PATCH v6 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-26 3:37 ` [PATCH v6 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-26 3:37 ` [PATCH v6 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 11/15] net/zxdh: promisc/allmulti " Junlong Wang
2024-12-26 3:37 ` [PATCH v6 12/15] net/zxdh: vlan filter/ offload " Junlong Wang
2024-12-26 3:37 ` [PATCH v6 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-26 3:37 ` [PATCH v6 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-26 3:37 ` [PATCH v6 15/15] net/zxdh: mtu update " Junlong Wang
2024-12-10 5:53 ` [PATCH v2 02/15] net/zxdh: zxdh np uninit implementation Junlong Wang
2024-12-13 19:38 ` Stephen Hemminger
2024-12-13 19:41 ` Stephen Hemminger
2024-12-13 19:41 ` Stephen Hemminger
2024-12-10 5:53 ` [PATCH v2 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-13 19:42 ` Stephen Hemminger
2024-12-10 5:53 ` [PATCH v2 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-13 19:45 ` Stephen Hemminger
2024-12-13 19:48 ` Stephen Hemminger
2024-12-10 5:53 ` [PATCH v2 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-10 5:53 ` [PATCH v2 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-13 21:05 ` Stephen Hemminger
2024-12-10 5:53 ` [PATCH v2 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-10 5:53 ` [PATCH v2 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-10 5:53 ` [PATCH v2 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-13 19:57 ` Stephen Hemminger
2024-12-13 20:08 ` Stephen Hemminger
2024-12-10 5:53 ` [PATCH v2 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-10 5:53 ` [PATCH v2 11/15] net/zxdh: promisc/allmulti " Junlong Wang
2024-12-10 5:53 ` [PATCH v2 12/15] net/zxdh: vlan filter/ offload " Junlong Wang
2024-12-10 5:53 ` [PATCH v2 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-10 5:53 ` [PATCH v2 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-10 5:53 ` [PATCH v2 15/15] net/zxdh: mtu update " Junlong Wang
2024-12-06 5:57 ` [PATCH v1 02/15] net/zxdh: zxdh np uninit implementation Junlong Wang
2024-12-06 5:57 ` [PATCH v1 03/15] net/zxdh: port tables init implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 04/15] net/zxdh: port tables unint implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 05/15] net/zxdh: rx/tx queue setup and intr enable Junlong Wang
2024-12-06 5:57 ` [PATCH v1 06/15] net/zxdh: dev start/stop ops implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 07/15] net/zxdh: provided dev simple tx implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 08/15] net/zxdh: provided dev simple rx implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 09/15] net/zxdh: link info update, set link up/down Junlong Wang
2024-12-06 5:57 ` [PATCH v1 10/15] net/zxdh: mac set/add/remove ops implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 11/15] net/zxdh: promiscuous/allmulticast " Junlong Wang
2024-12-06 5:57 ` [PATCH v1 12/15] net/zxdh: vlan filter, vlan offload " Junlong Wang
2024-12-06 5:57 ` [PATCH v1 13/15] net/zxdh: rss hash config/update, reta update/get Junlong Wang
2024-12-06 5:57 ` [PATCH v1 14/15] net/zxdh: basic stats ops implementations Junlong Wang
2024-12-06 5:57 ` [PATCH v1 15/15] net/zxdh: mtu update " Junlong Wang
2024-11-04 11:58 ` [PATCH v10 02/10] net/zxdh: add logging implementation Junlong Wang
2024-11-04 11:58 ` [PATCH v10 03/10] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-11-04 11:58 ` [PATCH v10 04/10] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-11-04 11:58 ` [PATCH v10 05/10] net/zxdh: add msg chan enable implementation Junlong Wang
2024-11-04 11:58 ` [PATCH v10 06/10] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-11-04 11:58 ` [PATCH v10 07/10] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-11-04 11:58 ` [PATCH v10 08/10] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-11-04 11:58 ` [PATCH v10 09/10] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-11-04 11:58 ` [PATCH v10 10/10] net/zxdh: add zxdh dev close ops Junlong Wang
2024-11-06 0:40 ` [PATCH v10 00/10] net/zxdh: introduce net zxdh driver Ferruh Yigit
2024-11-07 9:28 ` Ferruh Yigit
2024-11-07 9:58 ` Ferruh Yigit
2024-11-12 2:49 ` Junlong Wang
2024-11-01 6:21 ` [PATCH v9 2/9] net/zxdh: add logging implementation Junlong Wang
2024-11-02 1:02 ` Ferruh Yigit
2024-11-04 2:44 ` [v9,2/9] " Junlong Wang
2024-11-01 6:21 ` [PATCH v9 3/9] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-11-02 1:01 ` Ferruh Yigit
2024-11-01 6:21 ` [PATCH v9 4/9] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-11-02 1:00 ` Ferruh Yigit
2024-11-04 2:47 ` Junlong Wang
2024-11-01 6:21 ` [PATCH v9 5/9] net/zxdh: add msg chan enable implementation Junlong Wang
2024-11-01 6:21 ` [PATCH v9 6/9] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-11-02 1:06 ` Ferruh Yigit
2024-11-04 3:30 ` [v9,6/9] " Junlong Wang
2024-11-01 6:21 ` [PATCH v9 7/9] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-11-02 1:07 ` Ferruh Yigit
2024-11-01 6:21 ` [PATCH v9 8/9] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-11-01 6:21 ` [PATCH v9 9/9] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-11-02 0:56 ` [PATCH v9 0/9] net/zxdh: introduce net zxdh driver Ferruh Yigit
2024-11-04 2:42 ` Junlong Wang
2024-11-04 8:46 ` Ferruh Yigit
2024-11-04 9:52 ` David Marchand
2024-11-04 11:46 ` Junlong Wang
2024-11-04 22:47 ` Thomas Monjalon
2024-11-05 9:39 ` Junlong Wang
2024-11-06 0:38 ` Ferruh Yigit
2024-10-30 9:01 ` [PATCH v8 2/9] net/zxdh: add logging implementation Junlong Wang
2024-10-30 9:01 ` [PATCH v8 3/9] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-10-30 14:55 ` David Marchand
2024-10-30 9:01 ` [PATCH v8 4/9] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-10-30 9:01 ` [PATCH v8 5/9] net/zxdh: add msg chan enable implementation Junlong Wang
2024-10-30 9:01 ` [PATCH v8 6/9] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-10-30 9:01 ` [PATCH v8 7/9] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-10-30 9:01 ` [PATCH v8 8/9] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-10-30 9:01 ` [PATCH v8 9/9] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-10-22 12:20 ` [PATCH v7 2/9] net/zxdh: add logging implementation Junlong Wang
2024-10-22 12:20 ` [PATCH v7 3/9] net/zxdh: add zxdh device pci init implementation Junlong Wang
2024-10-27 16:47 ` Stephen Hemminger
2024-10-27 16:47 ` Stephen Hemminger
2024-10-22 12:20 ` [PATCH v7 4/9] net/zxdh: add msg chan and msg hwlock init Junlong Wang
2024-10-22 12:20 ` [PATCH v7 5/9] net/zxdh: add msg chan enable implementation Junlong Wang
2024-10-26 17:05 ` Thomas Monjalon
2024-10-22 12:20 ` [PATCH v7 6/9] net/zxdh: add zxdh get device backend infos Junlong Wang
2024-10-22 12:20 ` [PATCH v7 7/9] net/zxdh: add configure zxdh intr implementation Junlong Wang
2024-10-27 17:07 ` Stephen Hemminger
2024-10-22 12:20 ` [PATCH v7 8/9] net/zxdh: add zxdh dev infos get ops Junlong Wang
2024-10-22 12:20 ` [PATCH v7 9/9] net/zxdh: add zxdh dev configure ops Junlong Wang
2024-10-24 11:31 ` [v7,9/9] " Junlong Wang
2024-10-25 9:48 ` Junlong Wang
2024-10-26 2:32 ` Junlong Wang
2024-10-27 16:40 ` [PATCH v7 9/9] " Stephen Hemminger
2024-10-27 17:03 ` Stephen Hemminger
2024-10-27 16:58 ` Stephen Hemminger
2024-12-19 22:38 ` [PATCH v4] net/zxdh: Provided zxdh basic init Stephen Hemminger
2024-12-20 1:47 ` Junlong Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241226033719.1629989-3-wang.junlong1@zte.com.cn \
--to=wang.junlong1@zte.com.cn \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).