diff options
author | Chenmin Sun <chenmin.sun@intel.com> | 2019-12-14 06:59:03 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-12-17 17:55:34 +0000 |
commit | f2bde7ac51123a0a46334b4ec55e2aceae031db7 (patch) | |
tree | 42387621b9ea20944fea2a14ceebcb0ba586676a /src/plugins/dpdk/device/dpdk.h | |
parent | a7cb357491bc8adeac23a329685e8ea9aa2d2f33 (diff) |
dpdk: add devargs support
Type: feature
This patch adds the devargs support for dpdk device
The devargs are used as hardware-specific init args for dpdk devices
please refer to the nic guides under
$(DPDK_DIR)/doc/guides/nics/$(NIC_DRIVER).rst
Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Change-Id: Id380d04720090bb66afe5ce09d664e5e248b8eb9
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r-- | src/plugins/dpdk/device/dpdk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h index d58d2daa768..ab28ac06a0a 100644 --- a/src/plugins/dpdk/device/dpdk.h +++ b/src/plugins/dpdk/device/dpdk.h @@ -336,6 +336,8 @@ typedef struct u32 hqos_enabled; dpdk_device_config_hqos_t hqos; u8 tso; + u8 *devargs; + #define DPDK_DEVICE_TSO_DEFAULT 0 #define DPDK_DEVICE_TSO_OFF 1 #define DPDK_DEVICE_TSO_ON 2 |