net/sfc: support initialising different Rx queue types
[dpdk.git] / drivers / net / sfc / sfc.h
index fdee800..00fc26c 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
 *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2016-2019 Solarflare Communications Inc.
  *
  * This software was jointly developed between OKTET Labs (under contract
 #include "efx.h"
 
 #include "sfc_efx_mcdi.h"
+#include "sfc_efx.h"
 
 #include "sfc_debug.h"
 #include "sfc_log.h"
 #include "sfc_filter.h"
 #include "sfc_sriov.h"
 #include "sfc_mae.h"
+#include "sfc_dp.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -167,9 +169,11 @@ struct sfc_rss {
 struct sfc_adapter_shared {
        unsigned int                    rxq_count;
        struct sfc_rxq_info             *rxq_info;
+       unsigned int                    ethdev_rxq_count;
 
        unsigned int                    txq_count;
        struct sfc_txq_info             *txq_info;
+       unsigned int                    ethdev_txq_count;
 
        struct sfc_rss                  rss;