net/nfp: fix link speed capabilities
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Thu, 22 Feb 2018 11:57:20 +0000 (11:57 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commit03c4e7abee3647024ccbc89b4d48dc9da7862379
tree1e5eb68a866e72f4fb59648b8e331a0937cbd774
parentf598e1a2d0e29293b924119c1b3cdd4e16756e95
net/nfp: fix link speed capabilities

Mixing numeric macros with bit shifts macros is not a good idea.

Fixes: 011411586e03 ("net/nfp: extend speed capabilities advertised")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c