net/enic: support meson

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Hyong Youb Kim 2018-03-07 18:47:02 -08:00 committed by Ferruh Yigit
parent 7895d17cf4
commit e14dca8dc1
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Cisco Systems, Inc.
sources = files(
'base/vnic_cq.c',
'base/vnic_dev.c',
'base/vnic_intr.c',
'base/vnic_rq.c',
'base/vnic_rss.c',
'base/vnic_wq.c',
'enic_clsf.c',
'enic_ethdev.c',
'enic_flow.c',
'enic_main.c',
'enic_res.c',
'enic_rxtx.c',
)
deps += ['hash']
includes += include_directories('base')

View File

@ -2,7 +2,7 @@
# Copyright(c) 2017 Intel Corporation
drivers = ['af_packet', 'bonding', 'dpaa', 'dpaa2',
'e1000', 'fm10k', 'i40e', 'ixgbe',
'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
'null', 'octeontx', 'pcap', 'ring',
'sfc', 'thunderx', 'virtio']
std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc