Impurity on body, clothes or place of Salaah

Fowl droppings

Q: A fowl came into the home and soiled the carpet with droppings. Should I wash the soiled area only, or do I have to wash the entire carpet? If salaah was performed on the clean portion of the carpet before the entire carpet was washed, will the salaah be valid?