]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: fold the i40e_is_vsi_in_vlan check into i40e_put_mac_in_vlan
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 11 Nov 2016 20:39:33 +0000 (12:39 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Sat, 10 Jun 2017 01:57:01 +0000 (18:57 -0700)
commita3e5b42c2bcbc55addf4d4a272ef669483f1cf91
treee5d11dbc2e8803c0df886fb372ddfe31c1abafae
parentfdf1051f53ebc483ada92f5f5a0b7c22252495a4
i40e: fold the i40e_is_vsi_in_vlan check into i40e_put_mac_in_vlan

Fold the check for determining when to call i40e_put_mac_in_vlan directly
into the function so that we don't need to decide which function to use
ahead of time. This allows us to just call i40e_put_mac_in_vlan directly
without having to check ahead of time.

Change-ID: Ifff526940748ac14b8418be5df5a149502eed137
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 26132523
(cherry picked from commit 7aaf9536c45021772a5bc6cd4b620a11eac750f7)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c