[dpdk-dev] [PATCH v3 4/7] net/nfp: prototype common functions in header file

Ferruh Yigit ferruh.yigit at intel.com
Tue Aug 17 16:44:19 CEST 2021


On 7/29/2021 2:47 PM, Heinrich Kuhn wrote:
> The majority of "ethdev" type functions are used for both PF devices and
> VF devices. Prototype these functions in the nfp_net_pmd header file in
> preparation of splitting PF and VF specific functions.
> 
> Signed-off-by: Heinrich Kuhn <heinrich.kuhn at netronome.com>
> Signed-off-by: Simon Horman <simon.horman at corigine.com>
> ---
>  drivers/net/nfp/nfp_net.c     | 87 +++++++++++++----------------------
>  drivers/net/nfp/nfp_net_pmd.h | 49 ++++++++++++++++++++
>  2 files changed, 81 insertions(+), 55 deletions(-)
> 

<...>


Following functions seems only used in this file, and you may want to keep them
'static':
nfp_net_dev_link_status_print
nfp_net_irq_unmask
nfp_net_dev_interrupt_delayed_handler
nfp_net_rss_reta_write
nfp_net_rss_hash_write

(I may be missed some, you may want to double check all.)

Rest of the set looks good to me.

Thanks,
ferruh


More information about the dev mailing list