[PATCH 5.4 208/240] i40e: Fix calculating the number of queue pairs