mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvethernet: Add T264 changes to include 48 filters
Add support to include 48 filters for T264 from feature register Ported from - https://git-master.nvidia.com/r/c/linux-nv-oot/+/3148383 Bug 4291865 Change-Id: Ic3df0db74dc86bebcacff2f77238f1a6bcf38657 Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
0e5f26d308
commit
90a31dac49
@@ -6655,6 +6655,9 @@ static void init_filter_values(struct ether_priv_data *pdata)
|
||||
pdata->num_mac_addr_regs = ETHER_ADDR_REG_CNT_128;
|
||||
} else if (pdata->hw_feat.mac_addr32_sel == OSI_ENABLE) {
|
||||
pdata->num_mac_addr_regs = ETHER_ADDR_REG_CNT_64;
|
||||
} else if (pdata->hw_feat.mac_addr_sel ==
|
||||
(ETHER_ADDR_REG_CNT_48 - 1U)) {
|
||||
pdata->num_mac_addr_regs = ETHER_ADDR_REG_CNT_48;
|
||||
} else if (pdata->hw_feat.mac_addr_sel ==
|
||||
(ETHER_ADDR_REG_CNT_32 - 1U)) {
|
||||
pdata->num_mac_addr_regs = ETHER_ADDR_REG_CNT_32;
|
||||
|
||||
Reference in New Issue
Block a user