i40e: enable fdb add code, remove unused code
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 21 Nov 2014 00:30:02 +0000 (16:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2014 21:56:27 +0000 (16:56 -0500)
commit2f90ade661b3bdcde08e50c02c564e139300e263
treeaa20a48ca9346d9b56ea299df06a6afaed100284
parent1459143386c5d868c87903b8d433a52cffcf3e66
i40e: enable fdb add code, remove unused code

The original FDB code submission wasn't correct and the code
wasn't enabled.  This removes some dead code (can use the common kernel
code for fdb_del and fdb_dump) and correctly enables the fdb_add
function pointer.

The fdb_add functionality is important to i40e because it is needed
for a workaround to allow bridges to work correctly on the i40e
hardware.

Reported-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c