sadomasochistic relationship

sa·do·mas·och·is·tic re·la·tion·ship

a relationship characterized by the complementary enjoyment of inflicting and suffering cruelty.