mirror_ubuntu-kernels/drivers/net/ethernet/intel/i40e
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 i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_client.c i40e: Add support for client interface for IWARP driver 2016-02-29 17:10:52 -05:00
i40e_client.h i40e: Add support for client interface for IWARP driver 2016-02-29 17:10:52 -05:00
i40e_common.c i40e: Use the new rx ctl register helpers. Don't use AQ calls from clear_hw. 2016-02-19 00:02:29 -08:00
i40e_dcb_nl.c i40e: Change some messages from info to debug only 2015-10-15 01:58:41 -07:00
i40e_dcb.c i40e: refactor DCB function 2016-02-16 19:04:08 -08:00
i40e_dcb.h i40e: Add parsing for CEE DCBX TLVs 2015-10-08 15:11:38 -07:00
i40e_debugfs.c i40e: queue-specific settings for interrupt moderation 2016-02-19 22:54:10 -05:00
i40e_devids.h i40e: remove VF device IDs from PF 2016-02-16 19:24:26 -08:00
i40e_diag.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-05 01:20:58 -07:00
i40e_fcoe.c i40e/i40evf: Allow up to 12K bytes of data per Tx descriptor instead of 8K 2016-04-05 01:28:44 -07:00
i40e_fcoe.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_hmc.c i40e: clean up unneeded gotos 2015-07-23 05:15:26 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.c i40e: use explicit cast from u16 to u8 2015-12-12 21:08:26 -08:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-05 01:20:58 -07:00
i40e_nvm.c i40e: add a little more to an NVM update debug message 2016-02-16 19:08:17 -08: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_ptp.c i40e: generate fewer startup messages 2015-10-16 04:36:13 -07:00
i40e_register.h i40e: Expose some registers to program parser, FD and RSS logic 2016-02-18 23:49:31 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08: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 Round two of 4.6 merge window patches 2016-03-22 15:48:44 -07:00
i40e_virtchnl_pf.c Round two of 4.6 merge window patches 2016-03-22 15:48:44 -07:00
i40e_virtchnl_pf.h Round two of 4.6 merge window patches 2016-03-22 15:48:44 -07:00
i40e_virtchnl.h i40e: Add support for client interface for IWARP driver 2016-02-29 17:10:52 -05:00
i40e.h i40e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-05 01:20:58 -07:00
Makefile i40e: Add support for client interface for IWARP driver 2016-02-29 17:10:52 -05:00