summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_ll2.h
diff options
context:
space:
mode:
authorMichal Kalderon2017-10-09 11:37:44 +0200
committerDavid S. Miller2017-10-09 19:21:26 +0200
commited468ebee04ffba0231a8f50616bdb250752a891 (patch)
tree476aae79db3fef767fb8755dade7f6353b0424a8 /drivers/net/ethernet/qlogic/qed/qed_ll2.h
parentqed: Add ll2 option to limit the number of bds per packet (diff)
downloadkernel-qcow2-linux-ed468ebee04ffba0231a8f50616bdb250752a891.tar.gz
kernel-qcow2-linux-ed468ebee04ffba0231a8f50616bdb250752a891.tar.xz
kernel-qcow2-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 'drivers/net/ethernet/qlogic/qed/qed_ll2.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_ll2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_ll2.h b/drivers/net/ethernet/qlogic/qed/qed_ll2.h
index 9bdd08f15c79..f65817012e97 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_ll2.h
+++ b/drivers/net/ethernet/qlogic/qed/qed_ll2.h
@@ -121,6 +121,7 @@ struct qed_ll2_info {
bool b_active;
enum core_tx_dest tx_dest;
u8 tx_stats_en;
+ bool main_func_queue;
struct qed_ll2_rx_queue rx_queue;
struct qed_ll2_tx_queue tx_queue;
struct qed_ll2_cbs cbs;