net/qede: fix advertising link speed capability
authorHarish Patil <harish.patil@qlogic.com>
Mon, 31 Oct 2016 18:35:01 +0000 (11:35 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 19:46:52 +0000 (20:46 +0100)
commit64c239b7f8b7e2dc3967254b59601abbde3f846c
tree228bd9bbe1b78cb52316c4c9ec57631cfb7297dd
parent0e7bd0b2d6a5082f27b3e400953158857f194991
net/qede: fix advertising link speed capability

Fix to advertise device's link speed capability based on NVM
port configuration instead of returning driver supported speeds.

Fixes: 95e67b479506 ("net/qede: add 100G link speed capability")

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c