Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edd9a298 authored by Kejian Yan's avatar Kejian Yan Committed by David S. Miller
Browse files

Doc: hisi: hns adds mc-mac-mask property



Since there is not enough tcam table entries for every vlan and multicast
address, HNS needs to add support of fuzzy matching of TCAM tables. Adding
the property to mask the bits to be fuzzy matched, so update the bindings
document

Signed-off-by: default avatarKejian Yan <yankejian@huawei.com>
Reviewed-by: default avatarYisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f522a5fc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -45,6 +45,12 @@ Required properties:
  depends on the hardware user manual.
- port-mode-offset: is offset of port mode field for each port in dsaf. Its
  value depends on the hardware user manual.
- mc-mac-mask: mask of multicast address, determines bit in multicast address
  to set:
  1 stands for this bit will be precisely matched, TCAM will check this bit of
    MAC address.
  0 stands for this bit will be fuzzy matched, TCAM won't care about this bit
    of MAC address.

[1] Documentation/devicetree/bindings/net/phy.txt

@@ -74,10 +80,12 @@ dsaf0: dsa@c7000000 {
		reg = 0;
		phy-handle = <&phy0>;
		serdes-syscon = <&serdes>;
		mc-mac-mask = [ff f0 00 00 00 00];
	};

	port@1 {
                reg = 1;
                serdes-syscon = <&serdes>;
		mc-mac-mask = [ff f0 00 00 00 00];
        };
};