From: Andy Moreton Date: Tue, 20 Feb 2018 07:33:53 +0000 (+0000) Subject: net/sfc/base: handle new speeds in link events X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1eb735b2c8fc3bfe3aa6bd9a626dd04776e51df3;p=dpdk.git net/sfc/base: handle new speeds in link events Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/ef10_phy.c b/drivers/net/sfc/base/ef10_phy.c index e05fe2b47e..035099f8b3 100644 --- a/drivers/net/sfc/base/ef10_phy.c +++ b/drivers/net/sfc/base/ef10_phy.c @@ -149,9 +149,18 @@ ef10_phy_link_ev( case MCDI_EVENT_LINKCHANGE_SPEED_10G: speed = 10000; break; + case MCDI_EVENT_LINKCHANGE_SPEED_25G: + speed = 25000; + break; case MCDI_EVENT_LINKCHANGE_SPEED_40G: speed = 40000; break; + case MCDI_EVENT_LINKCHANGE_SPEED_50G: + speed = 50000; + break; + case MCDI_EVENT_LINKCHANGE_SPEED_100G: + speed = 100000; + break; default: speed = 0; break;