bnx2: Support secondary MAC addresses.
Add support for configuring secondary unicast addresses. There are 4 additional perfect match filters which can be used for secondary unicast address support. * Modified bnx2_set_mac_addr() to be more generic in handling the setting of the perfect match filters * Changed bnx2_set_rx_mode() to handle the unicast dev_addr_list Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7c62e83beb
commit
5fcaed0124
@@ -6440,6 +6440,11 @@ struct l2_fhdr {
|
||||
|
||||
#define BNX2_MISC_ENABLE_DEFAULT 0x17ffffff
|
||||
|
||||
#define BNX2_START_UNICAST_ADDRESS_INDEX 4
|
||||
#define BNX2_END_UNICAST_ADDRESS_INDEX 7
|
||||
#define BNX2_MAX_UNICAST_ADDRESSES (BNX2_END_UNICAST_ADDRESS_INDEX - \
|
||||
BNX2_START_UNICAST_ADDRESS_INDEX + 1)
|
||||
|
||||
#define DMA_READ_CHANS 5
|
||||
#define DMA_WRITE_CHANS 3
|
||||
|
||||
|
Reference in New Issue
Block a user