]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4vf: Forcefully link up virtual interfaces
authorArjun Vynipadath <arjun@chelsio.com>
Thu, 1 Mar 2018 09:31:04 +0000 (15:01 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 23:11:30 +0000 (18:11 -0500)
commitefcade10a88e133a3b70f321533c2f3c8b052791
tree04764cc55956e1fb9f3f0e7bc79e049d26183847
parent28adc97c58c1a1f428abbd34a883a939e7422876
cxgb4vf: Forcefully link up virtual interfaces

The Virtual Interfaces are connected to an internal switch on the chip
which allows VIs attached to the same port to talk to each other even
when the port link is down.  As a result, we generally want to always
report a VI's link as being "up".

Based on the original work by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c