summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2009-05-01 03:24:03 +0000
committeryongari <yongari@FreeBSD.org>2009-05-01 03:24:03 +0000
commit700abeab8a81c590ae255dfa7225c8d891c5ca88 (patch)
tree0be56c8944829e4dad93d8f499c34b08f7c3f9b2 /sbin
parentd462264a61048da50ccb5ab1ed29191f5a2e0a2f (diff)
downloadFreeBSD-src-700abeab8a81c590ae255dfa7225c8d891c5ca88.zip
FreeBSD-src-700abeab8a81c590ae255dfa7225c8d891c5ca88.tar.gz
Separate multicast filtering of SysKonnect GENESIS and Marvell
Yukon from common multicast handling code. Yukon uses hash-based multicast filtering(big endian form) but GENESIS uses perfect multicast filtering as well as hash-based one(little endian form). Due to the differences of multicast filtering there is no much sense to have a common code. o Remove sk_setmulti() and introduce sk_rxfilter_yukon(), sk_rxfilter_yukon() that handles multicast filtering setup. o Have sk_rxfilter_{yukon, genesis} handle promiscuous mode and nuke sk_setpromisc(). This simplifies ioctl handler as well as giving a chance to check validity of Rx control register of Yukon. o Don't reinitialize controller when IFF_ALLMULTI flags is changed. o Nuke sk_gmchash(), it's not needed anymore. o Always reconfigure Rx control register whenever a new multicast filtering condition is changed. This fixes multicast filtering setup on Yukon. PR: kern/134051
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud