Commit 778500e5 authored by Franck Messaoudi's avatar Franck Messaoudi

Fix Fixing the call to eBPF datapath when simple-switch is enabled

parent 65c2e6bc
......@@ -1147,11 +1147,13 @@ void pfcp_switch::handle_pfcp_session_modification_request(
}
}
Logger::upf_app().info("Modify datapath");
call_datapath(
NULL, req, NULL, session, spSessionManager,
&SessionManager::
modifyBpfSession /*&SessionManager::updateBpfSession*/);
if (isBpfAccelerationEnabled) {
Logger::upf_app().info("Modify datapath");
call_datapath(
NULL, req, NULL, session, spSessionManager,
&SessionManager::
modifyBpfSession /*&SessionManager::updateBpfSession*/);
}
}
resp->pfcp_ies.set(cause);
if ((cause.cause_value == CAUSE_VALUE_MANDATORY_IE_MISSING) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment