Merge pull request from Lorisy/dev

对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商
This commit is contained in:
johnjiang 2022-07-01 17:15:23 +08:00 committed by GitHub
commit c8e1aab83e
1 changed files with 3 additions and 0 deletions

View File

@ -577,6 +577,9 @@ init_port_start(void)
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
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++) {
if (j < pconf->nb_slaves) {
port_id = pconf->slave_portid_list[j];