For aligned packets (64 bytes), on the last cc the user_size will be 64 (7'b100000) and the mty should be zero since all the bytes are valid. However, since only 6 bits are used from the user_size, that value is zero, which means the calculated mty is 64, signaling to the QDMA that all the bytes in the last cc are invalid.
Fix for tuser_size to mty translation in c2h.
For aligned packets (64 bytes), on the last cc the user_size will be 64 (7'b100000) and the mty should be zero since all the bytes are valid. However, since only 6 bits are used from the user_size, that value is zero, which means the calculated mty is 64, signaling to the QDMA that all the bytes in the last cc are invalid.