aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-09-11 17:34:40 -0700
committerDavid S. Miller <davem@davemloft.net>2020-09-11 17:34:40 -0700
commit1cf814a0dce9a9fd5d06e754a886a79ab91bf4f1 (patch)
treeb7ffbe09054aa2f24f8481d0badf60a0b65c7ddb /drivers/net/ethernet/hisilicon/hns
parentMerge branch 'DSA-tag_8021q-cleanup' (diff)
parentnet: ethernet: ti: ale: add support for multi port k3 cpsw versions (diff)
downloadlinux-dev-1cf814a0dce9a9fd5d06e754a886a79ab91bf4f1.tar.xz
linux-dev-1cf814a0dce9a9fd5d06e754a886a79ab91bf4f1.zip
Merge branch 'net-ethernet-ti-ale-add-static-configuration'
Grygorii Strashko says: ==================== net: ethernet: ti: ale: add static configuration As existing, as newly introduced CPSW ALE versions have differences in supported features and ALE table formats. Especially it's actual for the recent AM65x/J721E/J7200 and future AM64x SoCs, which supports more features like: auto-aging, classifiers, Link aggregation, additional HW filtering, etc. The existing ALE configuration interface is not practical in terms of adding new features and requires consumers to program a lot static parameters. And any attempt to add new features will case endless adding and maintaining different combination of flags and options. Because CPSW ALE configuration is static and fixed for SoC (or set of SoC), It is reasonable to add support for static ALE configurations inside ALE module. This series introduces static ALE configuration table for different ALE variants and provides option for consumers to select required ALE configuration by providing ALE const char *dev_id identifier (Patch 2). And all existing driver have been switched to use new approach (Patches 3-6). After this ALE HW auto-ageing feature can be enabled for AM65x CPSW ALE variant (Patch 7). Finally, Patches 8-9 introduces tables to describe the ALE VLAN entries fields as the ALE VLAN entries are too much differ between different TI CPSW ALE versions. So, handling them using flags, defines and get/set functions are became over-complicated. Patch 1 - is preparation patch Changes in v3: - fixed comment for Patch 2 Changes in v2: - fixed sparse warnings v2: https://lore.kernel.org/patchwork/cover/1301684/ v1: https://lore.kernel.org/patchwork/cover/1301048/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns')
0 files changed, 0 insertions, 0 deletions