From: Feifei Wang <wff_light@vip.163.com>
To: dev@dpdk.org
Cc: Xin Wang <wangxin679@h-partners.com>,
Feifei Wang <wangfeifei40@huawei.com>,
Yi Chen <chenyi221@huawei.com>,
Anatoly Burakov <anatoly.burakov@intel.com>
Subject: [V11 14/18] net/hinic3: add device initialization
Date: Wed, 17 Sep 2025 18:15:48 +0800 [thread overview]
Message-ID: <20250917101604.17045-15-wff_light@vip.163.com> (raw)
In-Reply-To: <20250917101604.17045-1-wff_light@vip.163.com>
From: Xin Wang <wangxin679@h-partners.com>
Add device initializationd function codes.
Signed-off-by: Xin Wang <wangxin679@h-partners.com>
Reviewed-by: Feifei Wang <wangfeifei40@huawei.com>
Reviewed-by: Yi Chen <chenyi221@huawei.com>
---
drivers/net/hinic3/hinic3_ethdev.c | 274 +++++++++++++++++++++++++++++
1 file changed, 274 insertions(+)
diff --git a/drivers/net/hinic3/hinic3_ethdev.c b/drivers/net/hinic3/hinic3_ethdev.c
index c0dfc043e7..8d68ceb47d 100644
--- a/drivers/net/hinic3/hinic3_ethdev.c
+++ b/drivers/net/hinic3/hinic3_ethdev.c
@@ -2873,3 +2873,277 @@ static const struct eth_dev_ops hinic3_pmd_vf_ops = {
.mac_addr_add = hinic3_mac_addr_add,
.set_mc_addr_list = hinic3_set_mc_addr_list,
};
+
+/**
+ * Initialize the network function, including hardware configuration, memory
+ * allocation for data structures, MAC address setup, and interrupt enabling.
+ * It also registers interrupt callbacks and sets default hardware features.
+ * If any step fails, appropriate cleanup is performed.
+ *
+ * @param[out] eth_dev
+ * Pointer to ethernet device structure.
+ *
+ * @return
+ * 0 on success, non-zero on failure.
+ */
+static int
+hinic3_func_init(struct rte_eth_dev *eth_dev)
+{
+ struct hinic3_tcam_info *tcam_info = NULL;
+ struct hinic3_nic_dev *nic_dev = NULL;
+ struct rte_pci_device *pci_dev = NULL;
+ int err;
+
+ pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
+
+ /* EAL is secondary and eth_dev is already created. */
+ if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
+ PMD_DRV_LOG(INFO, "Initialize %s in secondary process",
+ eth_dev->data->name);
+
+ return 0;
+ }
+
+ nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(eth_dev);
+ memset(nic_dev, 0, sizeof(*nic_dev));
+ snprintf(nic_dev->dev_name, sizeof(nic_dev->dev_name),
+ "dbdf-%.4x:%.2x:%.2x.%x", pci_dev->addr.domain,
+ pci_dev->addr.bus, pci_dev->addr.devid,
+ pci_dev->addr.function);
+
+ /* Alloc mac_addrs. */
+ eth_dev->data->mac_addrs = rte_zmalloc("hinic3_mac",
+ HINIC3_MAX_UC_MAC_ADDRS * sizeof(struct rte_ether_addr), 0);
+ if (!eth_dev->data->mac_addrs) {
+ PMD_DRV_LOG(ERR, "Allocate MAC addresses failed, dev_name: %s",
+ eth_dev->data->name);
+ err = -ENOMEM;
+ goto alloc_eth_addr_fail;
+ }
+
+ nic_dev->mc_list = rte_zmalloc("hinic3_mc",
+ HINIC3_MAX_MC_MAC_ADDRS * sizeof(struct rte_ether_addr), 0);
+ if (!nic_dev->mc_list) {
+ PMD_DRV_LOG(ERR, "Allocate MAC addresses failed, dev_name: %s",
+ eth_dev->data->name);
+ err = -ENOMEM;
+ goto alloc_mc_list_fail;
+ }
+
+ /* Create hardware device. */
+ nic_dev->hwdev = rte_zmalloc("hinic3_hwdev", sizeof(*nic_dev->hwdev),
+ RTE_CACHE_LINE_SIZE);
+ if (!nic_dev->hwdev) {
+ PMD_DRV_LOG(ERR, "Allocate hwdev memory failed, dev_name: %s",
+ eth_dev->data->name);
+ err = -ENOMEM;
+ goto alloc_hwdev_mem_fail;
+ }
+ nic_dev->hwdev->pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
+ nic_dev->hwdev->dev_handle = nic_dev;
+ nic_dev->hwdev->eth_dev = eth_dev;
+ nic_dev->hwdev->port_id = eth_dev->data->port_id;
+
+ err = hinic3_init_hwdev(nic_dev->hwdev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Init chip hwdev failed, dev_name: %s",
+ eth_dev->data->name);
+ goto init_hwdev_fail;
+ }
+
+ nic_dev->max_sqs = hinic3_func_max_sqs(nic_dev->hwdev);
+ nic_dev->max_rqs = hinic3_func_max_rqs(nic_dev->hwdev);
+
+ if (HINIC3_FUNC_TYPE(nic_dev->hwdev) == TYPE_VF)
+ eth_dev->dev_ops = &hinic3_pmd_vf_ops;
+ else
+ eth_dev->dev_ops = &hinic3_pmd_ops;
+
+ err = hinic3_init_nic_hwdev(nic_dev->hwdev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Init nic hwdev failed, dev_name: %s",
+ eth_dev->data->name);
+ goto init_nic_hwdev_fail;
+ }
+
+ err = hinic3_get_feature_from_hw(nic_dev->hwdev, &nic_dev->feature_cap,
+ 1);
+ if (err) {
+ PMD_DRV_LOG(ERR,
+ "Get nic feature from hardware failed, dev_name: %s",
+ eth_dev->data->name);
+ goto get_cap_fail;
+ }
+
+ err = hinic3_init_sw_rxtxqs(nic_dev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Init sw rxqs or txqs failed, dev_name: %s",
+ eth_dev->data->name);
+ goto init_sw_rxtxqs_fail;
+ }
+
+ err = hinic3_init_mac_table(eth_dev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Init mac table failed, dev_name: %s",
+ eth_dev->data->name);
+ goto init_mac_table_fail;
+ }
+
+ /* Set hardware feature to default status. */
+ err = hinic3_set_default_hw_feature(nic_dev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Set hw default features failed, dev_name: %s",
+ eth_dev->data->name);
+ goto set_default_feature_fail;
+ }
+
+ /* Register callback func to eal lib. */
+ err = rte_intr_callback_register(PCI_DEV_TO_INTR_HANDLE(pci_dev),
+ hinic3_dev_interrupt_handler,
+ (void *)eth_dev);
+ if (err) {
+ PMD_DRV_LOG(ERR, "Register intr callback failed, dev_name: %s",
+ eth_dev->data->name);
+ goto reg_intr_cb_fail;
+ }
+
+ /* Enable uio/vfio intr/eventfd mapping. */
+ err = rte_intr_enable(PCI_DEV_TO_INTR_HANDLE(pci_dev));
+ if (err) {
+ PMD_DRV_LOG(ERR, "Enable rte interrupt failed, dev_name: %s",
+ eth_dev->data->name);
+ goto enable_intr_fail;
+ }
+ tcam_info = &nic_dev->tcam;
+ memset(tcam_info, 0, sizeof(struct hinic3_tcam_info));
+ TAILQ_INIT(&tcam_info->tcam_list);
+ TAILQ_INIT(&tcam_info->tcam_dynamic_info.tcam_dynamic_list);
+ TAILQ_INIT(&nic_dev->filter_ethertype_list);
+ TAILQ_INIT(&nic_dev->filter_fdir_rule_list);
+
+ hinic3_set_bit(HINIC3_DEV_INTR_EN, &nic_dev->dev_status);
+
+ hinic3_set_bit(HINIC3_DEV_INIT, &nic_dev->dev_status);
+ PMD_DRV_LOG(INFO, "Initialize %s in primary succeed",
+ eth_dev->data->name);
+
+ /**
+ * Queue xstats filled automatically by ethdev layer.
+ */
+ eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
+
+ return 0;
+
+enable_intr_fail:
+ rte_intr_callback_unregister(PCI_DEV_TO_INTR_HANDLE(pci_dev),
+ hinic3_dev_interrupt_handler,
+ (void *)eth_dev);
+
+reg_intr_cb_fail:
+set_default_feature_fail:
+ hinic3_deinit_mac_addr(eth_dev);
+
+init_mac_table_fail:
+ hinic3_deinit_sw_rxtxqs(nic_dev);
+
+init_sw_rxtxqs_fail:
+ hinic3_free_nic_hwdev(nic_dev->hwdev);
+
+get_cap_fail:
+init_nic_hwdev_fail:
+ hinic3_free_hwdev(nic_dev->hwdev);
+ eth_dev->dev_ops = NULL;
+
+init_hwdev_fail:
+ rte_free(nic_dev->hwdev);
+ nic_dev->hwdev = NULL;
+
+alloc_hwdev_mem_fail:
+ rte_free(nic_dev->mc_list);
+ nic_dev->mc_list = NULL;
+
+alloc_mc_list_fail:
+ rte_free(eth_dev->data->mac_addrs);
+ eth_dev->data->mac_addrs = NULL;
+
+alloc_eth_addr_fail:
+ PMD_DRV_LOG(ERR, "Initialize %s in primary failed",
+ eth_dev->data->name);
+ return err;
+}
+
+static int
+hinic3_dev_init(struct rte_eth_dev *eth_dev)
+{
+ struct rte_pci_device *pci_dev;
+
+ pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
+
+ PMD_DRV_LOG(INFO, "Initializing %.4x:%.2x:%.2x.%x in %s process",
+ pci_dev->addr.domain, pci_dev->addr.bus,
+ pci_dev->addr.devid, pci_dev->addr.function,
+ (rte_eal_process_type() == RTE_PROC_PRIMARY) ? "primary"
+ : "secondary");
+
+ PMD_DRV_LOG(DEBUG, "Network Interface pmd driver version: %s",
+ HINIC3_PMD_DRV_VERSION);
+
+ return hinic3_func_init(eth_dev);
+}
+
+static int
+hinic3_dev_uninit(struct rte_eth_dev *dev)
+{
+ struct hinic3_nic_dev *nic_dev;
+
+ nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
+ hinic3_clear_bit(HINIC3_DEV_INIT, &nic_dev->dev_status);
+
+ if (rte_eal_process_type() != RTE_PROC_PRIMARY)
+ return 0;
+
+ return hinic3_dev_close(dev);
+}
+
+static const struct rte_pci_id pci_id_hinic3_map[] = {
+#ifdef CONFIG_SP_VID_DID
+ {RTE_PCI_DEVICE(PCI_VENDOR_ID_SPNIC, HINIC3_DEV_ID_STANDARD)},
+ {RTE_PCI_DEVICE(PCI_VENDOR_ID_SPNIC, HINIC3_DEV_ID_VF)},
+#else
+ {RTE_PCI_DEVICE(PCI_VENDOR_ID_HUAWEI, HINIC3_DEV_ID_STANDARD)},
+ {RTE_PCI_DEVICE(PCI_VENDOR_ID_HUAWEI, HINIC3_DEV_ID_VF)},
+#endif
+
+ {.vendor_id = 0},
+};
+
+static int
+hinic3_pci_probe(__rte_unused struct rte_pci_driver *pci_drv,
+ struct rte_pci_device *pci_dev)
+{
+ return rte_eth_dev_pci_generic_probe(pci_dev,
+ sizeof(struct hinic3_nic_dev), hinic3_dev_init);
+}
+
+static int
+hinic3_pci_remove(struct rte_pci_device *pci_dev)
+{
+ return rte_eth_dev_pci_generic_remove(pci_dev, hinic3_dev_uninit);
+}
+
+static struct rte_pci_driver rte_hinic3_pmd = {
+ .id_table = pci_id_hinic3_map,
+ .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,
+ .probe = hinic3_pci_probe,
+ .remove = hinic3_pci_remove,
+};
+
+RTE_PMD_REGISTER_PCI(net_hinic3, rte_hinic3_pmd);
+RTE_PMD_REGISTER_PCI_TABLE(net_hinic3, pci_id_hinic3_map);
+
+RTE_INIT(hinic3_init_log)
+{
+ hinic3_logtype = rte_log_register("pmd.net.hinic3");
+ if (hinic3_logtype >= 0)
+ rte_log_set_level(hinic3_logtype, RTE_LOG_INFO);
+}
--
2.47.0.windows.2
next prev parent reply other threads:[~2025-09-17 10:18 UTC|newest]
Thread overview: 321+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-18 9:05 [RFC 00/18] add hinic3 PMD driver Feifei Wang
2025-04-18 9:05 ` [RFC 01/18] net/hinic3: add intro doc for hinic3 Feifei Wang
2025-04-18 9:05 ` [RFC 02/18] net/hinic3: add basic header files Feifei Wang
2025-04-18 9:05 ` [RFC 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-04-18 9:05 ` [RFC 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-04-18 9:05 ` [RFC 05/18] net/hinic3: add NIC event module Feifei Wang
2025-04-18 9:05 ` [RFC 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-04-18 9:05 ` [RFC 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-04-18 9:05 ` [RFC 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-04-18 9:05 ` [RFC 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-04-18 9:05 ` [RFC 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-04-18 9:05 ` [RFC 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-04-18 9:05 ` [RFC 12/18] net/hinic3: add device initailization Feifei Wang
2025-04-18 9:05 ` [RFC 13/18] net/hinic3: add dev ops Feifei Wang
2025-06-26 21:29 ` Stephen Hemminger
2025-06-26 21:30 ` Stephen Hemminger
2025-06-26 21:32 ` Stephen Hemminger
2025-04-18 9:06 ` [RFC 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-06-26 21:40 ` Stephen Hemminger
2025-06-26 21:41 ` Stephen Hemminger
2025-04-18 9:06 ` [RFC 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-04-18 9:06 ` [RFC 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-04-18 9:06 ` [RFC 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-04-18 18:25 ` Stephen Hemminger
2025-04-18 18:27 ` Stephen Hemminger
2025-04-18 18:28 ` Stephen Hemminger
2025-04-18 18:30 ` Stephen Hemminger
2025-04-18 9:06 ` [RFC 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-04-18 17:22 ` Stephen Hemminger
2025-04-19 2:52 ` 回复: " wangfeifei (J)
2025-05-29 8:14 ` [PATCH v1 00/18] add hinic3 pmd driver Feifei
2025-05-29 8:15 ` [PATCH v1 01/18] This patch adds some basic files to describe the hinic3 driver Feifei
2025-05-29 8:15 ` [PATCH v1 02/18] net/hinic3: add basic header files Feifei
2025-05-29 8:15 ` [PATCH v1 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei
2025-05-29 8:15 ` [PATCH v1 04/18] net/hinic3: add support for cmdq mechanism Feifei
2025-05-29 8:15 ` [PATCH v1 05/18] net/hinic3: add NIC event module Feifei
2025-05-29 8:15 ` [PATCH v1 06/18] net/hinic3: add eq mechanism function code Feifei
2025-05-29 8:15 ` [PATCH v1 07/18] net/hinic3: add mgmt module " Feifei
2025-05-29 8:15 ` [PATCH v1 08/18] net/hinic3: add module about hardware operation Feifei
2025-05-29 8:15 ` [PATCH v1 09/18] net/hinic3: add a NIC business configuration module Feifei
2025-05-29 8:15 ` [PATCH v1 10/18] net/hinic3: add context and work queue support Feifei
2025-05-29 8:15 ` [PATCH v1 11/18] net/hinic3: add a mailbox communication module Feifei
2025-05-29 8:15 ` [PATCH v1 12/18] net/hinic3: add device initialization Feifei
2025-05-29 8:15 ` [PATCH v1 13/18] net/hinic3: add dev ops Feifei
2025-05-29 8:15 ` [PATCH v1 14/18] net/hinic3: add Rx/Tx functions Feifei
2025-05-29 8:15 ` [PATCH v1 15/18] net/hinic3: add MML and EEPROM access feature Feifei
2025-05-29 8:15 ` [PATCH v1 16/18] net/hinic3: add RSS promiscuous ops Feifei
2025-05-29 8:15 ` [PATCH v1 17/18] net/hinic3: add FDIR flow control module Feifei
2025-05-29 8:15 ` [PATCH v1 18/18] drivers/net: add hinic3 PMD build and doc files Feifei
2025-04-18 18:18 ` [RFC 00/18] add hinic3 PMD driver Stephen Hemminger
2025-04-19 2:44 ` 回复: " wangfeifei (J)
2025-04-18 18:20 ` Stephen Hemminger
2025-04-18 18:32 ` Stephen Hemminger
2025-04-19 3:30 ` 回复: " wangfeifei (J)
2025-06-04 2:52 ` Stephen Hemminger
2025-06-09 16:40 ` Stephen Hemminger
2025-06-25 2:27 ` [V2 00/18] add hinic3 pmd driver Feifei Wang
2025-06-25 2:27 ` [V2 01/18] add some basic files about hinic3 driver Feifei Wang
2025-06-26 15:46 ` Stephen Hemminger
2025-06-26 15:58 ` Stephen Hemminger
2025-06-25 2:27 ` [V2 02/18] net/hinic3: add basic header files Feifei Wang
2025-06-25 2:27 ` [V2 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-06-25 2:28 ` [V2 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-06-25 2:28 ` [V2 05/18] net/hinic3: add NIC event module Feifei Wang
2025-06-25 2:28 ` [V2 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-06-25 2:28 ` [V2 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-06-25 2:28 ` [V2 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-06-25 2:28 ` [V2 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-06-25 2:28 ` [V2 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-06-25 2:28 ` [V2 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-06-25 2:28 ` [V2 12/18] net/hinic3: add device initialization Feifei Wang
2025-06-25 2:28 ` [V2 13/18] net/hinic3: add dev ops Feifei Wang
2025-06-25 2:28 ` [V2 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-06-26 20:04 ` Stephen Hemminger
2025-06-25 2:28 ` [V2 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-06-25 2:28 ` [V2 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-06-25 2:28 ` [V2 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-06-26 15:59 ` Stephen Hemminger
2025-06-26 19:58 ` Stephen Hemminger
2025-06-25 2:28 ` [V2 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-06-26 15:47 ` [V2 00/18] add hinic3 pmd driver Stephen Hemminger
2025-06-26 21:41 ` Stephen Hemminger
2025-07-08 15:47 ` Stephen Hemminger
2025-06-28 7:25 ` [V3 " Feifei Wang
2025-06-28 7:25 ` [V3 01/18] add some basic files about hinic3 driver Feifei Wang
2025-06-29 17:57 ` Stephen Hemminger
2025-06-28 7:25 ` [V3 02/18] net/hinic3: add basic header files Feifei Wang
2025-06-28 7:25 ` [V3 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-06-28 7:25 ` [V3 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-06-28 7:25 ` [V3 05/18] net/hinic3: add NIC event module Feifei Wang
2025-06-28 7:25 ` [V3 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-06-28 7:25 ` [V3 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-06-28 7:25 ` [V3 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-06-28 7:25 ` [V3 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-06-28 7:25 ` [V3 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-06-28 7:25 ` [V3 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-06-28 7:25 ` [V3 12/18] net/hinic3: add device initialization Feifei Wang
2025-06-28 7:25 ` [V3 13/18] net/hinic3: add dev ops Feifei Wang
2025-06-28 7:25 ` [V3 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-06-29 18:00 ` Stephen Hemminger
2025-06-28 7:25 ` [V3 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-06-28 7:25 ` [V3 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-06-28 7:25 ` [V3 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-06-28 7:25 ` [V3 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-06-28 15:04 ` Stephen Hemminger
2025-07-01 1:41 ` [V4 00/18] add hinic3 pmd driver Feifei Wang
2025-07-01 1:41 ` [V4 01/18] doc: add some basic files to describe the hinic3 driver Feifei Wang
2025-07-01 1:41 ` [V4 02/18] net/hinic3: add basic header files Feifei Wang
2025-07-01 1:41 ` [V4 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-07-01 1:41 ` [V4 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-07-01 1:41 ` [V4 05/18] net/hinic3: add NIC event module Feifei Wang
2025-07-01 1:41 ` [V4 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-07-01 1:41 ` [V4 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-07-01 1:41 ` [V4 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-07-01 1:42 ` [V4 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-07-01 1:42 ` [V4 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-07-01 1:42 ` [V4 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-07-01 1:42 ` [V4 12/18] net/hinic3: add device initialization Feifei Wang
2025-07-01 1:42 ` [V4 13/18] net/hinic3: add dev ops Feifei Wang
2025-07-01 1:42 ` [V4 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-07-01 1:42 ` [V4 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-07-01 1:42 ` [V4 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-07-01 1:42 ` [V4 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-07-01 1:42 ` [V4 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-07-01 13:53 ` [V4 00/18] add hinic3 pmd driver Stephen Hemminger
2025-07-02 2:09 ` [V5 " Feifei Wang
2025-07-02 2:09 ` [V5 01/18] doc: add some basic files to describe the hinic3 driver Feifei Wang
2025-08-21 1:25 ` fengchengwen
2025-07-02 2:09 ` [V5 02/18] net/hinic3: add basic header files Feifei Wang
2025-08-03 17:19 ` Stephen Hemminger
2025-08-21 1:51 ` fengchengwen
2025-07-02 2:09 ` [V5 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-08-21 2:13 ` fengchengwen
2025-07-02 2:09 ` [V5 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-08-21 3:03 ` fengchengwen
2025-07-02 2:09 ` [V5 05/18] net/hinic3: add NIC event module Feifei Wang
2025-08-21 3:25 ` fengchengwen
2025-07-02 2:09 ` [V5 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-08-21 4:06 ` fengchengwen
2025-07-02 2:09 ` [V5 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-07-02 2:09 ` [V5 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-08-21 6:20 ` fengchengwen
2025-07-02 2:09 ` [V5 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-08-21 6:34 ` fengchengwen
2025-07-02 2:09 ` [V5 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-08-21 6:41 ` fengchengwen
2025-07-02 2:09 ` [V5 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-08-21 6:48 ` fengchengwen
2025-07-02 2:09 ` [V5 12/18] net/hinic3: add device initialization Feifei Wang
2025-08-21 6:58 ` fengchengwen
2025-07-02 2:09 ` [V5 13/18] net/hinic3: add dev ops Feifei Wang
2025-08-03 17:24 ` Stephen Hemminger
2025-08-21 7:43 ` fengchengwen
2025-07-02 2:09 ` [V5 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-08-21 8:05 ` fengchengwen
2025-07-02 2:09 ` [V5 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-08-21 8:13 ` fengchengwen
2025-07-02 2:09 ` [V5 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-08-21 8:22 ` fengchengwen
2025-07-02 2:09 ` [V5 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-08-21 8:38 ` fengchengwen
2025-07-02 2:09 ` [V5 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-08-21 8:44 ` fengchengwen
2025-07-02 14:55 ` [V5 00/18] add hinic3 pmd driver Stephen Hemminger
2025-07-07 3:27 ` 回复: " wangfeifei (J)
2025-07-07 3:32 ` Stephen Hemminger
2025-07-07 7:39 ` 回复: " wangfeifei (J)
2025-08-30 12:39 ` Feifei Wang
2025-08-30 12:39 ` [V5 01/18] doc: add some basic files to describe the hinic3 driver Feifei Wang
2025-08-30 12:39 ` [V5 02/18] net/hinic3: add basic header files Feifei Wang
2025-08-30 12:39 ` [V5 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-08-30 12:39 ` [V5 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-08-30 12:39 ` [V5 05/18] net/hinic3: add NIC event module Feifei Wang
2025-08-30 12:39 ` [V5 06/18] net/hinic3: add eq mechanism function code Feifei Wang
2025-08-30 12:39 ` [V5 07/18] net/hinic3: add mgmt module " Feifei Wang
2025-08-30 12:39 ` [V5 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-08-30 12:39 ` [V5 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-08-30 12:39 ` [V5 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-08-30 12:39 ` [V5 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-08-30 12:39 ` [V5 12/18] net/hinic3: add device initialization Feifei Wang
2025-08-30 12:39 ` [V5 13/18] net/hinic3: add dev ops Feifei Wang
2025-08-30 12:39 ` [V5 14/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-08-30 12:39 ` [V5 15/18] net/hinic3: add MML and EEPROM access feature Feifei Wang
2025-08-30 12:39 ` [V5 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-08-30 12:39 ` [V5 17/18] net/hinic3: add FDIR flow control module Feifei Wang
2025-08-30 12:39 ` [V5 18/18] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-08-30 12:43 ` [V6 00/17] add-hinic3-PMD-driver Feifei Wang
2025-08-30 12:43 ` [V6 01/17] doc: add hinic3 driver Feifei Wang
2025-08-30 12:43 ` [V6 02/17] net/hinic3: add basic header files Feifei Wang
2025-08-30 12:43 ` [V6 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-08-30 12:43 ` [V6 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-08-30 12:43 ` [V6 05/17] net/hinic3: add NIC event module Feifei Wang
2025-08-30 12:43 ` [V6 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-08-30 12:43 ` [V6 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-08-30 12:43 ` [V6 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-08-30 12:43 ` [V6 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-08-30 12:43 ` [V6 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-08-30 12:43 ` [V6 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-08-30 12:43 ` [V6 12/17] net/hinic3: add device initialization Feifei Wang
2025-08-30 12:43 ` [V6 13/17] net/hinic3: add dev ops Feifei Wang
2025-08-30 12:43 ` [V6 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-08-30 12:43 ` [V6 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-08-30 12:43 ` [V6 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-08-30 12:43 ` [V6 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-08-30 15:38 ` [V6 00/17] add-hinic3-PMD-driver Stephen Hemminger
2025-08-30 15:42 ` Stephen Hemminger
2025-09-01 11:10 ` [V7 " Feifei Wang
2025-09-01 11:10 ` [V7 01/17] doc: add hinic3 driver Feifei Wang
2025-09-01 11:10 ` [V7 02/17] net/hinic3: add basic header files Feifei Wang
2025-09-01 11:10 ` [V7 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-01 11:10 ` [V7 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-01 11:10 ` [V7 05/17] net/hinic3: add NIC event module Feifei Wang
2025-09-01 11:10 ` [V7 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-09-01 11:10 ` [V7 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-09-01 11:10 ` [V7 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-09-01 11:10 ` [V7 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-01 11:10 ` [V7 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-09-01 11:10 ` [V7 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-01 11:10 ` [V7 12/17] net/hinic3: add device initialization Feifei Wang
2025-09-01 11:10 ` [V7 13/17] net/hinic3: add dev ops Feifei Wang
2025-09-01 11:10 ` [V7 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-01 11:10 ` [V7 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-01 11:10 ` [V7 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-01 11:10 ` [V7 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-09-02 4:01 ` [V7 00/17] add-hinic3-PMD-driver Feifei Wang
2025-09-02 4:01 ` [V7 01/17] doc: add hinic3 driver Feifei Wang
2025-09-02 4:01 ` [V7 02/17] net/hinic3: add basic header files Feifei Wang
2025-09-02 4:01 ` [V7 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-02 4:01 ` [V7 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-02 4:01 ` [V7 05/17] net/hinic3: add NIC event module Feifei Wang
2025-09-02 4:01 ` [V7 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-09-02 4:01 ` [V7 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-09-02 4:01 ` [V7 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-09-02 4:01 ` [V7 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-02 4:01 ` [V7 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-09-02 4:01 ` [V7 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-02 4:01 ` [V7 12/17] net/hinic3: add device initialization Feifei Wang
2025-09-02 4:01 ` [V7 13/17] net/hinic3: add dev ops Feifei Wang
2025-09-02 4:01 ` [V7 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-02 4:01 ` [V7 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-02 4:01 ` [V7 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-02 4:01 ` [V7 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-09-06 4:12 ` [V7 00/17] add-hinic3-PMD-driver Stephen Hemminger
2025-09-08 1:42 ` 回复: " wangfeifei (J)
2025-09-08 13:52 ` [V8 " Feifei Wang
2025-09-08 13:52 ` [V8 01/17] doc: add hinic3 driver Feifei Wang
2025-09-08 13:52 ` [V8 02/17] net/hinic3: add basic header files Feifei Wang
2025-09-08 13:52 ` [V8 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-08 13:52 ` [V8 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-08 13:52 ` [V8 05/17] net/hinic3: add NIC event module Feifei Wang
2025-09-08 13:52 ` [V8 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-09-08 13:52 ` [V8 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-09-08 13:52 ` [V8 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-09-08 13:52 ` [V8 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-08 13:52 ` [V8 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-09-08 13:52 ` [V8 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-08 13:52 ` [V8 12/17] net/hinic3: add device initialization Feifei Wang
2025-09-08 13:52 ` [V8 13/17] net/hinic3: add dev ops Feifei Wang
2025-09-08 13:52 ` [V8 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-08 13:52 ` [V8 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-08 13:52 ` [V8 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-08 13:52 ` [V8 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-09-08 23:12 ` [V8 00/17] add-hinic3-PMD-driver Stephen Hemminger
2025-09-09 7:31 ` [V9 " Feifei Wang
2025-09-09 7:31 ` [V9 01/17] doc: add hinic3 driver Feifei Wang
2025-09-09 7:31 ` [V9 02/17] net/hinic3: add basic header files Feifei Wang
2025-09-09 7:31 ` [V9 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-09 7:31 ` [V9 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-09 7:31 ` [V9 05/17] net/hinic3: add NIC event module Feifei Wang
2025-09-09 7:31 ` [V9 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-09-09 7:31 ` [V9 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-09-09 7:31 ` [V9 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-09-09 7:31 ` [V9 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-09 7:31 ` [V9 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-09-09 7:31 ` [V9 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-09 7:31 ` [V9 12/17] net/hinic3: add device initialization Feifei Wang
2025-09-09 7:31 ` [V9 13/17] net/hinic3: add dev ops Feifei Wang
2025-09-09 7:31 ` [V9 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-09 7:31 ` [V9 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-09 7:31 ` [V9 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-09 7:31 ` [V9 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-09-09 22:42 ` [V9 00/17] add-hinic3-PMD-driver Stephen Hemminger
2025-09-10 12:46 ` 回复: " wangfeifei (J)
2025-09-10 13:44 ` [V10 " Feifei Wang
2025-09-10 13:44 ` [V10 01/17] doc: add hinic3 driver Feifei Wang
2025-09-10 13:44 ` [V10 02/17] net/hinic3: add basic header files Feifei Wang
2025-09-10 13:44 ` [V10 03/17] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-10 13:44 ` [V10 04/17] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-10 13:44 ` [V10 05/17] net/hinic3: add NIC event module Feifei Wang
2025-09-10 13:44 ` [V10 06/17] net/hinic3: add eq mechanism Feifei Wang
2025-09-10 13:44 ` [V10 07/17] net/hinic3: add mgmt module function code Feifei Wang
2025-09-10 13:44 ` [V10 08/17] net/hinic3: add module about hardware operation Feifei Wang
2025-09-10 13:44 ` [V10 09/17] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-10 13:44 ` [V10 10/17] net/hinic3: add context and work queue support Feifei Wang
2025-09-10 13:44 ` [V10 11/17] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-10 13:44 ` [V10 12/17] net/hinic3: add device initialization Feifei Wang
2025-09-10 13:44 ` [V10 13/17] net/hinic3: add dev ops Feifei Wang
2025-09-12 16:25 ` Stephen Hemminger
2025-09-10 13:44 ` [V10 14/17] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-10 13:44 ` [V10 15/17] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-10 13:44 ` [V10 16/17] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-10 13:44 ` [V10 17/17] drivers/net: add hinic3 PMD build and doc files Feifei Wang
2025-09-17 10:15 ` [V11 00/18] add-hinic3-PMD-driver Feifei Wang
2025-09-17 10:15 ` [V11 01/18] doc: add hinic3 driver Feifei Wang
2025-09-17 10:15 ` [V11 02/18] net/hinic3: add basic header files Feifei Wang
2025-09-17 10:15 ` [V11 03/18] net/hinic3: add hardware interfaces of BAR operation Feifei Wang
2025-09-17 10:15 ` [V11 04/18] net/hinic3: add support for cmdq mechanism Feifei Wang
2025-09-17 10:15 ` [V11 05/18] net/hinic3: add NIC event module Feifei Wang
2025-09-17 10:15 ` [V11 06/18] net/hinic3: add eq mechanism Feifei Wang
2025-09-17 10:15 ` [V11 07/18] net/hinic3: add mgmt module function code Feifei Wang
2025-09-17 10:15 ` [V11 08/18] net/hinic3: add module about hardware operation Feifei Wang
2025-09-17 10:15 ` [V11 09/18] net/hinic3: add a NIC business configuration module Feifei Wang
2025-09-17 10:15 ` [V11 10/18] net/hinic3: add context and work queue support Feifei Wang
2025-09-17 10:15 ` [V11 11/18] net/hinic3: add a mailbox communication module Feifei Wang
2025-09-17 10:15 ` [V11 12/18] net/hinic3: add futions for initialization Feifei Wang
2025-09-17 10:15 ` [V11 13/18] net/hinic3: add dev ops Feifei Wang
2025-09-17 10:15 ` Feifei Wang [this message]
2025-09-17 10:15 ` [V11 15/18] net/hinic3: add Rx/Tx functions Feifei Wang
2025-09-17 10:15 ` [V11 16/18] net/hinic3: add RSS promiscuous ops Feifei Wang
2025-09-17 10:15 ` [V11 17/18] net/hinic3: add flow control and FDIR module Feifei Wang
2025-09-17 10:15 ` [V11 18/18] drivers/net: add hinic3 PMD build and doc files Feifei 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=20250917101604.17045-15-wff_light@vip.163.com \
--to=wff_light@vip.163.com \
--cc=anatoly.burakov@intel.com \
--cc=chenyi221@huawei.com \
--cc=dev@dpdk.org \
--cc=wangfeifei40@huawei.com \
--cc=wangxin679@h-partners.com \
/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).