commit | 6cd456f38207b56ba18c444d50fe49a7fe8b2a0a | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Sat Mar 11 16:12:58 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 12 23:54:07 2017 -0700 |
tree | d7b16a373fa4440f89d323dddf424a62d046e0af | |
parent | 01bd96c8831e54a3ba2794c647a269d130872750 [diff] |
net: dsa: add dsa_is_normal_port helper Introduce a dsa_is_normal_port helper to check if a given port is a normal user port as opposed to a CPU port or DSA link. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>