Lines Matching refs:fs
44 struct ch_filter_specification *fs, in fill_match_fields() argument
74 err = entry[j].val(fs, val, mask); in fill_match_fields()
90 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()
154 struct ch_filter_specification fs; in cxgb4_config_knode() local
192 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode()
265 ret = fill_match_fields(adapter, &fs, cls, in cxgb4_config_knode()
273 memcpy(&link->fs, &fs, sizeof(fs)); in cxgb4_config_knode()
290 memcpy(&fs, &t->table[uhtid - 1].fs, sizeof(fs)); in cxgb4_config_knode()
291 ret = fill_match_fields(adapter, &fs, cls, in cxgb4_config_knode()
297 ret = fill_match_fields(adapter, &fs, cls, start, false); in cxgb4_config_knode()
304 ret = fill_action_fields(adapter, &fs, cls); in cxgb4_config_knode()
316 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
317 fs.mask.iport = ~0; in cxgb4_config_knode()
320 fs.hitcnts = 1; in cxgb4_config_knode()
323 fs.type = is_ipv6 ? 1 : 0; in cxgb4_config_knode()
326 ret = cxgb4_set_filter(dev, filter_id, &fs); in cxgb4_config_knode()
413 memset(&link->fs, 0, sizeof(link->fs)); in cxgb4_delete_knode()