net/sfc: factor out libefx-based Rx datapath
[dpdk.git] / drivers / net / sfc / sfc.h
index 09c9ca5..02c97d1 100644 (file)
@@ -1,5 +1,7 @@
 /*-
- * Copyright (c) 2016 Solarflare Communications Inc.
+ *   BSD LICENSE
+ *
+ * Copyright (c) 2016-2017 Solarflare Communications Inc.
  * All rights reserved.
  *
  * This software was jointly developed between OKTET Labs (under contract
@@ -127,6 +129,8 @@ struct sfc_mcdi {
        enum sfc_mcdi_state             state;
        efx_mcdi_transport_t            transport;
        bool                            logging;
+       uint32_t                        proxy_handle;
+       efx_rc_t                        proxy_result;
 };
 
 struct sfc_intr {
@@ -138,6 +142,7 @@ struct sfc_intr {
 struct sfc_evq_info;
 struct sfc_rxq_info;
 struct sfc_txq_info;
+struct sfc_dp_rx;
 
 struct sfc_port {
        unsigned int                    lsc_seq;
@@ -221,6 +226,8 @@ struct sfc_adapter {
        unsigned int                    rss_tbl[EFX_RSS_TBL_SIZE];
        uint8_t                         rss_key[SFC_RSS_KEY_SIZE];
 #endif
+
+       const struct sfc_dp_rx          *dp_rx;
 };
 
 /*