Re: [dpdk-dev] Q about testpmd and link speed settings

2020-12-09 Thread Andrew Boyer
Any replies to this? Am I understanding the API correctly? -Andrew > On Nov 25, 2020, at 3:55 PM, Andrew Boyer wrote: > > Almost every PMD seems to do something like this (igb in this example): > > autoneg = (*speeds & ETH_LINK_SPEED_FIXED) == 0; > > But testpmd’s parse_and_check_speed_

[dpdk-dev] Q about testpmd and link speed settings

2020-11-25 Thread Andrew Boyer
Almost every PMD seems to do something like this (igb in this example): autoneg = (*speeds & ETH_LINK_SPEED_FIXED) == 0; But testpmd’s parse_and_check_speed_duplex() doesn’t ever set the FIXED bit. It either sets AUTONEG (0) or the bit for one of the individual speeds. Thus when I run a