diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-11-20 00:19:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-20 11:25:23 -0800 |
commit | ed3525eda4c4983fb8509e488de0a351788041ba (patch) | |
tree | d2c5784a77c2a08827061e3d7fc5008ffb7f3bff /drivers/net/ethernet/ti/cpsw.h | |
parent | ef63fe72f698a051ed7f24d1a6b1ab3745fd4bbb (diff) | |
download | lwn-ed3525eda4c4983fb8509e488de0a351788041ba.tar.gz lwn-ed3525eda4c4983fb8509e488de0a351788041ba.zip |
net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac
Part 1:
Introduce basic CPSW dual_mac driver (cpsw_new.c) which is operating in
dual-emac mode by default, thus working as 2 individual network interfaces.
Main differences from legacy CPSW driver are:
- optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in
addition to ALLMULTI (current port) instead of ALE_BYPASS. So, Ports in
promiscuous mode will keep possibility of mcast and vlan filtering, which
is provides significant benefits when ports are joined to the same bridge,
but without enabling "switch" mode, or to different bridges.
- learning disabled on ports as it make not too much sense for
segregated ports - no forwarding in HW.
- enabled basic support for devlink.
devlink dev show
platform/48484000.switch
devlink dev param show
platform/48484000.switch:
name ale_bypass type driver-specific
values:
cmode runtime value false
- "ale_bypass" devlink driver parameter allows to enable
ALE_CONTROL(4).BYPASS mode for debug purposes.
- updated DT bindings.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.h')
0 files changed, 0 insertions, 0 deletions