+ if (!NXM_IS_NX_REG(header) || NXM_NX_REG_IDX(header) >= FLOW_N_REGS) {
+ ovs_fatal(0, "%s: destination field must be register", s_);
+ }
+ if (n_bits < 16 && n_links > (1u << n_bits)) {
+ ovs_fatal(0, "%s: %d-bit destination field has %u possible values, "
+ "less than specified n_links %d",
+ s_, n_bits, 1u << n_bits, n_links);
+ }