| 1299 | } |
| 1300 | |
| 1301 | static void |
| 1302 | ulp_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. |
no test coverage detected