[PATCH] net/gve: fix meson build failure on non-Linux platforms

Gao, DaxueX daxuex.gao at intel.com
Wed Oct 26 12:05:03 CEST 2022


> From: Junfeng Guo <junfeng.guo at intel.com>
> Sent: 2022年10月26日 16:43
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>;
> ferruh.yigit at xilinx.com; Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Li, Xiaoyun <xiaoyun.li at intel.com>;
> awogbemila at google.com; Richardson, Bruce <bruce.richardson at intel.com>;
> hemant.agrawal at nxp.com; stephen at networkplumber.org; Xia, Chenbo
> <chenbo.xia at intel.com>; Zhang, Helin <helin.zhang at intel.com>; Guo, Junfeng
> <junfeng.guo at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/gve: fix meson build failure on non-Linux platforms
>
> Meson build may fail on FreeBSD with gcc and clang, due to missing the header
> file linux/pci_regs.h on non-Linux platform. Thus, in this patch, we removed the
> file include and added the used Macros derived from linux/pci_regs.h.
>
> Fixes: 3047a5ac8e66 ("net/gve: add support for device initialization")
> Cc: stable at dpdk.org
>
> Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>

Tested-by: Daxue Gao <daxuex.gao at intel.com>


More information about the stable mailing list