Re: [PATCH net-next v2 2/9] net: ethernet: ti: ale: add static configuration

2020-09-09 Thread Grygorii Strashko
On 09/09/2020 05:28, David Miller wrote: From: Grygorii Strashko Date: Mon, 7 Sep 2020 17:31:36 +0300 + ale_dev_id = cpsw_ale_match_id(cpsw_ale_id_match, params->dev_id); + if (ale_dev_id) { + params->ale_entries = ale_dev_id->tbl_entries; +

Re: [PATCH net-next v2 2/9] net: ethernet: ti: ale: add static configuration

2020-09-08 Thread David Miller
From: Grygorii Strashko Date: Mon, 7 Sep 2020 17:31:36 +0300 > + ale_dev_id = cpsw_ale_match_id(cpsw_ale_id_match, params->dev_id); > + if (ale_dev_id) { > + params->ale_entries = ale_dev_id->tbl_entries; > + params->major_ver_mask = ale_dev_id->major_ver_mask;

[PATCH net-next v2 2/9] net: ethernet: ti: ale: add static configuration

2020-09-07 Thread Grygorii Strashko
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 SoC and feature AM64x, which supports features like: auto-aging, classifiers, Link aggregation, additional hw filtering, etc.