ixgbe: improve mac filter handling
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 29 Mar 2014 06:51:25 +0000 (06:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 23 Apr 2014 07:09:48 +0000 (00:09 -0700)
commit5d7daa35b9eb14b64acd208a900e44aeeee25eca
tree37685028dc69160e98000fee749417d4fae09fd6
parentb335e75bab9e578764fc7dd581b61075bfd8c655
ixgbe: improve mac filter handling

Add mac_table API based on work done for igb, which includes functions
to add and delete mac filters. This simplifies code for various entities
that use MAC filters such as VMDQ, SR-IOV, MACVLAN, and such.

Reported-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c