MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pdcp_process_func_set

Function pdcp_process_func_set

dpdk/lib/pdcp/pdcp_process.c:1218–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1216}
1217
1218int
1219pdcp_process_func_set(struct rte_pdcp_entity *entity, const struct rte_pdcp_entity_conf *conf)
1220{
1221 struct entity_priv *en_priv;
1222 int ret;
1223
1224 if (entity == NULL || conf == NULL)
1225 return -EINVAL;
1226
1227 en_priv = entity_priv_get(entity);
1228
1229 ret = pdcp_iv_gen_func_set(entity, conf);
1230 if (ret)
1231 return ret;
1232
1233 ret = pdcp_entity_priv_populate(en_priv, conf);
1234 if (ret)
1235 return ret;
1236
1237 ret = pdcp_pre_post_func_set(entity, conf);
1238 if (ret)
1239 return ret;
1240
1241 return 0;
1242}

Callers 1

Calls 4

entity_priv_getFunction · 0.85
pdcp_iv_gen_func_setFunction · 0.85
pdcp_pre_post_func_setFunction · 0.85

Tested by

no test coverage detected