diff options
author | Sudarsana Reddy Kalluru | 2016-06-21 15:36:21 +0200 |
---|---|---|
committer | David S. Miller | 2016-06-23 21:56:46 +0200 |
commit | 722003ac40c2c397bd5bc2b714125bc82ab27043 (patch) | |
tree | ff93a5075ef810931d0434d42d0fd55b68ff7ae0 /drivers/net/ethernet/qlogic/qed/qed_int.h | |
parent | Merge tag 'wireless-drivers-next-for-davem-2016-06-21' of git://git.kernel.or... (diff) | |
download | kernel-qcow2-linux-722003ac40c2c397bd5bc2b714125bc82ab27043.tar.gz kernel-qcow2-linux-722003ac40c2c397bd5bc2b714125bc82ab27043.tar.xz kernel-qcow2-linux-722003ac40c2c397bd5bc2b714125bc82ab27043.zip |
qed: Add support for coalescing config read/update.
This patch adds support for configuring the device tx/rx coalescing
timeout values in the order of micro seconds. It also adds APIs for
upper layer drivers for reading/updating the coalescing values.
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_int.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_int.h b/drivers/net/ethernet/qlogic/qed/qed_int.h index 20b468637504..0948be64dc78 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_int.h +++ b/drivers/net/ethernet/qlogic/qed/qed_int.h @@ -389,6 +389,9 @@ void qed_init_cau_sb_entry(struct qed_hwfn *p_hwfn, u16 vf_number, u8 vf_valid); +int qed_int_set_timer_res(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, + u8 timer_res, u16 sb_id, bool tx); + #define QED_MAPPING_MEMORY_SIZE(dev) (NUM_OF_SBS(dev)) #endif |