linux/drivers/net/ethernet/intel/i40evf
Alexander Duyck f2edaaaa39 i40e/i40evf: Fix handling of boolean logic in polling routines
In the polling routines for i40e and i40evf we were using bitwise operators
to avoid the side effects of the logical operators, specifically the fact
that if the first case is true with "||" we skip the second case, or if it
is false with "&&" we skip the second case.  This fixes an earlier patch
that converted the bitwise operators over to the logical operators and
instead replaces the entire thing with just an if statement since it should
be more readable what we are trying to do this way.

Fixes: 1a36d7fadd ("i40e/i40evf: use logical operators, not bitwise")
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-04-05 01:54:12 -07:00
..
i40e_adminq_cmd.h i40e: add adminq commands for Rx CTL registers 2016-02-18 23:55:59 -08:00
i40e_adminq.c i40e: clean event descriptor before use 2016-02-17 23:39:58 -08:00
i40e_adminq.h i40e/i40evf: fix a potential type compare issue 2015-10-07 13:38:11 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e: implement and use Rx CTL helper functions 2016-02-18 23:59:15 -08:00
i40e_devids.h i40e: remove forever unused ID 2016-01-08 01:33:42 -08:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h move io-64-nonatomic*.h out of asm-generic 2015-10-15 00:21:07 +02:00
i40e_prototype.h i40e: implement and use Rx CTL helper functions 2016-02-18 23:59:15 -08:00
i40e_register.h i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c i40e/i40evf: Fix handling of boolean logic in polling routines 2016-04-05 01:54:12 -07:00
i40e_txrx.h i40e/i40evf: Allow up to 12K bytes of data per Tx descriptor instead of 8K 2016-04-05 01:28:44 -07:00
i40e_type.h i40e/i40evf: Fix an accidental error with BIT_ULL replacement 2015-10-19 15:35:45 -07:00
i40e_virtchnl.h i40e/i40evf: Add a new offload for RSS PCTYPE V2 for X722 2015-12-12 21:08:42 -08:00
i40evf_ethtool.c i40evf: support packet split receive 2016-02-17 22:22:58 -08:00
i40evf_main.c i40evf: remove dead code 2016-04-05 01:40:39 -07:00
i40evf_virtchnl.c i40evf: support packet split receive 2016-02-17 22:22:58 -08:00
i40evf.h i40evf: support packet split receive 2016-02-17 22:22:58 -08:00
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00