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

Function ulp_ctx_detach

dpdk/drivers/net/bnxt/tf_ulp/bnxt_ulp.c:1301–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1299}
1300
1301static void
1302ulp_ctx_detach(struct bnxt *bp)
1303{
1304 struct tf *tfp;
1305
1306 tfp = bnxt_ulp_bp_tfp_get(bp, BNXT_ULP_SESSION_TYPE_DEFAULT);
1307 if (tfp->session) {
1308 tf_close_session(tfp);
1309 tfp->session = NULL;
1310 }
1311}
1312
1313/*
1314 * Initialize the state of an ULP session.

Callers 1

bnxt_ulp_port_deinitFunction · 0.85

Calls 2

bnxt_ulp_bp_tfp_getFunction · 0.85
tf_close_sessionFunction · 0.85

Tested by

no test coverage detected