[PATCH 3/4] net/cpfl: introduce CPF common library
Qiao, Wenjing
wenjing.qiao at intel.com
Fri Sep 1 10:14:20 CEST 2023
Although it appears that 'hw' is being used, it is not actually being used. Look at the following macros which use 'hw':
#define idpf_calloc(h, c, s) rte_zmalloc(NULL, (c) * (s), 0)
#define idpf_free(h, m) rte_free(m)
If I remove '__rte_unused', it will show -Wunused-parameter warning when compiling.
-----Original Message-----
From: Xing, Beilei <beilei.xing at intel.com>
Sent: Thursday, August 24, 2023 5:20 PM
To: Qiao, Wenjing <wenjing.qiao at intel.com>; Zhang, Yuying <yuying.zhang at intel.com>
Cc: dev at dpdk.org; Liu, Mingxia <mingxia.liu at intel.com>
Subject: RE: [PATCH 3/4] net/cpfl: introduce CPF common library
> -----Original Message-----
> From: Qiao, Wenjing <wenjing.qiao at intel.com>
> Sent: Friday, August 11, 2023 5:31 PM
> To: Zhang, Yuying <yuying.zhang at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Liu, Mingxia <mingxia.liu at intel.com>; Qiao, Wenjing
> <wenjing.qiao at intel.com>
> Subject: [PATCH 3/4] net/cpfl: introduce CPF common library
>
> Add common library support for CPFL rte_flow to create/delete rules.
>
> Signed-off-by: Wenjing Qiao <wenjing.qiao at intel.com>
> ---
> +int
> +cpfl_ctlq_alloc_ring_res(struct idpf_hw *hw __rte_unused, struct
hw is used, so remove __rte_unused.
Please check other functions.
> idpf_ctlq_info *cq,
> + struct cpfl_ctlq_create_info *qinfo) {
More information about the dev
mailing list