Promiscuous Mode Setup/Configuration; Broadcast Setup/Configuration - Broadcom NetXtreme/NetLink BCM5718 Series Programmer's Manual

Table of Contents

Advertisement

BCM5718 Programmer's Guide
for(k = 0; k < 8; k++)
{
Tmp = Reg & 0x01;
Reg >>= 1;
if(Tmp)
{
Reg ^= 0xedb88320;
}
}
}
return ~Reg;
}

Promiscuous Mode Setup/Configuration

The host software may enable promiscuous mode by setting the Promiscous_Mode bit (bit 8) of the
Receive_MAC_Mode register (offset 0x468). The Promiscous_Mode bit defaults to disabled after reset, and
host software must explicitly set this bit for promiscuous mode. In promiscuous mode of operation, the Ethernet
controller accepts all incoming frames that are not filtered by the active receive rules regardless of the
destination MAC address. In other words, the Ethernet controller operating in promiscuous mode ignores
multicast and MAC address filtering
Address Setup/Configuration" on page

Broadcast Setup/Configuration

The host software may configure the Ethernet controller to discard the received broadcast frames by using two
receive rules as defined below. The Ethernet controller parses all incoming frames according to these receive
rules and discards those frames that have a broadcast destination address (see
Frame Classification" on page 95
The following is a sample of the two receive rules for discarding broadcast frames.
Rule1 Control: 0xc2000000
Rule2 Control: 0x86000004
Broadcom
®
January 29, 2016 • 5718-PG108-R
("Multicast Hash Table Setup/Configuration" on page 135
135), but applies Receive Rules.
for more details on setting up the receive rules).
Rule1 Mask/Value: 0xffffffff
Rule2 Mask/Value: 0xffffffff
Packet Filtering
and
"MAC
"Receive Rules Setup and
Page 138

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetXtreme/NetLink BCM5718 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netxtreme/netlink bcm5717Netxtreme/netlink bcm5718Netxtreme/netlink bcm5719Netxtreme/netlink bcm5720

Table of Contents