net/qede: accept bigger RSS table
authorIgor Russkikh <irusskikh@marvell.com>
Fri, 19 Mar 2021 09:46:56 +0000 (10:46 +0100)
committerJerin Jacob <jerinj@marvell.com>
Mon, 22 Mar 2021 14:53:07 +0000 (15:53 +0100)
commit6ceb7ab83f168fa6b8e90e4bd5a1392de1a48c70
tree358cf43ce627618ecd79b5fd85afc3cccfe56783
parent218d54849f0707347d6956f8f1c97017c6b6ac08
net/qede: accept bigger RSS table

Some dpdk applications blindly pass fixed side RSS hash tables,
and do not check driver/device capabilities.

Moreover, many other drivers do not do such a strong check as well.

Fix it by making qede accept any size rss_key. For larger key
tables we just crop it with notice trace message.

Cc: stable@dpdk.org
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Acked-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/qede_ethdev.c