At the Pentagon , Lt. Gen. Carter Ham , director of operations for the Joint Chiefs , said cooperation along the border is crucial to U.S. war efforts but that communication and cooperation with the Pakistani military along the Afghan border have not been affected by the political crisis .