Date: Wed, 20 May 2009 02:24:09 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/sk if_sk.c Message-ID: <200905200224.n4K2OPaO054209@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-05-20 02:24:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sk if_sk.c Log: SVN rev 192414 on 2009-05-20 02:24:09Z by yongari MFC r191716: 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 Revision Changes Path 1.137.2.4 +81 -116 src/sys/dev/sk/if_sk.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905200224.n4K2OPaO054209>