net/ice: support L4 for QinQ switch filter
[dpdk.git] / drivers / net / sfc / sfc_dp_tx.h
index bed8ce8..7778079 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
@@ -10,7 +10,7 @@
 #ifndef _SFC_DP_TX_H
 #define _SFC_DP_TX_H
 
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 
 #include "sfc_dp.h"
 #include "sfc_debug.h"
@@ -70,6 +70,16 @@ struct sfc_dp_tx_qcreate_info {
         * the hardware to apply TSO packet edits.
         */
        uint16_t                tso_tcp_header_offset_limit;
+       /** Maximum number of header DMA descriptors per TSOv3 transaction */
+       uint16_t                tso_max_nb_header_descs;
+       /** Maximum header length acceptable by TSOv3 transaction */
+       uint16_t                tso_max_header_len;
+       /** Maximum number of payload DMA descriptors per TSOv3 transaction */
+       uint16_t                tso_max_nb_payload_descs;
+       /** Maximum payload length per TSOv3 transaction */
+       uint32_t                tso_max_payload_len;
+       /** Maximum number of frames to be generated per TSOv3 transaction */
+       uint32_t                tso_max_nb_outgoing_frames;
 };
 
 /**