El Tri beat France to a place in the final eight, while Brazil will take on Egypt in the next round
Mexico will play South Korea in the quarter-finals of the Olympics after beating South Africa 3-0 in their final group game.
El Tri's victory on Wednesday saw them finish second in the group behind Japan, who claimed top spot after beating France.
France's 4-0 defeat by Japan was the second time they had conceded four goals in the tournament, while Argentina and Germany also failed to make it through to the knockout stages.

