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. Here, S100A9 is linked to mastitis.