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 <>
Signed-off-by: Scott Register <>
Tested-by: Andrew Bowers <>
Signed-off-by: Jeff Kirsher <>
1 file changed