]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_rxtx.h
mlx5: add Rx CRC stripping configuration
[dpdk.git] / drivers / net / mlx5 / mlx5_rxtx.h
index 6a0087e225c690f298c01e85744adb5c9d7e12f7..61be3e4e9d01e554c6a39653000bf3628dbe4760 100644 (file)
@@ -116,6 +116,7 @@ struct rxq {
        unsigned int csum:1; /* Enable checksum offloading. */
        unsigned int csum_l2tun:1; /* Same for L2 tunnels. */
        unsigned int vlan_strip:1; /* Enable VLAN stripping. */
+       unsigned int crc_present:1; /* CRC must be subtracted. */
        union {
                struct rxq_elt_sp (*sp)[]; /* Scattered RX elements. */
                struct rxq_elt (*no_sp)[]; /* RX elements. */