1 Star 0 Fork 32

jinag12/gazelle_1

forked from src-openEuler/gazelle 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
0013-fix-bond-port-reta_size-init.patch 795 Bytes
Copy Edit Raw Blame History
From 2151d99ea4b19492543c5c05b3b1cc5ed6db316c Mon Sep 17 00:00:00 2001
From: compile_success <980965867@qq.com>
Date: Tue, 26 Sep 2023 01:29:21 +0000
Subject: [PATCH] fix bond port reta_size init
---
src/lstack/core/lstack_dpdk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lstack/core/lstack_dpdk.c b/src/lstack/core/lstack_dpdk.c
index cd42047..6384439 100644
--- a/src/lstack/core/lstack_dpdk.c
+++ b/src/lstack/core/lstack_dpdk.c
@@ -552,6 +552,7 @@ int32_t dpdk_ethdev_init(int port_id, bool bond_port)
}
dev_info.rx_offload_capa = slave_dev_info.rx_offload_capa;
dev_info.tx_offload_capa = slave_dev_info.tx_offload_capa;
+ dev_info.reta_size = slave_dev_info.reta_size;
}
eth_params_checksum(&eth_params->conf, &dev_info);
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jiangheng12/gazelle_1.git
git@gitee.com:jiangheng12/gazelle_1.git
jiangheng12
gazelle_1
gazelle_1
master

Search

0d507c66 1850385 C8b1a773 1850385