[PATCH 5.10 119/122] i40e: add validation for ring_len param