diff options
author | Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com> | 2018-07-03 15:42:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 22:30:28 +0900 |
commit | 0364a0d0e7a124e7c821cc536a95f7ef421349cb (patch) | |
tree | 18599121c1bbb14378748457b262e66d2dceafd8 /block/blk-settings.c | |
parent | igb: Refactor igb_configure_cbs() (diff) | |
download | linux-dev-0364a0d0e7a124e7c821cc536a95f7ef421349cb.tar.xz linux-dev-0364a0d0e7a124e7c821cc536a95f7ef421349cb.zip |
igb: Only change Tx arbitration when CBS is on
Currently the data transmission arbitration algorithm - DataTranARB
field on TQAVCTRL reg - is always set to CBS when the Tx mode is
changed from legacy to 'Qav' mode.
Make that configuration a bit more granular in preparation for the
upcoming Launchtime enabling patches, since CBS and Launchtime can be
enabled separately. That is achieved by moving the DataTranARB setup
to igb_config_tx_modes() instead.
Similarly, when disabling CBS we must check if it has been disabled
for all queues, and clear the DataTranARB accordingly.
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions