Lines Matching +full:0 +full:x8000
106 if (cfg->ttl == 0) {
107 NL_SET_ERR_MSG_MOD(extack, "VxLAN: TTL must not be configured to 0");
111 if (cfg->label != 0) {
112 NL_SET_ERR_MSG_MOD(extack, "VxLAN: Flow label must be configured to 0");
157 config->learning_en = cfg->flags & VXLAN_F_LEARN ? 1 : 0;
172 /* VxLAN driver's default UDP source port range is 32768 (0x8000)
173 * to 60999 (0xee47). Set the upper 8 bits of the UDP source port
174 * to a random number between 0x80 and 0xee
177 udp_sport = (udp_sport % (0xee - 0x80 + 1)) + 0x80;
217 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0);
261 return 0;
269 mlxsw_sp_parsing_vxlan_udp_dport_set(mlxsw_sp, 0);
282 mlxsw_sp_parsing_vxlan_udp_dport_set(mlxsw_sp, 0);
371 return 0;
378 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0);
395 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0);
443 return 0;
451 mlxsw_sp_parsing_vxlan_udp_dport_set(mlxsw_sp, 0);
464 mlxsw_sp_parsing_vxlan_udp_dport_set(mlxsw_sp, 0);