iavf: enhance the duplicated FDIR list scan handling
authorHaiyue Wang <haiyue.wang@intel.com>
Wed, 31 Mar 2021 02:08:36 +0000 (10:08 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Apr 2021 16:03:56 +0000 (09:03 -0700)
commitf3b9da31f0e36a3cd3edad51131d63c044cd1ec4
tree5c2afe4682fb34b598acb9b04a62197295e283d9
parentf995f95af626cb1867cbfc702d011a50c4ff9538
iavf: enhance the duplicated FDIR list scan handling

When the FDIR entry is found, just return the result directly to break
the loop.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_fdir.c