Searched hist:b07833a00d70fb731bb3aba8876a56e37b549f3e (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | diff b07833a00d70fb731bb3aba8876a56e37b549f3e Thu Feb 28 17:25:59 CST 2019 Brett Creeley <brett.creeley@intel.com> ice: Add reg_idx variable in ice_q_vector structure
Every time we want to re-enable interrupts and/or write to a register that requires an interrupt vector's hardware index we do the following:
vsi->hw_base_vector + q_vector->v_idx
This is a wasteful operation, especially in the hot path. Fix this by adding a u16 reg_idx member to the ice_q_vector structure and make the necessary changes to make this work.
Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
H A D | ice.h | diff b07833a00d70fb731bb3aba8876a56e37b549f3e Thu Feb 28 17:25:59 CST 2019 Brett Creeley <brett.creeley@intel.com> ice: Add reg_idx variable in ice_q_vector structure
Every time we want to re-enable interrupts and/or write to a register that requires an interrupt vector's hardware index we do the following:
vsi->hw_base_vector + q_vector->v_idx
This is a wasteful operation, especially in the hot path. Fix this by adding a u16 reg_idx member to the ice_q_vector structure and make the necessary changes to make this work.
Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
H A D | ice_lib.c | diff b07833a00d70fb731bb3aba8876a56e37b549f3e Thu Feb 28 17:25:59 CST 2019 Brett Creeley <brett.creeley@intel.com> ice: Add reg_idx variable in ice_q_vector structure
Every time we want to re-enable interrupts and/or write to a register that requires an interrupt vector's hardware index we do the following:
vsi->hw_base_vector + q_vector->v_idx
This is a wasteful operation, especially in the hot path. Fix this by adding a u16 reg_idx member to the ice_q_vector structure and make the necessary changes to make this work.
Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
H A D | ice_main.c | diff b07833a00d70fb731bb3aba8876a56e37b549f3e Thu Feb 28 17:25:59 CST 2019 Brett Creeley <brett.creeley@intel.com> ice: Add reg_idx variable in ice_q_vector structure
Every time we want to re-enable interrupts and/or write to a register that requires an interrupt vector's hardware index we do the following:
vsi->hw_base_vector + q_vector->v_idx
This is a wasteful operation, especially in the hot path. Fix this by adding a u16 reg_idx member to the ice_q_vector structure and make the necessary changes to make this work.
Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|