From f8321fa815ca33267bd5b829fd8c06b75ab215d1 Mon Sep 17 00:00:00 2001
From: zhangmengxuan <zhangmengxuan@kylinos.cn>
Date: Tue, 12 Mar 2024 19:51:57 +0800
Subject: [PATCH] ensure the bond interface flow_type_rss_offloads match slave

---
 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 5811918..a774d45 100644
--- a/src/lstack/core/lstack_dpdk.c
+++ b/src/lstack/core/lstack_dpdk.c
@@ -584,6 +584,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;
+        dev_info.flow_type_rss_offloads = slave_dev_info.flow_type_rss_offloads;
     }
 
     eth_params_checksum(&eth_params->conf, &dev_info);
-- 
2.33.0

