Desi caste really is ethnicity which is a protected class- it is thousands of endogamous communities that have been that way for a long time. They might not look as distinct from each other as say Tutsis and Hutus, but I don't think you could formulate a definition of ethnicity that excludes South Asian castes.