Jeff Mathis has accounted for less than 1 percent of the 3,000 home runs in Marlins' franchise history. His contribution felt considerable larger Sunday.

The club's 3,000th homer was a Mathis walk-off grand slam that sent the Marlins to a 6-2 win over the Padres and capped a 15-10 June. A buoyant Mathis rounded third, discarded his helmet, dropped his left shoulder and was enveloped into the bouncing mass of red-orange jerseys.

"I've had a bunch of chances with guys on base and haven't really gotten the job done," said Mathis, who entered that at-bat hitting 1-for-15 on the season with runners in scoring position. That's why it feels even [sweeter] to be able to produce and help the team out.

"He threw a bunch of fastballs the whole inning. I knew once I got ahead (1-0) that he was probably going back to it. Just tried to get the foot down early and get the head out. It felt good, real good."

Padres' right-hander Tyson Ross walked Logan Morrison to start the inning and Marcell Ozuna followed with a single. With one out and runners at the corners, the Padres opted to intentionally walk the left-handed hitting Greg Dobbs and brought in center fielder Alexi Amarista as a fifth infielder with Mathis up.

The homer was Mathis' second career grand slam and first walk-off.

"We gave ourselves a chance and got some big hits, had some big at-bats, something we weren't doing early in the season," manager Mike Redmond said. "I just felt we were going to win that game in the ninth right there."

Making his third start since coming off the disabled list, Nathan Eovaldi left after six innings with a two-run lead the Marlins' bullpen could not preserve. Chad Qualls opened the seventh with a walk, and two batters later pinch-hitter Carlos Quentin blasted a pitch off the top of the left-center field wall for a game-tying homer.