DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Xu, Rosen" <rosen.xu@intel.com>
To: "Huang, Wei" <wei.huang@intel.com>, "dev@dpdk.org" <dev@dpdk.org>,
	"thomas@monjalon.net" <thomas@monjalon.net>,
	"nipun.gupta@nxp.com" <nipun.gupta@nxp.com>,
	"hemant.agrawal@nxp.com" <hemant.agrawal@nxp.com>
Cc: "stable@dpdk.org" <stable@dpdk.org>,
	"Zhang, Tianfei" <tianfei.zhang@intel.com>,
	"Zhang, Qi Z" <qi.z.zhang@intel.com>
Subject: RE: [PATCH v3 1/5] raw/ifpga: remove experimental tag from ifpga APIs
Date: Thu, 26 May 2022 06:29:12 +0000	[thread overview]
Message-ID: <DM6PR11MB42527FB45299C13057CAB85489D99@DM6PR11MB4252.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1653535974-1379-2-git-send-email-wei.huang@intel.com>

Hi Wei,

> -----Original Message-----
> From: Huang, Wei <wei.huang@intel.com>
> Sent: Thursday, May 26, 2022 11:33
> To: dev@dpdk.org; thomas@monjalon.net; nipun.gupta@nxp.com;
> hemant.agrawal@nxp.com
> Cc: stable@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Tianfei
> <tianfei.zhang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>; Huang, Wei
> <wei.huang@intel.com>
> Subject: [PATCH v3 1/5] raw/ifpga: remove experimental tag from ifpga APIs
> 
> These APIs are introduced in DPDK 21.05 and have been tested in several
> release, experimental tag can be formally removed.
> 
> Signed-off-by: Wei Huang <wei.huang@intel.com>
> Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
> ---
>  drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---------------------------------------
>  drivers/raw/ifpga/version.map     |  7 ++----
>  2 files changed, 2 insertions(+), 53 deletions(-)
> 
> diff --git a/drivers/raw/ifpga/rte_pmd_ifpga.h
> b/drivers/raw/ifpga/rte_pmd_ifpga.h
> index 47d66ba..3fa5d34 100644
> --- a/drivers/raw/ifpga/rte_pmd_ifpga.h
> +++ b/drivers/raw/ifpga/rte_pmd_ifpga.h
> @@ -68,9 +68,6 @@
>  } rte_pmd_ifpga_phy_info;
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Get raw device ID from PCI address string like 'Domain:Bus:Dev.Func'
>   *
>   * @param pci_addr
> @@ -82,14 +79,10 @@
>   *   - (-EINVAL) if bad parameter.
>   *   - (-ENODEV) if FPGA is not probed by ifpga driver.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_get_dev_id(const char *pci_addr, uint16_t *dev_id);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Get current RSU status of the specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -103,14 +96,10 @@
>   *   - (-ENODEV) if dev_id is invalid.
>   *   - (-ENOMEM) if share data is not initialized.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_get_rsu_status(uint16_t dev_id, uint32_t *stat, uint32_t
> *prog);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Set current RSU status of the specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -124,14 +113,10 @@
>   *   - (-ENODEV) if dev_id is invalid.
>   *   - (-ENOMEM) if share data is not initialized.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_set_rsu_status(uint16_t dev_id, uint32_t stat, uint32_t
> prog);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Get FPGA property of specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -144,14 +129,10 @@
>   *   - (-EBUSY) if FPGA is rebooting.
>   *   - (-EIO) if failed to access hardware.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_get_property(uint16_t dev_id, rte_pmd_ifpga_prop *prop);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Get PHY information of specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -164,14 +145,10 @@
>   *   - (-EBUSY) if FPGA is rebooting.
>   *   - (-EIO) if failed to access hardware.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_get_phy_info(uint16_t dev_id, rte_pmd_ifpga_phy_info
> *info);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Update image flash of specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -187,15 +164,11 @@
>   *   - (-EBUSY) if FPGA is updating or rebooting.
>   *   - (-EIO) if failed to open image file.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_update_flash(uint16_t dev_id, const char *image,
>  	uint64_t *status);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Stop flash update of specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -208,14 +181,10 @@
>   *   - (-EINVAL) if bad parameter.
>   *   - (-EAGAIN) if failed with force.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_stop_update(uint16_t dev_id, int force);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Check current Intel FPGA status and change it to reboot status if it is idle
>   *
>   * @param dev_id
> @@ -226,14 +195,10 @@
>   *   - (-ENOMEM) if share data is not initialized.
>   *   - (-EBUSY) if FPGA is updating or rebooting.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_reboot_try(uint16_t dev_id);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Trigger full reconfiguration of specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -252,28 +217,20 @@
>   *   - (-EINVAL) if bad parameter.
>   *   - (-EBUSY) if failed to access BMC register.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_reload(uint16_t dev_id, int type, int page);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Get PCI bus the Intel FPGA driver register to
>   *
>   * @return
>   *   - (valid pointer) if successful.
>   *   - (NULL) if the Intel FPGA driver is not registered to any PCI bus.
>   */
> -__rte_experimental
>  const struct rte_pci_bus *
>  rte_pmd_ifpga_get_pci_bus(void);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Perform PR (partial reconfiguration) on specified Intel FPGA device
>   *
>   * @param dev_id
> @@ -287,17 +244,12 @@
>   *   - (-EINVAL) if bad parameter or operation failed.
>   *   - (-ENOMEM) if failed to allocate memory.
>   */
> -__rte_experimental
>  int
>  rte_pmd_ifpga_partial_reconfigure(uint16_t dev_id, int port, const char
> *file);
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change, or be removed, without prior
> notice
> - *
>   * Free software resources allocated by Intel FPGA PMD
>   */
> -__rte_experimental
>  void
>  rte_pmd_ifpga_cleanup(void);
> 
> diff --git a/drivers/raw/ifpga/version.map b/drivers/raw/ifpga/version.map
> index a1a6be2..ff71a45 100644
> --- a/drivers/raw/ifpga/version.map
> +++ b/drivers/raw/ifpga/version.map
> @@ -1,11 +1,6 @@
>  DPDK_22 {
> -	local: *;
> -};
> -
> -EXPERIMENTAL {
>  	global:
> 
> -	# added in 21.05
>  	rte_pmd_ifpga_get_dev_id;
>  	rte_pmd_ifpga_get_rsu_status;
>  	rte_pmd_ifpga_set_rsu_status;
> @@ -18,4 +13,6 @@ EXPERIMENTAL {
>  	rte_pmd_ifpga_get_pci_bus;
>  	rte_pmd_ifpga_partial_reconfigure;
>  	rte_pmd_ifpga_cleanup;
> +
> +	local: *;
>  };
> --
> 1.8.3.1

Reviewed-by Rosen Xu <rosen.xu@intel.com>

  reply	other threads:[~2022-05-26  6:29 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17  6:28 [PATCH v1 0/4] Support OFS card Wei Huang
2022-05-17  6:28 ` [PATCH v1 1/4] raw/ifpga: remove experimental tag from ifpga APIs Wei Huang
2022-05-17  6:28 ` [PATCH v1 2/4] raw/ifpga: remove vdev when ifpga is closed Wei Huang
2022-05-17  6:28 ` [PATCH v1 3/4] raw/ifpga: unregister interrupt in ifpga close function Wei Huang
2022-05-17  6:28 ` [PATCH v1 4/4] raw/ifpga: support ofs card probe Wei Huang
2022-05-18  8:29   ` [PATCH v2 0/4] Support OFS card Wei Huang
2022-05-18  8:29     ` [PATCH v2 1/4] raw/ifpga: remove experimental tag from ifpga APIs Wei Huang
2022-05-25  3:22       ` Zhang, Tianfei
2022-05-18  8:29     ` [PATCH v2 2/4] raw/ifpga: remove vdev when ifpga is closed Wei Huang
2022-05-25  4:09       ` Zhang, Tianfei
2022-05-18  8:29     ` [PATCH v2 3/4] raw/ifpga: unregister interrupt in ifpga close function Wei Huang
2022-05-25  3:26       ` Zhang, Tianfei
2022-05-18  8:29     ` [PATCH v2 4/4] raw/ifpga: support ofs card probe Wei Huang
2022-05-26  3:32     ` [PATCH v3 0/5] Support OFS card Wei Huang
2022-05-26  3:32       ` [PATCH v3 1/5] raw/ifpga: remove experimental tag from ifpga APIs Wei Huang
2022-05-26  6:29         ` Xu, Rosen [this message]
2022-05-26  3:32       ` [PATCH v3 2/5] raw/ifpga: remove vdev when ifpga is closed Wei Huang
2022-05-26  6:34         ` Xu, Rosen
2022-05-26  3:32       ` [PATCH v3 3/5] raw/ifpga: unregister interrupt in ifpga close function Wei Huang
2022-05-26  6:41         ` Xu, Rosen
2022-05-27  2:57         ` Zhang, Tianfei
2022-05-26  3:32       ` [PATCH v3 4/5] raw/ifpga: support ofs card probe Wei Huang
2022-05-26  6:46         ` Xu, Rosen
2022-05-27  3:10         ` Zhang, Tianfei
2022-05-26  3:32       ` [PATCH v3 5/5] guides/rawdevs: add description of ofs in ifpga doc Wei Huang
2022-05-26  6:47         ` Xu, Rosen
2022-05-27  3:19         ` Zhang, Tianfei
2022-05-27  8:33       ` [PATCH v4 0/5] Support OFS card Wei Huang
2022-05-27  8:33         ` [PATCH v4 1/5] raw/ifpga: remove experimental tag from ifpga APIs Wei Huang
2022-05-27  8:33         ` [PATCH v4 2/5] raw/ifpga: remove vdev when ifpga is closed Wei Huang
2022-06-06  6:46           ` Zhang, Tianfei
2022-06-07  6:02           ` Xu, Rosen
2022-05-27  8:33         ` [PATCH v4 3/5] raw/ifpga: unregister interrupt in ifpga close function Wei Huang
2022-06-07  6:03           ` Xu, Rosen
2022-05-27  8:33         ` [PATCH v4 4/5] raw/ifpga: support ofs card probe Wei Huang
2022-06-07  6:04           ` Xu, Rosen
2022-05-27  8:33         ` [PATCH v4 5/5] guides/rawdevs: add description of ofs in ifpga doc Wei Huang
2022-05-31  0:24           ` Zhang, Tianfei
2022-06-06  6:45           ` Zhang, Tianfei
2022-06-07  9:07         ` [PATCH v5 0/5] Support OFS card Wei Huang
2022-06-07  9:07           ` [PATCH v5 1/5] raw/ifpga: remove experimental tag from ifpga APIs Wei Huang
2022-06-07  9:07           ` [PATCH v5 2/5] raw/ifpga: remove vdev when ifpga is closed Wei Huang
2022-06-07  9:07           ` [PATCH v5 3/5] raw/ifpga: unregister interrupt in ifpga close function Wei Huang
2022-06-07  9:07           ` [PATCH v5 4/5] raw/ifpga: support ofs card probe Wei Huang
2022-06-07  9:07           ` [PATCH v5 5/5] guides/rawdevs: add description of ofs in ifpga doc Wei Huang
2022-06-07 13:53           ` [PATCH v5 0/5] Support OFS card Thomas Monjalon
2022-05-25  3:18   ` [PATCH v1 4/4] raw/ifpga: support ofs card probe Zhang, Tianfei

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=DM6PR11MB42527FB45299C13057CAB85489D99@DM6PR11MB4252.namprd11.prod.outlook.com \
    --to=rosen.xu@intel.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=nipun.gupta@nxp.com \
    --cc=qi.z.zhang@intel.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \
    --cc=tianfei.zhang@intel.com \
    --cc=wei.huang@intel.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).