]> git.baikalelectronics.ru Git - kernel.git/commit
gve: Correct order of processing device options
authorJeroen de Borst <jeroendb@google.com>
Mon, 20 Dec 2021 19:27:46 +0000 (11:27 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Dec 2021 02:47:56 +0000 (18:47 -0800)
commit3e4ceb3c5aded5c0b207c5f3821f768e706dce7b
tree8d087ca147dfc9baf3a024501c2e9997ee4233cc
parentca08704cb6ca54a45c38b0790c55a3259a4a7152
gve: Correct order of processing device options

The legacy raw addressing device option was processed before the
new RDA queue format option.  This caused the supported features mask,
which is provided only on the RDA queue format option, not to be set.

This disabled jumbo-frame support when using raw adressing.

Fixes: d233b7da65bc ("gve: Add a jumbo-frame device option")
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Link: https://lore.kernel.org/r/20211220192746.2900594-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_adminq.c