[PATCH 6.1 401/634] i40e: validate ring_len parameter against hardware-specific values