[dpdk-dev] [PATCH v2 03/11] net/octeontx_ep: add device init and uninit
Jerin Jacob
jerinjacobk at gmail.com
Tue Jan 19 13:06:53 CET 2021
On Mon, Jan 18, 2021 at 3:07 PM Nalla Pradeep <pnalla at marvell.com> wrote:
>
> Add basic init and uninit function which includes
> initializing fields of ethdev private structure.
>
> Signed-off-by: Nalla Pradeep <pnalla at marvell.com>
> ---
> drivers/net/octeontx_ep/otx_ep_common.h | 19 +++++-
> drivers/net/octeontx_ep/otx_ep_ethdev.c | 88 +++++++++++++++++++++++--
> 2 files changed, 101 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/net/octeontx_ep/otx_ep_common.h b/drivers/net/octeontx_ep/otx_ep_common.h
> index 3fa2de9ab3..1c31ea8de2 100644
> --- a/drivers/net/octeontx_ep/otx_ep_common.h
> +++ b/drivers/net/octeontx_ep/otx_ep_common.h
> @@ -4,11 +4,28 @@
> #ifndef _OTX_EP_COMMON_H_
> #define _OTX_EP_COMMON_H_
>
> +#define otx_ep_printf(level, fmt, args...) \
> + rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \
Use dynamic log scheme.
More information about the dev
mailing list