The results infer that IL-17A and IL-17F genes could be crucial modifiers of inflammatory diseases and the SNPs might be useful markers of genetic resistance against bovine mastitis development in both dairy and dual purpose cattle. This evidence concerns the gene IL17F and mastitis.