> From: Junfeng Guo <junfeng....@intel.com> > Sent: 2022年10月26日 16:43 > To: Zhang, Qi Z <qi.z.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; > ferruh.yi...@xilinx.com; Xing, Beilei <beilei.x...@intel.com> > Cc: dev@dpdk.org; Li, Xiaoyun <xiaoyun...@intel.com>; > awogbem...@google.com; Richardson, Bruce <bruce.richard...@intel.com>; > hemant.agra...@nxp.com; step...@networkplumber.org; Xia, Chenbo > <chenbo....@intel.com>; Zhang, Helin <helin.zh...@intel.com>; Guo, Junfeng > <junfeng....@intel.com>; sta...@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: sta...@dpdk.org > > Signed-off-by: Junfeng Guo <junfeng....@intel.com>
Tested-by: Daxue Gao <daxuex....@intel.com>