aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/qed/qed_eth_if.h
diff options
context:
space:
mode:
authorRahul Verma <Rahul.Verma@cavium.com>2017-07-26 06:07:14 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-27 00:05:22 -0700
commitbf5a94bfe26a9fcd4af91ae6bccd4f3d600d2262 (patch)
tree10444bba0c94198edc3ffd48125b30ceec0d5fd0 /include/linux/qed/qed_eth_if.h
parentqed: Add support for vf coalesce configuration. (diff)
downloadwireguard-linux-bf5a94bfe26a9fcd4af91ae6bccd4f3d600d2262.tar.xz
wireguard-linux-bf5a94bfe26a9fcd4af91ae6bccd4f3d600d2262.zip
qed: Read per queue coalesce from hardware
Retrieve the actual coalesce value from hardware for every Rx/Tx queue, instead of Rx/Tx coalesce value cached during set coalesce. Signed-off-by: Rahul Verma <Rahul.Verma@cavium.com> Signed-off-by: Yuval Mintz <yuval.mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed/qed_eth_if.h')
-rw-r--r--include/linux/qed/qed_eth_if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 0eef0a2b1901..d60de4a39810 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -323,6 +323,7 @@ struct qed_eth_ops {
int (*configure_arfs_searcher)(struct qed_dev *cdev,
bool en_searcher);
+ int (*get_coalesce)(struct qed_dev *cdev, u16 *coal, void *handle);
};
const struct qed_eth_ops *qed_get_eth_ops(void);