The gigantic waves created by Whitebeard at the beggining of Marineford arc were a poker move from him, he did it to intimidate the marines about his power and to force Aokiji to freeze them so he would create a landing base for his crew with the ice. Had these waves not been stopped they would have swallowed everyone at Marineford including Ace and the rest of the Whitebeard Pirates.