[PATCH 5.4 77/81] i40e: add validation for ring_len param