net/mlx5: support hardware TSO
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index 4c4b9d4..93f129b 100644 (file)
@@ -126,6 +126,8 @@ struct priv {
        unsigned int mps:1; /* Whether multi-packet send is supported. */
        unsigned int cqe_comp:1; /* Whether CQE compression is enabled. */
        unsigned int pending_alarm:1; /* An alarm is pending. */
+       unsigned int tso:1; /* Whether TSO is supported. */
+       unsigned int max_tso_payload_sz; /* Maximum TCP payload for TSO. */
        unsigned int txq_inline; /* Maximum packet size for inlining. */
        unsigned int txqs_inline; /* Queue number threshold for inlining. */
        /* RX/TX queues. */