/[base]
ViewVC logotype

Revision 213590


Jump to revision: Previous Next
Author: yongari
Date: Fri Oct 8 18:19:05 2010 UTC (13 years, 8 months ago)
Changed paths: 7
Log Message:
MFC r213306:
  Rename rl_setmulti() to rl_rxfilter() as rl_rxfilter() will handle
  IFF_ALLMULTI/IFF_PROMISC as well as multicast filter configuration.
  Rewrite RX filter logic to reduce number of register accesses and
  make it handle promiscuous/allmulti toggling without controller
  reinitialization.

  Previously rl(4) counted on controller reinitialization to reprogram
  promiscuous configuration but r211767 resulted in avoiding
  controller reinitialization whenever promiscuous mode is toggled.
  To address this, keep track of driver's view of interface state and
  handle IFF_ALLMULTI/IFF_PROMISC changes without reinitializing
  controller. This should fix a regression introduced in r211267.

  While I'm here remove unnecessary variable reassignment in ioctl
  handler.

  PR:	kern/151079


Changed paths

Path Details
Directorystable/8/sys/ modified , props changed
Directorystable/8/sys/amd64/include/xen/ modified , props changed
Directorystable/8/sys/cddl/contrib/opensolaris/ modified , props changed
Directorystable/8/sys/contrib/dev/acpica/ modified , props changed
Directorystable/8/sys/contrib/pf/ modified , props changed
Directorystable/8/sys/dev/xen/xenpci/ modified , props changed
Directorystable/8/sys/pci/if_rl.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27