[PATCH 5.15 151/151] i40e: add validation for ring_len param