/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 161 int filter_id; in cxgb4_config_knode() local 176 filter_id = cxgb4_get_free_ftid(dev, inet_family, false, in cxgb4_config_knode() 178 if (filter_id < 0) { in cxgb4_config_knode() 200 if (filter_id < adapter->tids.nhpftids) in cxgb4_config_knode() 337 ret = cxgb4_set_filter(dev, filter_id, &fs); in cxgb4_config_knode() 346 set_bit(filter_id, t->table[uhtid - 1].tid_map); 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() 373 if (filter_id < adapter->tids.nhpftids) { in cxgb4_delete_knode() [all …]
|
D | cxgb4_filter.c | 1534 int iq, ret, filter_id = ftid; in __cxgb4_set_filter() local 1548 if (filter_id != (max_fidx + adapter->tids.nsftids - 1) && in __cxgb4_set_filter() 1549 filter_id >= max_fidx) in __cxgb4_set_filter() 1566 filter_id = ftid - adapter->tids.nhpftids; in __cxgb4_set_filter() 1585 fidx = filter_id & ~0x3; in __cxgb4_set_filter() 1587 fidx = filter_id & ~0x1; in __cxgb4_set_filter() 1589 if (fidx != filter_id && tab[fidx].fs.type) { in __cxgb4_set_filter() 1603 if (filter_id & 0x3) { in __cxgb4_set_filter() 1612 for (fidx = filter_id + 1; fidx < filter_id + 4; in __cxgb4_set_filter() 1626 if (filter_id & 0x1) in __cxgb4_set_filter() [all …]
|
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,
|
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()
|
D | cxgb4_tc_flower.h | 54 u32 filter_id; member
|
D | cxgb4_ethtool.c | 1821 u32 filter_id; in cxgb4_ntuple_del_filter() local 1842 filter_id = filter_info->loc_array[cmd->fs.location]; in cxgb4_ntuple_del_filter() 1843 f = cxgb4_get_filter_entry(adapter, filter_id); in cxgb4_ntuple_del_filter() 1846 filter_id -= adapter->tids.hpftid_base; in cxgb4_ntuple_del_filter() 1848 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter() 1850 ret = cxgb4_flow_rule_destroy(dev, f->fs.tc_prio, &f->fs, filter_id); in cxgb4_ntuple_del_filter()
|
/drivers/net/ethernet/pensando/ionic/ |
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()
|
D | ionic_rx_filter.h | 17 u32 filter_id; member
|
D | ionic_lif.c | 1017 u32 filter_id; in ionic_lif_del_hwstamp_rxfilt() local 1028 filter_id = f->filter_id; in ionic_lif_del_hwstamp_rxfilt() 1033 netdev_dbg(lif->netdev, "rx_filter del RXSTEER (id %d)\n", filter_id); in ionic_lif_del_hwstamp_rxfilt() 1035 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(filter_id); in ionic_lif_del_hwstamp_rxfilt() 1039 netdev_dbg(lif->netdev, "failed to delete rx_filter RXSTEER (id %d)\n", filter_id); in ionic_lif_del_hwstamp_rxfilt() 1357 addr, f->filter_id); in ionic_lif_addr_del() 1360 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(f->filter_id); in ionic_lif_addr_del() 1929 vid, f->filter_id); in ionic_vlan_rx_kill_vid() 1931 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(f->filter_id); in ionic_vlan_rx_kill_vid()
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 123 u32 filter_id) in efx_filter_remove_id_safe() argument 125 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 141 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() argument 143 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
|
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() 47 static unsigned int efx_mcdi_filter_get_unsafe_pri(u32 filter_id) in efx_mcdi_filter_get_unsafe_pri() argument 49 return filter_id / (EFX_MCDI_FILTER_TBL_ROWS * 2); in efx_mcdi_filter_get_unsafe_pri() 574 u32 filter_id, bool by_index) in efx_mcdi_filter_remove_internal() argument 576 unsigned int filter_idx = efx_mcdi_filter_get_unsafe_id(filter_id); in efx_mcdi_filter_remove_internal() 589 efx_mcdi_filter_get_unsafe_pri(filter_id))) in efx_mcdi_filter_remove_internal() 682 u32 filter_id) in efx_mcdi_filter_remove_safe() argument 690 rc = efx_mcdi_filter_remove_internal(efx, 1U << priority, filter_id, in efx_mcdi_filter_remove_safe() [all …]
|
D | rx_common.c | 697 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_rps_check_rule() 701 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_rps_check_rule() 705 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_rps_check_rule() 708 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_rps_check_rule() 795 if (rule->filter_id != EFX_ARFS_FILTER_ID_REMOVING) in efx_rps_hash_del() 900 rule->filter_id = EFX_ARFS_FILTER_ID_ERROR; in efx_filter_rfs_work() 902 rule->filter_id = rc; in efx_filter_rfs_work() 1034 rule->filter_id >= EFX_ARFS_FILTER_ID_PENDING) in efx_filter_rfs() 1037 rule->filter_id = EFX_ARFS_FILTER_ID_PENDING; in efx_filter_rfs()
|
D | mcdi_filters.h | 126 u32 filter_id); 129 u32 filter_id, struct efx_filter_spec *spec);
|
D | nic.h | 344 u32 filter_id); 346 enum efx_filter_priority priority, u32 filter_id,
|
D | net_driver.h | 801 s32 filter_id; member 1445 u32 filter_id); 1448 u32 filter_id, struct efx_filter_spec *);
|
D | farch.c | 2591 u32 filter_id) in efx_farch_filter_remove_safe() argument 2599 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_remove_safe() 2604 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_remove_safe() 2617 u32 filter_id, struct efx_filter_spec *spec_buf) in efx_farch_filter_get_safe() argument 2628 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_get_safe() 2633 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_get_safe() 2939 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_farch_filter_rfs_expire_one()
|
/drivers/net/ethernet/sfc/falcon/ |
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()
|
D | nic.h | 413 u32 filter_id); 415 enum ef4_filter_priority priority, u32 filter_id,
|
D | net_driver.h | 1110 u32 filter_id); 1113 u32 filter_id, struct ef4_filter_spec *);
|
D | farch.c | 2524 u32 filter_id) in ef4_farch_filter_remove_safe() argument 2532 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_remove_safe() 2537 filter_idx = ef4_farch_filter_id_index(filter_id); in ef4_farch_filter_remove_safe() 2550 u32 filter_id, struct ef4_filter_spec *spec_buf) in ef4_farch_filter_get_safe() argument 2559 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_get_safe() 2564 filter_idx = ef4_farch_filter_id_index(filter_id); in ef4_farch_filter_get_safe()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 89 int filter_id; member 408 arfs_rule->filter_id)) { in arfs_may_expire_flow() 566 __func__, arfs_rule->filter_id, arfs_rule->rxq, in arfs_add_rule() 654 rule->filter_id = priv->fs.arfs->last_filter_id++ % RPS_NO_FILTER; in arfs_alloc_rule() 722 return arfs_rule->filter_id; in mlx5e_rx_flow_steer() 734 return arfs_rule->filter_id; in mlx5e_rx_flow_steer()
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.h | 11 int enic_delfltr(struct enic *enic, u16 filter_id);
|
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()
|
/drivers/media/usb/as102/ |
D | as10x_cmd_stream.c | 61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter()
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 356 static int ttusb_set_filter(struct ttusb *ttusb, int filter_id, in ttusb_set_filter() argument 361 u8 b[] = { 0xaa, 0, 0x24, 0x1a, filter_id, associated_chan, in ttusb_set_filter() 374 static int ttusb_del_filter(struct ttusb *ttusb, int filter_id) in ttusb_del_filter() argument 378 u8 b[] = { 0xaa, ++ttusb->c, 0x25, 1, filter_id }; in ttusb_del_filter()
|