@@ -26,6 +26,7 @@ Ariel Tubaltsev atubaltsev@vmware.com
Arun Sharma arun.sharma@calsoftinc.com
Aryan TaheriMonfared aryan.taherimonfared@uis.no
Ashwin Swaminathan ashwinds@arista.com
+Babu Shanmugam bschanmu@redhat.com
Ben Pfaff blp@ovn.org
Bert Vermeulen bert@biot.com
Billy O'Mahony billy.o.mahony@intel.com
@@ -37,7 +37,7 @@ static unsigned int conn_seq_no;
void
pinctrl_init(void)
{
- swconn = rconn_create(5, 0, DSCP_DEFAULT, 0xF);
+ swconn = rconn_create(5, 0, DSCP_DEFAULT, 1 << OFP13_VERSION);
conn_seq_no = 0;
}
@@ -97,7 +97,6 @@ pinctrl_recv(struct controller_ctx *ctx, const struct ofp_header *oh,
queue_msg(make_echo_reply(oh));
} else if (type == OFPTYPE_GET_CONFIG_REPLY) {
struct ofpbuf rq_buf;
- struct ofpbuf *spif;
struct ofp_switch_config *config_, config;
ofpbuf_use_const(&rq_buf, oh, ntohs(oh->length));
@@ -105,9 +104,6 @@ pinctrl_recv(struct controller_ctx *ctx, const struct ofp_header *oh,
config = *config_;
config.miss_send_len = htons(UINT16_MAX);
set_switch_config(swconn, &config);
- spif = ofputil_make_set_packet_in_format(rconn_get_version(swconn),
- NXPIF_NXM);
- queue_msg(spif);
} else if (type == OFPTYPE_PACKET_IN) {
process_packet_in(ctx, oh);
} else if (type != OFPTYPE_ECHO_REPLY && type != OFPTYPE_BARRIER_REPLY) {