Lines Matching full:app
142 * Set up all the IEEE APPs in the DCBNL App Table and generate event for
165 /* Set up all the App TLVs if DCBx is negotiated */ in i40e_dcbnl_set_all()
167 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
170 /* Add APP only if the TC is enabled for this VSI */ in i40e_dcbnl_set_all()
172 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
173 sapp.protocol = dcbxcfg->app[i].protocolid; in i40e_dcbnl_set_all()
184 * i40e_dcbnl_vsi_del_app - Delete APP for given VSI
186 * @app: APP to delete
188 * Delete given APP from the DCBNL APP table for given
192 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_vsi_del_app() argument
200 sapp.selector = app->selector; in i40e_dcbnl_vsi_del_app()
201 sapp.protocol = app->protocolid; in i40e_dcbnl_vsi_del_app()
202 sapp.priority = app->priority; in i40e_dcbnl_vsi_del_app()
207 * i40e_dcbnl_del_app - Delete APP on all VSIs
209 * @app: APP to delete
211 * Delete given APP from all the VSIs for given PF
214 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_del_app() argument
220 err = i40e_dcbnl_vsi_del_app(pf->vsi[v], app); in i40e_dcbnl_del_app()
221 dev_dbg(&pf->pdev->dev, "Deleting app for VSI seid=%d err=%d sel=%d proto=0x%x prio=%d\n", in i40e_dcbnl_del_app()
222 pf->vsi[v]->seid, err, app->selector, in i40e_dcbnl_del_app()
223 app->protocolid, app->priority); in i40e_dcbnl_del_app()
229 * i40e_dcbnl_find_app - Search APP in given DCB config
231 * @app: APP to search for
233 * Find given APP in the DCB configuration
236 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_find_app() argument
241 if (app->selector == cfg->app[i].selector && in i40e_dcbnl_find_app()
242 app->protocolid == cfg->app[i].protocolid && in i40e_dcbnl_find_app()
243 app->priority == cfg->app[i].priority) in i40e_dcbnl_find_app()
263 struct i40e_dcb_app_priority_table app; in i40e_dcbnl_flush_apps() local
271 app = old_cfg->app[i]; in i40e_dcbnl_flush_apps()
272 /* The APP is not available anymore delete it */ in i40e_dcbnl_flush_apps()
273 if (!i40e_dcbnl_find_app(new_cfg, &app)) in i40e_dcbnl_flush_apps()
274 i40e_dcbnl_del_app(pf, &app); in i40e_dcbnl_flush_apps()
282 * Set up DCBNL ops and initial APP TLVs