Lines Matching refs:app

11 				struct i40e_dcb_app_priority_table *app);
188 * @app: structure to hold the Application information
193 struct dcb_app *app)
208 ret = dcb_ieee_setapp(netdev, app);
212 new_app.selector = app->selector;
213 new_app.protocolid = app->protocol;
214 new_app.priority = app->priority;
221 /* Add the app */
222 pf->tmp_cfg.app[pf->tmp_cfg.numapps++] = new_app;
239 * @app: structure to hold the Application information
245 struct dcb_app *app)
255 ret = dcb_ieee_delapp(netdev, app);
260 /* Need one app for FW so keep it */
267 /* Find and reset the app */
269 if (app->selector == pf->tmp_cfg.app[i].selector &&
270 app->protocol == pf->tmp_cfg.app[i].protocolid &&
271 app->priority == pf->tmp_cfg.app[i].priority) {
272 /* Reset the app data */
273 pf->tmp_cfg.app[i].selector = 0;
274 pf->tmp_cfg.app[i].protocolid = 0;
275 pf->tmp_cfg.app[i].priority = 0;
280 /* If the specific DCB app not found */
285 /* Overwrite the tmp_cfg app */
287 pf->tmp_cfg.app[j] = old_cfg->app[j + 1];
753 * Return the CEE mode app for the given idtype and id
758 struct dcb_app app = {
767 return dcb_getapp(netdev, &app);
901 prio = dcbxcfg->app[i].priority;
906 sapp.selector = dcbxcfg->app[i].selector;
907 sapp.protocol = dcbxcfg->app[i].protocolid;
920 * @app: APP to delete
926 struct i40e_dcb_app_priority_table *app)
934 sapp.selector = app->selector;
935 sapp.protocol = app->protocolid;
936 sapp.priority = app->priority;
943 * @app: APP to delete
948 struct i40e_dcb_app_priority_table *app)
955 err = i40e_dcbnl_vsi_del_app(vsi, app);
956 dev_dbg(&pf->pdev->dev, "Deleting app for VSI seid=%d err=%d sel=%d proto=0x%x prio=%d\n",
957 vsi->seid, err, app->selector,
958 app->protocolid, app->priority);
965 * @app: APP to search for
970 struct i40e_dcb_app_priority_table *app)
975 if (app->selector == cfg->app[i].selector &&
976 app->protocolid == cfg->app[i].protocolid &&
977 app->priority == cfg->app[i].priority)
997 struct i40e_dcb_app_priority_table app;
1005 app = old_cfg->app[i];
1007 if (!i40e_dcbnl_find_app(new_cfg, &app))
1008 i40e_dcbnl_del_app(pf, &app);