Skip to content

Commit aa61296

Browse files
grygoriySdavem330
authored andcommitted
net: ethernet: ti: ale: switch to use tables for vlan entry description
The ALE VLAN entries are too much differ between different TI CPSW ALE versions. So, handling them using flags, defines and get/set functions became over-complicated. This patch introduces tables to describe the ALE VLAN entries fields, which are different between TI CPSW ALE versions, and new get/set access functions. It also allows to detect incorrect access to not available ALL entry fields. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 23015ff commit aa61296

File tree

2 files changed

+188
-54
lines changed

2 files changed

+188
-54
lines changed

0 commit comments

Comments
 (0)