net/qede: fix setting MTU
authorShahed Shaikh <shshaikh@marvell.com>
Sun, 20 Oct 2019 05:20:50 +0000 (22:20 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit29bb154ff047d7fd7b0d4f08ce3ca25f1abfd1fe
treec0499bdb7c97e29028449254b73e5f04ac4f89f9
parent58bb1ee4a50a3ce79241e5b033985a5697081fc2
net/qede: fix setting MTU

New MTU value is not propagated to vport in HW when MTU update request
is sent while ports are stopped.

This patch fixes the logic error for above mentioned condition.

Fixes: d121a6b5f781 ("net/qede: fix VF MTU update")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
Reviewed-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h