};
static struct rte_sched_port_params port_param = {
- .name = "port_0",
.socket = 0, /* computed */
.rate = 0, /* computed */
.mtu = 1522,
port_param.socket = 0;
port_param.rate = (uint64_t) 10000 * 1000 * 1000 / 8;
- port_param.name = "port_0";
port = rte_sched_port_config(&port_param);
VERIFY(port != NULL, "Error config sched port\n");