According to this site:
http://www.mybaby-name.com/baby-name-full-detail/mordred/9014/1, it is Latin and means pain. I'm skeptical.
But according to three other baby name sites, it just means "son or nephew of
Arthur," probably implying that it was made up. So that's not useful...