Re: [PATCH v4 04/14] net/sxe: add link, flow ctrl, mac ops, mtu ops function

Stephen Hemminger
2025-07-09T16:13:41Z

On Wed, 9 Jul 2025 04:43:04 -0400
Jie Liu <liujie5@linkdatatechnology.com> wrote:

> +++ b/drivers/net/sxe/pf/sxe_filter.h
> @@ -0,0 +1,55 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright (C), 2022, Linkdata Technology Co., Ltd.
> + */
> +
> +#ifndef __SXE_FILTER_H__
> +#define __SXE_FILTER_H__
> +
> +#include <rte_ether.h>
> +#include "sxe_dpdk_version.h"
> +#include <ethdev_driver.h>
> +#include "sxe_types.h"
> +#include "sxe_hw.h"
> +
> +struct sxe_adapter;
> +
> +#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"

Use RTE_ETHER_ADDR_PRT_FMT or rte_ether_format_addr