we want to propose one change in the code, we observed that perfoming broadcast the switch take too,
because it send the packets to a sequential form, it take a packet and send.
We propose to do this action through thread. the code will be this:
int
dp_ports_output_all(struct datapath dp, struct ofpbuf buffer, int in_port, bool flood)
{
struct sw_port *p;
int i = 0;
pid_t idProcess[dp->ports_num]; //id threads
Hi
we want to propose one change in the code, we observed that perfoming broadcast the switch take too, because it send the packets to a sequential form, it take a packet and send.
We propose to do this action through thread. the code will be this:
int dp_ports_output_all(struct datapath dp, struct ofpbuf buffer, int in_port, bool flood) { struct sw_port *p; int i = 0; pid_t idProcess[dp->ports_num]; //id threads
}