summaryrefslogtreecommitdiff
path: root/include/linux/qed/qed_eth_if.h
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2016-03-04 20:35:05 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-07 23:01:39 +0300
commit088c86183012495b53ecc1c734909e5712a40b66 (patch)
treed1e8b84fbee7bf4227367472ca3119ef2f055a65 /include/linux/qed/qed_eth_if.h
parent49cc66eaee19e772997b63b057ea4b4bf7d48db0 (diff)
downloadlinux-088c86183012495b53ecc1c734909e5712a40b66.tar.xz
qed/qede: Add infrastructure support for hardware GRO
This patch adds mainly structures and APIs prototype changes in order to give support for qede slowpath/fastpath support for the same. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Manish Chopra <manish.chopra@qlogic.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.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index e53b0ca49e41..e1d69834a11f 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -39,6 +39,14 @@ struct qed_update_vport_params {
struct qed_update_vport_rss_params rss_params;
};
+struct qed_start_vport_params {
+ bool remove_inner_vlan;
+ bool gro_enable;
+ bool drop_ttl0;
+ u8 vport_id;
+ u16 mtu;
+};
+
struct qed_stop_rxq_params {
u8 rss_id;
u8 rx_queue_id;
@@ -118,9 +126,7 @@ struct qed_eth_ops {
void *cookie);
int (*vport_start)(struct qed_dev *cdev,
- u8 vport_id, u16 mtu,
- u8 drop_ttl0_flg,
- u8 inner_vlan_removal_en_flg);
+ struct qed_start_vport_params *params);
int (*vport_stop)(struct qed_dev *cdev,
u8 vport_id);