net/ionic: fix link speed and autonegotiation
authorAndrew Boyer <aboyer@pensando.io>
Mon, 11 Jan 2021 19:02:09 +0000 (11:02 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:32 +0000 (03:30 +0100)
commit0dad8b3d4cbca12907f6bf7b4204ac7de6e76aeb
tree4b26a66fa40fbd3bb4c007e28e6785a7dc775912
parentc3ab74fcc86911aafcaf73f7684971337b19e0e8
net/ionic: fix link speed and autonegotiation

Don't assume autoneg in link_update().

Always call ionic_dev_cmd_port_autoneg() in start().

This allows the client to specify the link settings.

Fixes: 598f6726390f ("net/ionic: add basic port operations")
Cc: stable@dpdk.org
Signed-off-by: Andrew Boyer <aboyer@pensando.io>
drivers/net/ionic/ionic_ethdev.c