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

Stephen Hemminger stephen at networkplumber.org
Wed Jul 9 18:11:51 CEST 2025


On Wed,  9 Jul 2025 04:43:04 -0400
Jie Liu <liujie5 at 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


More information about the dev mailing list