summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/Kconfig
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2021-03-31 14:16:56 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-14 17:00:05 -0700
commitb8b4772377dd8a916479796c8a8c5425f937fcaf (patch)
tree5a673af8f74cac409a42bb930daff674ba825500 /drivers/net/ethernet/intel/Kconfig
parenta476d72abe6cdd2cccc3dbf5a844286cfe9684ed (diff)
downloadlwn-b8b4772377dd8a916479796c8a8c5425f937fcaf.tar.gz
lwn-b8b4772377dd8a916479796c8a8c5425f937fcaf.zip
ice: refactor interrupt moderation writes
Introduce several new helpers for writing ITR and GLINT_RATE registers, and refactor the code calling them. This resulted in removal of several duplicate functions and rolled a bunch of simple code back into the calling routines. In particular this removes some code that was doing both a store and a set in a helper function, which seems better done as separate tasks in the caller (and generally takes less lines of code even with a tiny bit of repetition). Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/Kconfig')
0 files changed, 0 insertions, 0 deletions