gve: Set default duplex configuration to full
authorJunfeng Guo <junfeng.guo@intel.com>
Thu, 6 Jul 2023 04:41:28 +0000 (12:41 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Jul 2023 02:14:24 +0000 (19:14 -0700)
commit0503efeadbf6bb8bf24397613a73b67e665eac5f
tree45b951b8b56b6bb9bd6c4c5f1a4dca9a6b0d801c
parent41b9eff0ce2257958531e7cd38068845da38ac53
gve: Set default duplex configuration to full

Current duplex mode was unset in the driver, resulting in the default
parameter being set to 0, which corresponds to half duplex. It might
mislead users to have incorrect expectation about the driver's
transmission capabilities.
Set the default duplex configuration to full, as the driver runs in
full duplex mode at this point.

Fixes: 7e074d5a76ca ("gve: Enable Link Speed Reporting in the driver.")
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Message-ID: <20230706044128.2726747-1-junfeng.guo@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_ethtool.c