Prime Minister Narendra Modi met Chinese President Xi Jinping on the sidelines of BRICS Summit here and welcomed the agreement reached between the two countries earlier this week on patrolling arrangements along Line of Actual Control in eastern Ladakh.