summaryrefslogtreecommitdiff
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-03-23 17:09:15 +0100
committerMichal Simek <[email protected]>2026-04-23 11:49:48 +0200
commit54bd858843c33911447329104c906e7fbfd49e03 (patch)
tree5a01f86183e0f017176ee925bbfec88ee903ec6c /scripts/setlocalversion
parente973fa5115e40f93bb1425db5b1cc1f3d9b8047d (diff)
net: xilinx: Reject broadcast and multicast packets in AXI Ethernet MAC
Set the XAE_RAF_BCSTREJ_MASK bit in the Reset and Address Filter (RAF) register during hardware initialization to make the MAC drop incoming frames with broadcast destination address. This avoids unnecessary broadcast traffic processing by the CPU. Additionally, when IPv6 is not enabled (CONFIG_IPV6), also set the XAE_RAF_MCSTREJ_MASK bit to reject multicast frames. Multicast rejection is skipped when IPv6 is configured because IPv6 Neighbor Discovery and DHCPv6 rely on multicast. Expose the RAF register (offset 0x0) in struct axi_regs which was previously hidden in a reserved array. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/07ad94eb8a3a9d80273a16a7ac8c7caaba607fe2.1774282153.git.michal.simek@amd.com
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions