[PATCH 6.1 69/73] i40e: add validation for ring_len param