mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user