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( ...@@ -1147,11 +1147,13 @@ void pfcp_switch::handle_pfcp_session_modification_request(
} }
} }
Logger::upf_app().info("Modify datapath"); if (isBpfAccelerationEnabled) {
call_datapath( Logger::upf_app().info("Modify datapath");
NULL, req, NULL, session, spSessionManager, call_datapath(
&SessionManager:: NULL, req, NULL, session, spSessionManager,
modifyBpfSession /*&SessionManager::updateBpfSession*/); &SessionManager::
modifyBpfSession /*&SessionManager::updateBpfSession*/);
}
} }
resp->pfcp_ies.set(cause); resp->pfcp_ies.set(cause);
if ((cause.cause_value == CAUSE_VALUE_MANDATORY_IE_MISSING) || 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