]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.h
net/mlx5: support generic tunnel offloading
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index 64f025d22db5ec71297f2ddda6ba2bc2ad87424d..236e832064bc23b17e0c6d7126f2e0e63929d1ec 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. */