]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mv88e6xxx-rework-ATU-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:54:08 +0000 (23:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:54:08 +0000 (23:54 -0700)
commit564f881ed1f15775d51f0a5afe3387332b5a7760
treefa17c539d9d04f1dc5e3748f58b9627bfa682d08
parent7fdec9573b38107a1606a29e189b1f343b41a7ea
parent1f2a7e2390cf2a13daeaf537a58f27c946de0a0a
Merge branch 'mv88e6xxx-rework-ATU-support'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: rework ATU support

The purpose of this patch series is to rework the code related to the
Address Translation Unit (ATU), and bring support for it to the 88E6390
family of switch chips.

All Global (1) ATU related code have been reworked and moved to its own
file. Some port related bits used for ATU configuration (such as the
Learn2All and MessagePort feature) have also been taken care of.

The ports' mode and egress flooding mode have been refactored to fix the
egress of frames with unknown unicast or multicast destination address,
and write all these bits regardless the port mode (Normal, DSA, etc.)

Finally remove the eth_addr_greater which was only used by mv88e6xxx.

Changes in v2:
  - add Reviewed-by tags
  - split mv88e6xxx_g1_atu_set_age_time and mv88e6xxx_atu_setup addition
  - remove DSA_TAG_PROTO_TRAILER check
  - split Message Port and Learn2All addition
  - remove unused MV88E6XXX_FLAG_G1_ATU_FID flag
  - add dsa_is_normal_port helper
====================

Signed-off-by: David S. Miller <davem@davemloft.net>