Lines Matching refs:fs

45 			     struct ch_filter_specification *fs,  in fill_match_fields()  argument
75 err = entry[j].val(fs, val, mask); in fill_match_fields()
91 struct ch_filter_specification *fs, in fill_action_fields() argument
110 fs->action = FILTER_DROP; in fill_action_fields()
125 fs->action = FILTER_SWITCH; in fill_action_fields()
126 fs->eport = i; in fill_action_fields()
155 struct ch_filter_specification fs; in cxgb4_config_knode() local
198 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode()
201 fs.prio = 1; in cxgb4_config_knode()
202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode()
203 fs.tc_cookie = cls->knode.handle; in cxgb4_config_knode()
276 ret = fill_match_fields(adapter, &fs, cls, in cxgb4_config_knode()
284 memcpy(&link->fs, &fs, sizeof(fs)); in cxgb4_config_knode()
301 memcpy(&fs, &t->table[uhtid - 1].fs, sizeof(fs)); in cxgb4_config_knode()
302 ret = fill_match_fields(adapter, &fs, cls, in cxgb4_config_knode()
308 ret = fill_match_fields(adapter, &fs, cls, start, false); in cxgb4_config_knode()
315 ret = fill_action_fields(adapter, &fs, cls); in cxgb4_config_knode()
327 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
328 fs.mask.iport = ~0; in cxgb4_config_knode()
331 fs.hitcnts = 1; in cxgb4_config_knode()
334 fs.type = is_ipv6 ? 1 : 0; in cxgb4_config_knode()
337 ret = cxgb4_set_filter(dev, filter_id, &fs); in cxgb4_config_knode()
376 if (f->valid && f->fs.tc_cookie == cls->knode.handle) { in cxgb4_delete_knode()
392 if (f->valid && f->fs.tc_cookie == cls->knode.handle) { in cxgb4_delete_knode()
406 if (f->fs.type) { in cxgb4_delete_knode()
468 memset(&link->fs, 0, sizeof(link->fs)); in cxgb4_delete_knode()