net/mlx5: support generic tunnel offloading
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index 64f025d..236e832 100644 (file)
@@ -89,6 +89,7 @@ struct mlx5_dev_config {
        unsigned int rx_vec_en:1; /* Rx vector is enabled. */
        unsigned int mpw_hdr_dseg:1; /* Enable DSEGs in the title WQEBB. */
        unsigned int vf_nl_en:1; /* Enable Netlink requests in VF mode. */
+       unsigned int swp:1; /* Tx generic tunnel checksum and TSO offload. */
        unsigned int tso_max_payload_sz; /* Maximum TCP payload for TSO. */
        unsigned int ind_table_max_size; /* Maximum indirection table size. */
        int txq_inline; /* Maximum packet size for inlining. */