mirror of https://github.com/F-Stack/f-stack.git
对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商
This commit is contained in:
parent
c1d64d891b
commit
f614f3053a
|
@ -577,6 +577,9 @@ init_port_start(void)
|
||||||
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
|
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
|
||||||
uint16_t nb_queues = pconf->nb_lcores;
|
uint16_t nb_queues = pconf->nb_lcores;
|
||||||
|
|
||||||
|
if (pconf->nb_slaves > 0) {
|
||||||
|
rte_eth_bond_8023ad_dedicated_queues_enable(u_port_id);
|
||||||
|
}
|
||||||
for (j=0; j<=pconf->nb_slaves; j++) {
|
for (j=0; j<=pconf->nb_slaves; j++) {
|
||||||
if (j < pconf->nb_slaves) {
|
if (j < pconf->nb_slaves) {
|
||||||
port_id = pconf->slave_portid_list[j];
|
port_id = pconf->slave_portid_list[j];
|
||||||
|
|
Loading…
Reference in New Issue