ice: Fix corner case when switching from IEEE to CEE
While testing DCB for a corner case in which mode is switched from IEEE to
CEE and pfc_ena bitmask unchanged then DCBX mode doesn't get updated.
This is happening because the function ice_dcb_get_mode() is called
in a "no change detected block" instead of "change detected block".
Signed-off-by: Avinash JD <email@example.com>
Signed-off-by: Scott Register <firstname.lastname@example.org>
Tested-by: Andrew Bowers <email@example.com>
Signed-off-by: Jeff Kirsher <firstname.lastname@example.org>
1 file changed