I see so much confusion over marketing categories vs genre and it positively permeates the internet, with even Literary Fiction being called a genre. Here's a neat infographic by literary agent Carly Watters which should help. It's not perfect as Ms. Watters admits, but it's a useful aid toward understanding the differences between the marketing categories of Commercial (Mainstream) Fiction, Literary Fiction, and Upmarket Fiction.