Repository navigation
Conversation
* also refactor it a little bit * support versions before 16.11 Signed-off-by: Kefu Chai <[email protected]>
There was a problem hiding this comment.
do we need to specify version? let user must use submodule to build?
There was a problem hiding this comment.
@yuyuyu101 it's a follow up of 96046f5#commitcomment-20417415 . otherwise i will revert #12854.
actually, i tend to put find_package(dpdk 2.0 REQUIRED) instead, to be consistent with 1844b72#diff-3b85bae027325c1a3d65ac2b5d316239L32 .
|
currently dpdk is updated to 16.11, why still 16.07? |
|
@optimistyzy again, please note that user could install older version of dpdk and |
Signed-off-by: Kefu Chai <[email protected]>
PerfCountersBuilder::create_perf_counters() requires that the added counter ids are consecutive without counters with PERFCOUNTER_NONE type in it, so remove them from the `enum` definition if not used. this change reverts 96046f5 Signed-off-by: Kefu Chai <[email protected]>
|
@yuyuyu101 comments addressed and repushed. @liupan1111 does this address the crash you ran into before? |
|
briefly it's ok to me, although I know little in cmake... @liupan1111 does this solve problem? |
|
@liupan1111 ping? |
|
@tchaikov @yuyuyu101 , one question, with these changes in this PR, will the core dump in 12854 happen again when we use dpdk 16.11? |
|
@tchaikov hmm, I think we don't need to have version condition since we have fixed submodule. we only care the submodule version compatible with current dpdk codes |
i don't think so, that's why i was asking you to confirm. |
|
@tchaikov , ok, let me confirm and let you know |
|
@tchaikov, I tried your changes, and it works, no assertion failure. Thanks. But I still think it is better to remove version condition. I could give another pr to do some cleanup later. |
No description provided.