aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/qed/qed_eth_if.h
diff options
context:
space:
mode:
authorChopra, Manish <Manish.Chopra@cavium.com>2017-04-13 04:54:44 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-17 13:06:18 -0400
commitd51e4af5c2092c48a06ceaf2323b13a39a2df4ee (patch)
tree236d338a52e7abee79ca613a972ac4b643525d3a /include/linux/qed/qed_eth_if.h
parentsmsc95xx: Add comments to the registers definition (diff)
downloadwireguard-linux-d51e4af5c2092c48a06ceaf2323b13a39a2df4ee.tar.xz
wireguard-linux-d51e4af5c2092c48a06ceaf2323b13a39a2df4ee.zip
qed: aRFS infrastructure support
This patch adds necessary APIs to interface with qede aRFS support in successive patch. It also reserves separate PTT entry for aRFS, [as being in fastpath flow] for hardware access instead of trying to acquire it at run time from the ptt pool. Signed-off-by: Manish Chopra <manish.chopra@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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 4cd1f0ccfa36..1eba803cb7f1 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -301,6 +301,14 @@ struct qed_eth_ops {
int (*tunn_config)(struct qed_dev *cdev,
struct qed_tunn_params *params);
+
+ int (*ntuple_filter_config)(struct qed_dev *cdev, void *cookie,
+ dma_addr_t mapping, u16 length,
+ u16 vport_id, u16 rx_queue_id,
+ bool add_filter);
+
+ int (*configure_arfs_searcher)(struct qed_dev *cdev,
+ bool en_searcher);
};
const struct qed_eth_ops *qed_get_eth_ops(void);