[PATCH 6.16 102/143] i40e: add validation for ring_len param