DPDK patches and discussions
 help / color / mirror / Atom feed
From: fengchengwen <fengchengwen@huawei.com>
To: Feifei Wang <wff_light@vip.163.com>, <dev@dpdk.org>
Cc: Xin Wang <wangxin679@h-partners.com>,
	Feifei Wang <wangfeifei40@huawei.com>,
	Yi Chen <chenyi221@huawei.com>
Subject: Re: [V5 16/18] net/hinic3: add RSS promiscuous ops
Date: Thu, 21 Aug 2025 16:22:07 +0800	[thread overview]
Message-ID: <be9dd349-3b58-4f40-b630-c2af10c85f50@huawei.com> (raw)
In-Reply-To: <20250702020953.599-17-wff_light@vip.163.com>



On 7/2/2025 10:09 AM, Feifei Wang wrote:
> From: Xin Wang <wangxin679@h-partners.com>
> 
> 
> Add RSS and promiscuous ops related 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 | 370 +++++++++++++++++++++++++++++
> 
>  drivers/net/hinic3/hinic3_ethdev.h |  31 +++
> 
>  2 files changed, 401 insertions(+)
> 
> 
> 
> diff --git a/drivers/net/hinic3/hinic3_ethdev.c b/drivers/net/hinic3/hinic3_ethdev.c
> 
> index ac36c49afc..0807e017c2 100644
> 
> --- a/drivers/net/hinic3/hinic3_ethdev.c
> 
> +++ b/drivers/net/hinic3/hinic3_ethdev.c
> 
> @@ -2277,6 +2277,281 @@ hinic3_dev_allmulticast_disable(struct rte_eth_dev *dev)
> 
>  	return 0;
> 
>  }
> 
>  
> 
> +/**
> 
> + * Enable promiscuous mode.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_dev_promiscuous_enable(struct rte_eth_dev *dev)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	u32 rx_mode;
> 
> +	int err;
> 
> +
> 
> +	err = hinic3_mutex_lock(&nic_dev->rx_mode_mutex);
> 
> +	if (err)
> 
> +		return err;
> 
> +
> 
> +	rx_mode = nic_dev->rx_mode | HINIC3_RX_MODE_PROMISC;
> 
> +
> 
> +	err = hinic3_set_rx_mode(nic_dev->hwdev, rx_mode);
> 
> +	if (err) {
> 
> +		hinic3_mutex_unlock(&nic_dev->rx_mode_mutex);
> 
> +		PMD_DRV_LOG(ERR, "Enable promiscuous failed");
> 
> +		return err;
> 
> +	}
> 
> +
> 
> +	nic_dev->rx_mode = rx_mode;
> 
> +
> 
> +	hinic3_mutex_unlock(&nic_dev->rx_mode_mutex);
> 
> +
> 
> +	PMD_DRV_LOG(INFO,
> 
> +		    "Enable promiscuous, nic_dev: %s, port_id: %d, promisc: %d",
> 
> +		    nic_dev->dev_name, dev->data->port_id,
> 
> +		    dev->data->promiscuous);
> 
> +	return 0;
> 
> +}
> 
> +
> 
> +/**
> 
> + * Disable promiscuous mode.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_dev_promiscuous_disable(struct rte_eth_dev *dev)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	u32 rx_mode;
> 
> +	int err;
> 
> +
> 
> +	err = hinic3_mutex_lock(&nic_dev->rx_mode_mutex);
> 
> +	if (err)
> 
> +		return err;
> 
> +
> 
> +	rx_mode = nic_dev->rx_mode & (~HINIC3_RX_MODE_PROMISC);
> 
> +
> 
> +	err = hinic3_set_rx_mode(nic_dev->hwdev, rx_mode);
> 
> +	if (err) {
> 
> +		hinic3_mutex_unlock(&nic_dev->rx_mode_mutex);
> 
> +		PMD_DRV_LOG(ERR, "Disable promiscuous failed");
> 
> +		return err;
> 
> +	}
> 
> +
> 
> +	nic_dev->rx_mode = rx_mode;
> 
> +
> 
> +	hinic3_mutex_unlock(&nic_dev->rx_mode_mutex);
> 
> +
> 
> +	PMD_DRV_LOG(INFO,
> 
> +		"Disable promiscuous, nic_dev: %s, port_id: %d, promisc: %d",
> 
> +		nic_dev->dev_name, dev->data->port_id, dev->data->promiscuous);
> 
> +	return 0;
> 
> +}
> 
> +
> 
> +/**
> 
> + * Get flow control configuration, including auto-negotiation and RX/TX pause
> 
> + * settings.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + *
> 
> + * @param[out] fc_conf
> 
> + * The flow control configuration to be filled.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +
> 
> +/**
> 
> + * Update the RSS hash key and RSS hash type.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[in] rss_conf
> 
> + * RSS configuration data.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_rss_hash_update(struct rte_eth_dev *dev,
> 
> +		       struct rte_eth_rss_conf *rss_conf)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	struct hinic3_rss_type rss_type = {0};
> 
> +	u64 rss_hf = rss_conf->rss_hf;
> 
> +	int err = 0;
> 
> +
> 
> +	if (nic_dev->rss_state == HINIC3_RSS_DISABLE) {
> 
> +		if (rss_hf != 0)
> 
> +			return -EINVAL;
> 
> +
> 
> +		PMD_DRV_LOG(INFO, "RSS is not enabled");
> 
> +		return 0;
> 
> +	}
> 
> +
> 
> +	if (rss_conf->rss_key_len > HINIC3_RSS_KEY_SIZE) {
> 
> +		PMD_DRV_LOG(ERR, "Invalid RSS key, rss_key_len: %d",
> 
> +			    rss_conf->rss_key_len);
> 
> +		return -EINVAL;
> 
> +	}
> 
> +
> 
> +	if (rss_conf->rss_key) {
> 
> +		err = hinic3_rss_set_hash_key(nic_dev->hwdev, nic_dev->rss_key,
> 
> +					      HINIC3_RSS_KEY_SIZE);
> 
> +		if (err) {
> 
> +			PMD_DRV_LOG(ERR, "Set RSS hash key failed");
> 
> +			return err;
> 
> +		}
> 
> +		memcpy((void *)nic_dev->rss_key, (void *)rss_conf->rss_key,
> 
> +		       (size_t)rss_conf->rss_key_len);
> 
> +	}
> 
> +
> 
> +	rss_type.ipv4 = (rss_hf & (RTE_ETH_RSS_IPV4 | RTE_ETH_RSS_FRAG_IPV4 |
> 
> +				   RTE_ETH_RSS_NONFRAG_IPV4_OTHER))
> 
> +				? 1
> 
> +				: 0;
> 
> +	rss_type.tcp_ipv4 = (rss_hf & RTE_ETH_RSS_NONFRAG_IPV4_TCP) ? 1 : 0;
> 
> +	rss_type.ipv6 = (rss_hf & (RTE_ETH_RSS_IPV6 | RTE_ETH_RSS_FRAG_IPV6 |
> 
> +				   RTE_ETH_RSS_NONFRAG_IPV6_OTHER))
> 
> +				? 1
> 
> +				: 0;
> 
> +	rss_type.ipv6_ext = (rss_hf & RTE_ETH_RSS_IPV6_EX) ? 1 : 0;
> 
> +	rss_type.tcp_ipv6 = (rss_hf & RTE_ETH_RSS_NONFRAG_IPV6_TCP) ? 1 : 0;
> 
> +	rss_type.tcp_ipv6_ext = (rss_hf & RTE_ETH_RSS_IPV6_TCP_EX) ? 1 : 0;
> 
> +	rss_type.udp_ipv4 = (rss_hf & RTE_ETH_RSS_NONFRAG_IPV4_UDP) ? 1 : 0;
> 
> +	rss_type.udp_ipv6 = (rss_hf & RTE_ETH_RSS_NONFRAG_IPV6_UDP) ? 1 : 0;
> 
> +
> 
> +	err = hinic3_set_rss_type(nic_dev->hwdev, rss_type);
> 
> +	if (err)
> 
> +		PMD_DRV_LOG(ERR, "Set RSS type failed");
> 
> +
> 
> +	return err;
> 
> +}
> 
> +
> 
> +/**
> 
> + * Get the RSS hash configuration.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[out] rss_conf
> 
> + * RSS configuration data.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_rss_conf_get(struct rte_eth_dev *dev, struct rte_eth_rss_conf *rss_conf)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	struct hinic3_rss_type rss_type = {0};
> 
> +	int err;
> 
> +
> 
> +	if (!rss_conf)
> 
> +		return -EINVAL;
> 
> +
> 
> +	if (nic_dev->rss_state == HINIC3_RSS_DISABLE) {
> 
> +		rss_conf->rss_hf = 0;
> 
> +		PMD_DRV_LOG(INFO, "RSS is not enabled");
> 
> +		return 0;
> 
> +	}
> 
> +
> 
> +	if (rss_conf->rss_key && rss_conf->rss_key_len >= HINIC3_RSS_KEY_SIZE) {
> 
> +		/*
> 
> +		 * Get RSS key from driver to reduce the frequency of the MPU
> 
> +		 * accessing the RSS memory.
> 
> +		 */
> 
> +		rss_conf->rss_key_len = sizeof(nic_dev->rss_key);
> 
> +		memcpy((void *)rss_conf->rss_key, (void *)nic_dev->rss_key,
> 
> +		       (size_t)rss_conf->rss_key_len);
> 
> +	}
> 
> +
> 
> +	err = hinic3_get_rss_type(nic_dev->hwdev, &rss_type);
> 
> +	if (err)
> 
> +		return err;
> 
> +
> 
> +	rss_conf->rss_hf = 0;
> 
> +	rss_conf->rss_hf |=
> 
> +		rss_type.ipv4 ? (RTE_ETH_RSS_IPV4 | RTE_ETH_RSS_FRAG_IPV4 |
> 
> +				 RTE_ETH_RSS_NONFRAG_IPV4_OTHER)
> 
> +			      : 0;
> 
> +	rss_conf->rss_hf |= rss_type.tcp_ipv4 ? RTE_ETH_RSS_NONFRAG_IPV4_TCP
> 
> +					      : 0;
> 
> +	rss_conf->rss_hf |=
> 
> +		rss_type.ipv6 ? (RTE_ETH_RSS_IPV6 | RTE_ETH_RSS_FRAG_IPV6 |
> 
> +				 RTE_ETH_RSS_NONFRAG_IPV6_OTHER)
> 
> +			      : 0;
> 
> +	rss_conf->rss_hf |= rss_type.ipv6_ext ? RTE_ETH_RSS_IPV6_EX : 0;
> 
> +	rss_conf->rss_hf |= rss_type.tcp_ipv6 ? RTE_ETH_RSS_NONFRAG_IPV6_TCP
> 
> +					      : 0;
> 
> +	rss_conf->rss_hf |= rss_type.tcp_ipv6_ext ? RTE_ETH_RSS_IPV6_TCP_EX : 0;
> 
> +	rss_conf->rss_hf |= rss_type.udp_ipv4 ? RTE_ETH_RSS_NONFRAG_IPV4_UDP
> 
> +					      : 0;
> 
> +	rss_conf->rss_hf |= rss_type.udp_ipv6 ? RTE_ETH_RSS_NONFRAG_IPV6_UDP
> 
> +					      : 0;
> 
> +
> 
> +	return 0;
> 
> +}
> 
> +
> 
> +/**
> 
> + * Get the RETA indirection table.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[out] reta_conf
> 
> + * Pointer to RETA configuration structure array.
> 
> + * @param[in] reta_size
> 
> + * Size of the RETA table.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_rss_reta_query(struct rte_eth_dev *dev,
> 
> +		      struct rte_eth_rss_reta_entry64 *reta_conf,
> 
> +		      uint16_t reta_size)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	u32 indirtbl[HINIC3_RSS_INDIR_SIZE] = {0};
> 
> +	u16 idx, shift;
> 
> +	u16 i;
> 
> +	int err;
> 
> +
> 
> +	if (nic_dev->rss_state == HINIC3_RSS_DISABLE) {
> 
> +		PMD_DRV_LOG(INFO, "RSS is not enabled");
> 
> +		return 0;
> 
> +	}
> 
> +
> 
> +	if (reta_size != HINIC3_RSS_INDIR_SIZE) {
> 
> +		PMD_DRV_LOG(ERR, "Invalid reta size, reta_size: %d", reta_size);
> 
> +		return -EINVAL;
> 
> +	}
> 
> +
> 
> +	err = hinic3_rss_get_indir_tbl(nic_dev->hwdev, indirtbl,
> 
> +				       HINIC3_RSS_INDIR_SIZE);
> 
> +	if (err) {
> 
> +		PMD_DRV_LOG(ERR, "Get RSS retas table failed, error: %d", err);
> 
> +		return err;
> 
> +	}
> 
> +
> 
> +	for (i = 0; i < reta_size; i++) {
> 
> +		idx = i / RTE_ETH_RETA_GROUP_SIZE;
> 
> +		shift = i % RTE_ETH_RETA_GROUP_SIZE;
> 
> +		if (reta_conf[idx].mask & (1ULL << shift))
> 
> +			reta_conf[idx].reta[shift] = (uint16_t)indirtbl[i];
> 
> +	}
> 
> +
> 
> +	return 0;
> 
> +}
> 
> +
> 
>  static int
> 
>  hinic3_get_eeprom(__rte_unused struct rte_eth_dev *dev,
> 
>  		  struct rte_dev_eeprom_info *info)
> 
> @@ -2287,6 +2562,68 @@ hinic3_get_eeprom(__rte_unused struct rte_eth_dev *dev,
> 
>  				  &info->length, MAX_BUF_OUT_LEN);
> 
>  }
> 
>  
> 
> +/**
> 
> + * Update the RETA indirection table.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[in] reta_conf
> 
> + * Pointer to RETA configuration structure array.
> 
> + * @param[in] reta_size
> 
> + * Size of the RETA table.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_rss_reta_update(struct rte_eth_dev *dev,
> 
> +		       struct rte_eth_rss_reta_entry64 *reta_conf,
> 
> +		       uint16_t reta_size)
> 
> +{
> 
> +	struct hinic3_nic_dev *nic_dev = HINIC3_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> 
> +	u32 indirtbl[HINIC3_RSS_INDIR_SIZE] = {0};
> 
> +	u16 idx, shift;
> 
> +	u16 i;
> 
> +	int err;
> 
> +
> 
> +	if (nic_dev->rss_state == HINIC3_RSS_DISABLE)
> 
> +		return 0;
> 
> +
> 
> +	if (reta_size != HINIC3_RSS_INDIR_SIZE) {
> 
> +		PMD_DRV_LOG(ERR, "Invalid reta size, reta_size: %d", reta_size);
> 
> +		return -EINVAL;
> 
> +	}
> 
> +
> 
> +	err = hinic3_rss_get_indir_tbl(nic_dev->hwdev, indirtbl,
> 
> +				       HINIC3_RSS_INDIR_SIZE);
> 
> +	if (err)
> 
> +		return err;
> 
> +
> 
> +	/* Update RSS reta table. */
> 
> +	for (i = 0; i < reta_size; i++) {
> 
> +		idx = i / RTE_ETH_RETA_GROUP_SIZE;
> 
> +		shift = i % RTE_ETH_RETA_GROUP_SIZE;
> 
> +		if (reta_conf[idx].mask & (1ULL << shift))
> 
> +			indirtbl[i] = reta_conf[idx].reta[shift];
> 
> +	}
> 
> +
> 
> +	for (i = 0; i < reta_size; i++) {
> 
> +		if (indirtbl[i] >= nic_dev->num_rqs) {
> 
> +			PMD_DRV_LOG(ERR,
> 
> +				"Invalid reta entry, index: %d, num_rqs: %d",
> 
> +				indirtbl[i], nic_dev->num_rqs);
> 
> +			return -EFAULT;
> 
> +		}
> 
> +	}
> 
> +
> 
> +	err = hinic3_rss_set_indir_tbl(nic_dev->hwdev, indirtbl,
> 
> +				       HINIC3_RSS_INDIR_SIZE);
> 
> +	if (err)
> 
> +		PMD_DRV_LOG(ERR, "Set RSS reta table failed");
> 
> +
> 
> +	return err;
> 
> +}
> 
> +
> 
>  /**
> 
>   * Get device generic statistics.
> 
>   *
> 
> @@ -2857,6 +3194,29 @@ hinic3_set_mc_addr_list(struct rte_eth_dev *dev,
> 
>  	return 0;
> 
>  }
> 
>  
> 
> +/**
> 
> + * Manage flow director filter operations.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[in] filter_type
> 
> + * Filter type.
> 
> + * @param[in] filter_op
> 
> + * Operation to perform.
> 
> + * @param[in] arg
> 
> + * Pointer to operation-specific structure.
> 
> + *
> 
> + * @return
> 
> + * 0 on success, non-zero on failure.
> 
> + */
> 
> +static int
> 
> +hinic3_dev_filter_ctrl(struct rte_eth_dev *dev, const struct rte_flow_ops **arg)
> 
> +{
> 
> +	RTE_SET_USED(dev);
> 
> +	*arg = &hinic3_flow_ops;
> 
> +	return 0;
> 
> +}
> 
> +
> 
>  static int
> 
>  hinic3_get_reg(__rte_unused struct rte_eth_dev *dev,
> 
>  	       __rte_unused struct rte_dev_reg_info *regs)
> 
> @@ -2890,6 +3250,12 @@ static const struct eth_dev_ops hinic3_pmd_ops = {
> 
>  	.vlan_offload_set              = hinic3_vlan_offload_set,
> 
>  	.allmulticast_enable           = hinic3_dev_allmulticast_enable,
> 
>  	.allmulticast_disable          = hinic3_dev_allmulticast_disable,
> 
> +	.promiscuous_enable            = hinic3_dev_promiscuous_enable,
> 
> +	.promiscuous_disable           = hinic3_dev_promiscuous_disable,
> 
> +	.rss_hash_update               = hinic3_rss_hash_update,
> 
> +	.rss_hash_conf_get             = hinic3_rss_conf_get,
> 
> +	.reta_update                   = hinic3_rss_reta_update,
> 
> +	.reta_query                    = hinic3_rss_reta_query,
> 
>  	.get_eeprom                    = hinic3_get_eeprom,
> 
>  	.stats_get                     = hinic3_dev_stats_get,
> 
>  	.stats_reset                   = hinic3_dev_stats_reset,
> 
> @@ -2931,6 +3297,10 @@ static const struct eth_dev_ops hinic3_pmd_vf_ops = {
> 
>  	.vlan_offload_set              = hinic3_vlan_offload_set,
> 
>  	.allmulticast_enable           = hinic3_dev_allmulticast_enable,
> 
>  	.allmulticast_disable          = hinic3_dev_allmulticast_disable,
> 
> +	.rss_hash_update               = hinic3_rss_hash_update,
> 
> +	.rss_hash_conf_get             = hinic3_rss_conf_get,
> 
> +	.reta_update                   = hinic3_rss_reta_update,
> 
> +	.reta_query                    = hinic3_rss_reta_query,
> 
>  	.get_eeprom                    = hinic3_get_eeprom,
> 
>  	.stats_get                     = hinic3_dev_stats_get,
> 
>  	.stats_reset                   = hinic3_dev_stats_reset,
> 
> diff --git a/drivers/net/hinic3/hinic3_ethdev.h b/drivers/net/hinic3/hinic3_ethdev.h
> 
> index e0d5b4602c..90ca21491f 100644
> 
> --- a/drivers/net/hinic3/hinic3_ethdev.h
> 
> +++ b/drivers/net/hinic3/hinic3_ethdev.h
> 
> @@ -97,6 +97,10 @@ struct hinic3_nic_dev {
> 
>  	u16 rx_buff_len;
> 
>  	u16 mtu_size;
> 
>  
> 
> +	u16 rss_state;
> 
> +	u8 num_rss; /**< Number of RSS queues. */
> 
> +	u8 rsvd0;   /**< Reserved field 0. */
> 
> +
> 
>  	u32 rx_mode;
> 
>  	u8 rx_queue_list[HINIC3_MAX_QUEUE_NUM];
> 
>  	rte_spinlock_t queue_list_lock;
> 
> @@ -106,6 +110,8 @@ struct hinic3_nic_dev {
> 
>  	u32 default_cos;
> 
>  	u32 rx_csum_en;
> 
>  
> 
> +	u8 rss_key[HINIC3_RSS_KEY_SIZE];
> 
> +
> 
>  	RTE_ATOMIC(u64) dev_status;
> 
>  
> 
>  	struct rte_ether_addr default_addr;
> 
> @@ -116,4 +122,29 @@ struct hinic3_nic_dev {
> 
>  	u32 vfta[HINIC3_VFTA_SIZE]; /**< VLAN bitmap. */
> 
>  };
> 
>  
> 
> +/**
> 
> + * Enable interrupt for the specified RX queue.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[in] queue_id
> 
> + * The ID of the receive queue for which the interrupt is being enabled.
> 
> + * @return
> 
> + * 0 on success, a negative error code on failure.
> 
> + */
> 
> +int hinic3_dev_rx_queue_intr_enable(struct rte_eth_dev *dev, uint16_t queue_id);
> 
> +
> 
> +/**
> 
> + * Disable interrupt for the specified RX queue.
> 
> + *
> 
> + * @param[in] dev
> 
> + * Pointer to ethernet device structure.
> 
> + * @param[in] queue_id
> 
> + * The ID of the receive queue for which the interrupt is being disabled.
> 
> + * @return
> 
> + * 0 on success, a negative error code on failure.
> 
> + */
> 
> +int hinic3_dev_rx_queue_intr_disable(struct rte_eth_dev *dev,
> 
> +				     uint16_t queue_id);

the above two function declation were not related to the subject, please remove them.

> 
> +
> 
>  #endif /* _HINIC3_ETHDEV_H_ */
> 


  reply	other threads:[~2025-08-21  8:22 UTC|newest]

Thread overview: 167+ 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 [this message]
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)

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=be9dd349-3b58-4f40-b630-c2af10c85f50@huawei.com \
    --to=fengchengwen@huawei.com \
    --cc=chenyi221@huawei.com \
    --cc=dev@dpdk.org \
    --cc=wangfeifei40@huawei.com \
    --cc=wangxin679@h-partners.com \
    --cc=wff_light@vip.163.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).