[PATCH 5.18 059/141] i40e: Fix calculating the number of queue pairs