commit | 2104bc0ab0eee8a4768dd80df8ed42eb591543bc | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Aug 03 11:08:41 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 03 12:11:43 2018 -0700 |
tree | 2592895a75b636bd7d5dd6dd7f76f35e22c86f5c | |
parent | 723a00436adc2ab474a2501c18a8e72ea1fc73f1 [diff] |
net: dsa: bcm_sf2: Allow targeting CPU ports for CFP rules ds->enabled_port_mask only contains a bitmask of user-facing enabled ports, we also need to allow programming CFP rules that target CPU ports (e.g: ports 5 and 8). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>