The US military addressed this exact problem by making extra resources available to black recruits who were interested in becoming officers to assist them in performing to the exact same standards that were required of whites. The result? They managed to achieve their diversity goals among officers. And the expectations that you should reasonably have of an officer do not depend on race.
I like the approach that the US military took to affirmative action. By contrast I object to the way that our educational establishment routinely makes much better resources available to help white students achieve in one set of schools, while shoving black students through grades regardless of achievement in a different set of schools. Which then lets us all cry about the horrible discrimination when employers fail to treat high school diplomas equally for white and black kids.