ixgbe: fix setting of promisc mode when using mac-vlans
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 13 May 2010 17:33:00 +0000 (17:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2010 04:07:32 +0000 (21:07 -0700)
commite433ea1fb03c10debf101019668b83abed041c24
treee337d64fc7be738c1220b0e66fa4c1e5a5f4c552
parente7874c996b8591f59d78efa519031dab5b58723b
ixgbe: fix setting of promisc mode when using mac-vlans

Introduce uc_set_promisc flag to fix enabling of promisc mode
when exceeding the number of supported RAR entries.

Issue discovered by Ben Greear when using mac-vlans.

Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h