Skip to content

Commit

Permalink
Update comment about rte_eth_link_get() not working in secondary DPDK…
Browse files Browse the repository at this point in the history
… process, now up to DPDK 21.e5

Credit to @cxz66666
  • Loading branch information
anujkaliaiitd committed Dec 13, 2022
1 parent c516856 commit dba4001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport_impl/dpdk/dpdk_transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void DpdkTransport::resolve_phy_port() {
}

// Resolve bandwidth. XXX: For some reason, rte_eth_link_get() does not work
// in secondary DPDK processes in DPDK 19.11.
// in secondary DPDK processes (up to DPDK 21.05).
struct rte_eth_link link;
if (dpdk_proc_type_ == DpdkProcType::kPrimary) {
rte_eth_link_get(static_cast<uint8_t>(phy_port_), &link);
Expand Down

0 comments on commit dba4001

Please sign in to comment.