trex-core icon indicating copy to clipboard operation
trex-core copied to clipboard

Update bundled DPDK to 24.03

Open Civil opened this issue 10 months ago • 8 comments

  • Update bundled DPDK to 24.03

I've tested that it works on my mellanox cards, but I don't have neither intel nor broadcoms so I can't actually verify that it is working well with them.

Civil avatar Mar 31 '24 18:03 Civil

Also, for simplicity, I haven't fixed a small problem with how jsoncpp is used (also, it is extremely outdated and that might be a problem on its own, I'd strongly suggest to pull in latest jsoncpp and probably use a submodule instead...)

If you are interested in that small fix:

--- a/src/stx/stl/trex_stl_rpc_cmds.cpp
+++ b/src/stx/stl/trex_stl_rpc_cmds.cpp
@@ -1896,7 +1896,7 @@ TrexRpcCmdUpdateTaggedPktGroupTags::_run(const Json::Value &params, Json::Value

         std::string type = parse_string(itr, "type", result, "");
         uint16_t tag_id = parse_uint16(itr, "tag_id", result);
-        const Json::Value& value = parse_object(itr, "value", result, Json::nullValue);
+        static const Json::Value& value = parse_object(itr, "value", result, Json::nullValue);

         if (tag_id >= num_tags) {
             err_msg = "Tag Id " + std::to_string(tag_id) + " greater than num of tags " + std::to_string(num_tags);

Civil avatar Mar 31 '24 18:03 Civil

Checked SHA: 76841e475576777ab68b3bca2c7520f2ee4e998a Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/830/

trex-bot avatar Mar 31 '24 18:03 trex-bot

Checked SHA: 7249f9523fb49f9f4f6528d244e674e0f047ed66 Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/831/

trex-bot avatar Mar 31 '24 18:03 trex-bot

Checked SHA: f88e22cc875a87a0aca743ab1bef0c6cf534eaf2 Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/832/

trex-bot avatar Mar 31 '24 18:03 trex-bot

Checked SHA: 8337f65c7148a0a9c613499b2f37eb8d6b7cf668 Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/833/

trex-bot avatar Mar 31 '24 20:03 trex-bot

Checked SHA: a357e6400f83275d426dbbd66fb22278369b83bb Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/834/

trex-bot avatar Mar 31 '24 21:03 trex-bot

Honestly I don't know how to fix the current problem in your build system with "This machine doesn't support RDRAND" because I don't see any place where it would be forced at this moment.

Civil avatar Mar 31 '24 21:03 Civil

Checked SHA: 982edcdedab0dec93d36080cc1f69a3e74138c09 Status: FAILURE :x: Link to job: http://81.218.86.50:8080/job/trex_build/835/

trex-bot avatar Mar 31 '24 22:03 trex-bot