drivers/net: remove useless autoneg capability
authorThomas Monjalon <thomas@monjalon.net>
Mon, 29 Mar 2021 07:28:53 +0000 (09:28 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 1 Apr 2021 13:16:53 +0000 (15:16 +0200)
commit058ac0ddc5077bccdb629a1c09a195012f29d4b3
treeec02e6d50d93712a02b109ff4738a923ed05732b
parent01ee2e49f6f605f4ba3a85e1e6012d4f2215866b
drivers/net: remove useless autoneg capability

The flag ETH_LINK_SPEED_AUTONEG is 0,
so it cannot be used in a capability bitmap.

Having 0 in speed capability means all speeds are accepted.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/mlx5/linux/mlx5_ethdev_os.c