P4HB and mastitis: Our study found that vitexin significantly inhibited PDI, Ero1-Lα, p-IRE1α, PERK, and CHOP protein and promoted the expression of BiP in S. aureus-induced mastitis, suggesting that vitexin effectively prevented the production of ROS amplified by ER and programmed cell death triggered by CHOP.