[Intel-wired-lan] [PART1 PATCH 03/11] i40e: rework exit flow of i40e_add_fdir_ethtool

Bowers, AndrewX andrewx.bowers at intel.com
Mon Mar 6 17:43:15 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Jacob Keller
> Sent: Monday, February 6, 2017 2:39 PM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [PART1 PATCH 03/11] i40e: rework exit flow of
> i40e_add_fdir_ethtool
> 
> Refactor the exit flow of the i40e_add_fdir_ethtool function. Move the
> input_label to the end of the function, removing the dependency on having
> a non-zero return value. Add a comment explaining why it is ok not to free
> the fdir data structure, because the structure is now stored in the
> fdir_filter_list.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-Id: I723342181d59cd0c9f3b31140c37961ba37bb242
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list