numam-dpdk/drivers
Kalesh AP 0466d286cd net/bnxt: fix setting link speed
bnxt PMD uses the macro BNXT_SUPPORTED_SPEEDS to validate
the user requested speed. But this has all the speed values
supported by the PMD and is not chip specific.

The check against this macro returns success when the user
tries set the speed to 100G on a port even if the chip does
not support 100G speed.

Fixed it to use bnxt_get_speed_capabilities() to check the
supported speeds by the chip.

Fixes: 1d0704f4d7 ("net/bnxt: add device configure operation")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-05-28 17:57:07 +02:00
..
baseband baseband/fpga_5gnr_fec: support interrupt 2020-04-19 22:34:26 +02:00
bus bus/fslmc: drop inline from non-static functions 2020-05-20 15:15:48 +02:00
common mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
compress fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
crypto bus/fslmc: add accessor for MCP 2020-05-19 15:49:53 +02:00
event mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
mempool mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
net net/bnxt: fix setting link speed 2020-05-28 17:57:07 +02:00
raw bus/fslmc: add accessor for MCP 2020-05-19 15:49:53 +02:00
vdpa vdpa/mlx5: fix PCI address comparison 2020-05-05 15:54:26 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: skip config of explicitly disabled drivers 2020-05-19 16:52:22 +02:00