You’ll know it when you’re best buddies...and you wouldn’t genuinely mind knowing their family and hang out with them...mutual respect to start!
On the one hand, being good friends with a manager may prompt one to go the extra mile because you're helping your dear friend (and perhaps vice versa). On the other hand, a deep friendship may cause you to ignore or downplay flaws or problems (that may seriously impact the customer, etc).