summaryrefslogtreecommitdiffstats
path: root/include/linux/qed
diff options
context:
space:
mode:
authorMichal Kalderon <Michal.Kalderon@cavium.com>2017-10-09 12:37:44 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-09 10:21:26 -0700
commited468ebee04ffba0231a8f50616bdb250752a891 (patch)
tree476aae79db3fef767fb8755dade7f6353b0424a8 /include/linux/qed
parentf5823fe6897c444265ef3919d8684b647eef904f (diff)
downloadlinux-ed468ebee04ffba0231a8f50616bdb250752a891.tar.gz
linux-ed468ebee04ffba0231a8f50616bdb250752a891.tar.bz2
linux-ed468ebee04ffba0231a8f50616bdb250752a891.zip
qed: Add ll2 ability of opening a secondary queue
When more than one ll2 queue is opened ( that is not an OOO queue ) ll2 code does not have enough information to determine whether the queue is the main one or not, so a new field is added to the acquire input data to expose the control of determining whether the queue is the main queue or a secondary queue. Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r--include/linux/qed/qed_ll2_if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_ll2_if.h b/include/linux/qed/qed_ll2_if.h
index 89fa0bbd54f3..d7cca590b743 100644
--- a/include/linux/qed/qed_ll2_if.h
+++ b/include/linux/qed/qed_ll2_if.h
@@ -171,6 +171,7 @@ struct qed_ll2_acquire_data_inputs {
enum qed_ll2_tx_dest tx_dest;
enum qed_ll2_error_handle ai_err_packet_too_big;
enum qed_ll2_error_handle ai_err_no_buf;
+ bool secondary_queue;
u8 gsi_enable;
};