nvethernet: Set dma chan bit mask for MC/BC chan

Set the default MC/BC channel mask for packet duplicate

Bug 4844451

Change-Id: I9cfc6eb745dd3fedbf7220c77e30e79bcf91eeb8
Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3209202
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mahesh Patil
2024-09-06 18:57:38 +00:00
committed by Jon Hunter
parent 3361d37248
commit 4a4aaf586f

View File

@@ -2732,6 +2732,7 @@ static int ether_update_mac_addr_filter(struct ether_priv_data *pdata,
ioctl_data->l2_filter.index = BC_index[osi_core->mac];
memcpy(ioctl_data->l2_filter.mac_addr, bc_addr, ETH_ALEN);
ioctl_data->l2_filter.pkt_dup = OSI_ENABLE;
ioctl_data->l2_filter.dma_chansel = OSI_BIT_64(dma_channel);
}
ioctl_data->l2_filter.dma_routing = OSI_ENABLE;
ioctl_data->l2_filter.dma_chan = dma_channel;