Hello,
If we are talking about a direct link with no other devices in the middle distance limitations are dictated by Layer 1 technology(like media type (copper, fiber(SM,MM))and SFP type, LR/SR). As long as you can mantain below the limitis imposed by your cabling you won't have problems.
HTH,
ADP