diff options
| author | Qiuwen Lu <[email protected]> | 2020-07-13 15:24:58 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2020-07-13 15:24:58 +0800 |
| commit | 29189285e1261a0be8bcb1b037b1e0cec91f68e3 (patch) | |
| tree | c12dbb538a68d3b0b98358b9eddaad9b4deb3e1e | |
| parent | 17fc38b422094b93c870ebfe6c223bc9780cb502 (diff) | |
修正在64核心以上的处理器上虚设备队列数不足导致的段错误。
| -rw-r--r-- | infra/include/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/include/common.h b/infra/include/common.h index 0d15aec..acf8983 100644 --- a/infra/include/common.h +++ b/infra/include/common.h @@ -40,11 +40,11 @@ extern "C" { #endif #ifndef MR_SID_MAX -#define MR_SID_MAX 64 +#define MR_SID_MAX RTE_MAX_LCORE #endif #ifndef MR_GSID_MAX -#define MR_GSID_MAX 64 +#define MR_GSID_MAX RTE_MAX_LCORE #endif #ifndef MR_VDEV_MAX |
