/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 161 int filter_id; in cxgb4_config_knode() local 178 if (filter_id < 0) { in cxgb4_config_knode() 200 if (filter_id < adapter->tids.nhpftids) in cxgb4_config_knode() 355 unsigned int filter_id, max_tids, i, j; in cxgb4_delete_knode() local 371 filter_id = 0; in cxgb4_delete_knode() 372 while (filter_id < max_tids) { in cxgb4_delete_knode() 374 i = filter_id; in cxgb4_delete_knode() 384 filter_id = adapter->tids.nhpftids; in cxgb4_delete_knode() 388 filter_id = i; in cxgb4_delete_knode() 413 filter_id += nslots; in cxgb4_delete_knode() [all …]
|
H A D | cxgb4_filter.c | 1550 filter_id >= max_fidx) in __cxgb4_set_filter() 1586 fidx = filter_id & ~0x3; in __cxgb4_set_filter() 1588 fidx = filter_id & ~0x1; in __cxgb4_set_filter() 1604 if (filter_id & 0x3) { in __cxgb4_set_filter() 1613 for (fidx = filter_id + 1; fidx < filter_id + 4; in __cxgb4_set_filter() 1627 if (filter_id & 0x1) in __cxgb4_set_filter() 1630 fidx = filter_id + 1; in __cxgb4_set_filter() 1643 f = &tab[filter_id]; in __cxgb4_set_filter() 1756 f = lookup_tid(t, filter_id); in cxgb4_del_hash_filter() 1759 __func__, filter_id); in cxgb4_del_hash_filter() [all …]
|
H A D | cxgb4_uld.h | 286 int __cxgb4_set_filter(struct net_device *dev, int filter_id, 289 int __cxgb4_del_filter(struct net_device *dev, int filter_id, 292 int cxgb4_set_filter(struct net_device *dev, int filter_id, 294 int cxgb4_del_filter(struct net_device *dev, int filter_id,
|
H A D | cxgb4_tc_flower.c | 947 &ch_flower->filter_id); in cxgb4_tc_flower_replace() 963 cxgb4_del_filter(dev, ch_flower->filter_id, &ch_flower->fs); in cxgb4_tc_flower_replace() 1004 &ch_flower->fs, ch_flower->filter_id); in cxgb4_tc_flower_destroy() 1007 ch_flower->filter_id, ret); in cxgb4_tc_flower_destroy() 1031 flower_entry->filter_id, in ch_flower_stats_handler() 1076 ret = cxgb4_get_filter_counters(dev, ch_flower->filter_id, in cxgb4_tc_flower_stats()
|
H A D | cxgb4_tc_flower.h | 54 u32 filter_id; member
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock2.c | 35 int cg_fd, err, ret = EXIT_FAILURE, filter_id = 0, prog_cnt = 0; in main() local 46 filter_id = atoi(argv[3]); in main() 65 if (filter_id >= prog_cnt) { in main() 76 link = bpf_program__attach_cgroup(progs[filter_id], cg_fd); in main()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx.h | 105 u32 filter_id) in efx_filter_remove_id_safe() argument 107 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 123 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() argument 125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
|
H A D | rx_common.c | 686 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_siena_rps_check_rule() 690 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_siena_rps_check_rule() 694 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_siena_rps_check_rule() 697 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_siena_rps_check_rule() 785 if (rule->filter_id != EFX_ARFS_FILTER_ID_REMOVING) in efx_siena_rps_hash_del() 888 rule->filter_id = EFX_ARFS_FILTER_ID_ERROR; in efx_filter_rfs_work() 890 rule->filter_id = rc; in efx_filter_rfs_work() 1023 rule->filter_id >= EFX_ARFS_FILTER_ID_PENDING) in efx_siena_filter_rfs() 1026 rule->filter_id = EFX_ARFS_FILTER_ID_PENDING; in efx_siena_filter_rfs()
|
H A D | nic.h | 154 u32 filter_id); 156 enum efx_filter_priority priority, u32 filter_id,
|
H A D | net_driver.h | 753 s32 filter_id; member 1398 u32 filter_id); 1401 u32 filter_id, struct efx_filter_spec *);
|
H A D | farch.c | 2593 u32 filter_id) in efx_farch_filter_remove_safe() argument 2601 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_remove_safe() 2606 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_remove_safe() 2619 u32 filter_id, struct efx_filter_spec *spec_buf) in efx_farch_filter_get_safe() argument 2630 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_get_safe() 2635 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_get_safe() 2940 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_farch_filter_rfs_expire_one()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 76 f->filter_id = le32_to_cpu(ctx.comp.rx_filter_add.filter_id); in ionic_rx_filter_replay() 84 key = f->filter_id & IONIC_RX_FILTER_HLISTS_MASK; in ionic_rx_filter_replay() 165 f->filter_id = le32_to_cpu(ctx->comp.rx_filter_add.filter_id); in ionic_rx_filter_save() 169 netdev_dbg(lif->netdev, "rx_filter add filter_id %d\n", f->filter_id); in ionic_rx_filter_save() 178 key = f->filter_id & IONIC_RX_FILTER_HLISTS_MASK; in ionic_rx_filter_save() 491 __func__, ac->vlan.vlan, f->filter_id); in ionic_lif_filter_del() 496 __func__, ac->mac.addr, f->filter_id); in ionic_lif_filter_del() 505 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(f->filter_id); in ionic_lif_filter_del()
|
H A D | ionic_debugfs.c | 245 f->filter_id, f->flow_id, f->state, in lif_filters_show() 250 f->filter_id, f->flow_id, f->state, in lif_filters_show() 255 f->filter_id, f->flow_id, f->state, in lif_filters_show() 261 f->filter_id, f->flow_id, f->state, in lif_filters_show()
|
H A D | ionic_rx_filter.h | 17 u32 filter_id; member
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | efx.h | 121 u32 filter_id) in efx_filter_remove_id_safe() argument 123 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 139 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() argument 141 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
|
H A D | mcdi_filters.h | 127 u32 filter_id); 130 u32 filter_id, struct efx_filter_spec *spec);
|
H A D | rx_common.c | 684 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_rps_check_rule() 688 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_rps_check_rule() 692 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_rps_check_rule() 695 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_rps_check_rule() 782 if (rule->filter_id != EFX_ARFS_FILTER_ID_REMOVING) in efx_rps_hash_del() 883 rule->filter_id = EFX_ARFS_FILTER_ID_ERROR; in efx_filter_rfs_work() 885 rule->filter_id = rc; in efx_filter_rfs_work() 1017 rule->filter_id >= EFX_ARFS_FILTER_ID_PENDING) in efx_filter_rfs() 1020 rule->filter_id = EFX_ARFS_FILTER_ID_PENDING; in efx_filter_rfs()
|
H A D | mcdi_filters.c | 41 static u32 efx_mcdi_filter_get_unsafe_id(u32 filter_id) in efx_mcdi_filter_get_unsafe_id() argument 43 WARN_ON_ONCE(filter_id == EFX_EF10_FILTER_ID_INVALID); in efx_mcdi_filter_get_unsafe_id() 44 return filter_id & (EFX_MCDI_FILTER_TBL_ROWS - 1); in efx_mcdi_filter_get_unsafe_id() 49 return filter_id / (EFX_MCDI_FILTER_TBL_ROWS * 2); in efx_mcdi_filter_get_unsafe_pri() 578 u32 filter_id, bool by_index) in efx_mcdi_filter_remove_internal() argument 593 efx_mcdi_filter_get_unsafe_pri(filter_id))) in efx_mcdi_filter_remove_internal() 686 u32 filter_id) in efx_mcdi_filter_remove_safe() argument 704 u32 filter_id) in efx_mcdi_filter_remove_unsafe() argument 708 if (filter_id == EFX_EF10_FILTER_ID_INVALID) in efx_mcdi_filter_remove_unsafe() 732 efx_mcdi_filter_get_unsafe_pri(filter_id)) { in efx_mcdi_filter_get_safe() [all …]
|
H A D | net_driver.h | 783 s32 filter_id; member 1447 u32 filter_id); 1450 u32 filter_id, struct efx_filter_spec *);
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | efx.h | 125 u32 filter_id) in ef4_filter_remove_id_safe() argument 127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe() 143 u32 filter_id, struct ef4_filter_spec *spec) in ef4_filter_get_filter_safe() argument 145 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in ef4_filter_get_filter_safe()
|
H A D | nic.h | 413 u32 filter_id); 415 enum ef4_filter_priority priority, u32 filter_id,
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.h | 11 int enic_delfltr(struct enic *enic, u16 filter_id);
|
H A D | enic_clsf.c | 59 int enic_delfltr(struct enic *enic, u16 filter_id) in enic_delfltr() argument 64 ret = vnic_dev_classifier(enic->vdev, CLSF_DEL, &filter_id, NULL); in enic_delfltr()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 93 int filter_id; member 437 arfs_rule->filter_id)) { in arfs_may_expire_flow() 603 __func__, arfs_rule->filter_id, arfs_rule->rxq, in arfs_add_rule() 690 rule->filter_id = arfs->last_filter_id++ % RPS_NO_FILTER; in arfs_alloc_rule() 764 return arfs_rule->filter_id; in mlx5e_rx_flow_steer() 779 return arfs_rule->filter_id; in mlx5e_rx_flow_steer()
|
/openbmc/linux/drivers/media/usb/as102/ |
H A D | as10x_cmd_stream.c | 61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter()
|