If you subdivide with the Subdivide operation, it won't round the shape, it will just add some subdivisions, and putting the Smoothness value won't fix the problem:
Come back the previous version with a X > Limited Dissolve and instead use a Subdivision Surface modifier which will round the shape this time, but you'll need to bevel the top and bottom faces so that your cylinder doesn't get completely round. Then apply the modifier if you don't want any modifier: