Among these, seven genes (CXCR1, HCK, IL1RN, MMP9, S100A9, GRO1, and SOCS3) were identified as the hub genes and these can be explored as potential candidate genes for mastitis susceptibility and resistance. This evidence concerns the gene MMP9 and mastitis.