]> git.ipfire.org Git - people/ms/u-boot.git/commit
drivers: net: vsc9953: Do not configure disabled ports
authorCodrin Ciubotariu <codrin.ciubotariu@nxp.com>
Mon, 14 Mar 2016 11:46:52 +0000 (13:46 +0200)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Apr 2016 15:34:18 +0000 (08:34 -0700)
commit02c00f265da0d85e81fb74f6aabfc4295d49ff56
treea79770f8798fe7cda05ad13f549ac9437c1a5c90
parent5330c7d707f1117a95985ff6e770eb146703706a
drivers: net: vsc9953: Do not configure disabled ports

Some SerDes protocols might not enable all l2switch ports. In this case,
these ports should not be configured to perform Rx/Tx operations.
This also fixes an issue when flooded frames were also switched to
disabled ports and frames start to accumulate, consuming memory
and eventually causing head-of-line blocking for other frames.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/vsc9953.c