net/sfc: do not use Rx queue control state on datapath
[dpdk.git] / drivers / net / sfc / sfc_tx.h
index 39977a5..35b65d3 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
 extern "C" {
 #endif
 
-/**
- * A segment must not cross 4K boundary
- * (this is a requirement of NIC TX descriptors)
- */
-#define SFC_TX_SEG_BOUNDARY    4096
-
 struct sfc_adapter;
 struct sfc_evq;
 
@@ -79,6 +75,7 @@ struct sfc_txq {
        unsigned int            completed;
        unsigned int            free_thresh;
        uint16_t                hw_vlan_tci;
+       uint16_t                dma_desc_size_max;
 
        unsigned int            hw_index;
        unsigned int            flags;