Gardaí made 17 arrests as part of Operation Thor in west Cork.