hardboard is compressed cardboard and swells when damp or wet, 4mm or 6 mm ply is easily available and is a much better option.
the thickness of ply that you use, really depends on the condition of your floorboards, take care when nailing (18mm ring shank nails at 100mm centres) trying to avoid...