diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2014-02-20 19:29:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-21 12:38:26 -0500 |
commit | 6c5ef6209d28bd2e75484e5cad070c898a7f5154 (patch) | |
tree | 348713d2abe8bb1d246b53007a5b47f50529405d /drivers/net/ethernet/intel/i40evf/i40evf_main.c | |
parent | 81b8c0117d88adb9c72b3fa5feff0d1efac816bd (diff) |
i40e: tighten up ring enable/disable flow
Change the do/while to a for loop, so we don't hit the delay each
time, even when the register is ready for action.
Don't bother to set or clear the QENA_STAT bit as it is
read-only.
Change-ID: Ie464718804dd79f6d726f291caa9b0c872b49978
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf_main.c')
0 files changed, 0 insertions, 0 deletions