On Fri, Dec 20, 2019 at 05:32:56PM -0800, John Hubbard wrote: > For disabled links, the raw speed token is 0. However, speed_to_str() > doesn't have that in the list. This leads to an assertion when running > tests (test_query_port) when one link is down and other link(s) are up. > > Fix this by returning '0.0 Gbps' for the zero speed case. > > Cc: Noa Osherovich <noaos@xxxxxxxxxxxx> > Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx> > --- > pyverbs/device.pyx | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, applied