diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2016-03-04 12:35:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-07 15:01:39 -0500 |
commit | 088c86183012495b53ecc1c734909e5712a40b66 (patch) | |
tree | d1e8b84fbee7bf4227367472ca3119ef2f055a65 /include | |
parent | 49cc66eaee19e772997b63b057ea4b4bf7d48db0 (diff) | |
download | linux-088c86183012495b53ecc1c734909e5712a40b66.tar.bz2 |
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')
-rw-r--r-- | include/linux/qed/qed_eth_if.h | 12 |
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); |