[dpdk-dev] [PATCH v8 2/6] net/i40e: add dynamic device personalization processing

Ferruh Yigit ferruh.yigit at intel.com
Thu Mar 30 16:06:49 CEST 2017


On 3/30/2017 3:51 AM, Beilei Xing wrote:
> Add support for loading a dynamic device personalization
> profile.
> 
> Signed-off-by: Beilei Xing <beilei.xing at intel.com>

<...>

> +/**
> + * Load/Unload a ddp package
> + *
> + * @param port
> + *    The port identifier of the Ethernet device.
> + * @param buff
> + *    buffer of package.
> + * @param size
> + *    size of buffer.
> + * @param op
> + *   Operation of package processing
> + * @return
> + *   - (0) if successful.
> + *   - (-ENODEV) if *port* invalid.
> + *   - (-EINVAL) if bad parameter.
> + *   - (1) if profile exists.
> + */
> +int rte_pmd_i40e_process_ddp_package(uint8_t port, uint8_t *buff,
> +				     uint32_t size,
> +				     enum rte_pmd_i40e_package_op op);

Doxygen warnings [1] fixed while applying.

[1]
.../net/i40e/rte_pmd_i40e.h:481: warning: Found unknown command `\port'
.../net/i40e/rte_pmd_i40e.h:482: warning: Found unknown command `\buff'
.../net/i40e/rte_pmd_i40e.h:483: warning: Found unknown command `\size'


More information about the dev mailing list