Lines Matching defs:id
2415 static int esw_port_metadata_set(struct devlink *devlink, u32 id,
2441 static int esw_port_metadata_get(struct devlink *devlink, u32 id,
2450 static int esw_port_metadata_validate(struct devlink *devlink, u32 id,
2651 root->root_ft->id);
2658 root->root_ft->id);
3134 int id;
3141 /* Metadata is 4 bits of PFNUM and 12 bits of unique id */
3143 id = ida_alloc_range(&esw->offloads.vport_metadata_ida,
3146 if (id < 0)
3148 id = (pf_num << ESW_VPORT_BITS) | id;
3149 return id;
3156 /* Metadata contains only 12 bits of actual ida id */