I was just very happy that I was able to protect my serve, find a way to break, create opportunities.
In his 20th Wimbledon appearance, top seed Federer, a 20-time major victor, is bidding to become only the second player to claim nine singles titles at the All England Club after Martina Navratilova.
Gael Monfils overcame Paolo Lorenzi 3-6, 6-3, 7-6 (5), 7-6 (3) to set up a third-round meeting with 2017 Wimbledon semifinalist Sam Querrey.
Eight-time champion Federer needed just 16 minutes to win the opening set on his way to a 6-0, 7-5, 6-4 defeat of France's Adrian Mannarino to reach his 16th All England Club quarter-final.
Rodina, who upset 10th-seeded Madison Keys in the previous round, broke back for 3-2 in the second set but was broken to love straight away.
It is a remarkable record sure to alarm her opponents, but Williams seeded 25th after her maternity leave, admits that fear factor can be a double-edged sword.
A victor down the line set up two break points for Federer, and while Lacko saved the first, he sent a forehand wide on the second to hand the top seed the initiative and a 4-3 lead.
Rafael Nadal of Spain celebrates making the Wimbeldon quarterfinals for the first time in seven years.
The top-ranked Spaniard beat Jiri Vesely 6-3 6-3 6-4 on Centre Court to return to the last eight for the first time since he was runner-up to Novak Djokovic in 2011.
The No. 9 seed, at 38 the oldest woman in the draw, came back to beat 141st-ranked qualifier Alexandra Dulgheru of Romania 4-6, 6-0, 6-1 to reach the third round at the All England Club.
Williams is looking for her eighth Wimbledon title and has established herself as the big favourite once again, with the top-10 seeds all eliminated.
Five-time champion Venus Williams did better with her comeback attempt.
Even the top seed was surprised at how easily everything appears to be falling into place as he chases a 21st Grand Slam title.
Croatian world number 55 Donna Vekic followed up her shock success against fourth seed Sloane Stephens with a 7-5, 6-4 victory against Sweden's Rebecca Peterson.
In the first round, she started by conceding a tiebreaker against 58th-ranked Johanna Larsson before taking 12 of the last 15 games.
Not for the first time at Wimbledon, Dominika Cibulkova was left agitated by a decision that went against her.
The 12th-seeded Ostapenko was aggressive throughout, hitting 28 winners - 13 coming off her backhand.
Federer hit 35 winners and offered up not a single break point as he took his streak to 24 consecutive sets won at the All England Club, having waltzed to the title a year ago. It makes him a clear leader in Wimbledon's ace race, and highly-rated Greek 19-year-old Stefanos Tsitsipas is next in the firing line, as both make their fourth-round debuts.
The Latvian player also reached the quarterfinals past year in her best Wimbledon showing, losing to eventual runner-up Venus Williams.
Hsieh of Taiwan protested to the Chinese umpire in a language that Cibulkova couldn't understand, before the match referee became involved as calls of "replay the point" came from a bemused crowd on Court 18.