/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 156 unsigned int filter_id; in cxgb4_config_knode() local 168 filter_id = cls->knode.handle & 0xFFFFF; in cxgb4_config_knode() 170 if (filter_id > adapter->tids.nftids) { in cxgb4_config_knode() 173 filter_id, adapter->tids.nftids); in cxgb4_config_knode() 325 ret = cxgb4_set_filter(dev, filter_id, &fs); in cxgb4_config_knode() 334 set_bit(filter_id, t->table[uhtid - 1].tid_map); in cxgb4_config_knode() 343 unsigned int filter_id, max_tids, i, j; in cxgb4_delete_knode() local 353 filter_id = cls->knode.handle & 0xFFFFF; in cxgb4_delete_knode() 355 if (filter_id > adapter->tids.nftids) { in cxgb4_delete_knode() 358 filter_id, adapter->tids.nftids); in cxgb4_delete_knode() [all …]
|
D | cxgb4_filter.c | 1250 int __cxgb4_set_filter(struct net_device *dev, int filter_id, in __cxgb4_set_filter() argument 1270 if (filter_id != (max_fidx + adapter->tids.nsftids - 1) && in __cxgb4_set_filter() 1271 filter_id >= max_fidx) in __cxgb4_set_filter() 1300 fidx = filter_id & ~0x3; in __cxgb4_set_filter() 1302 fidx = filter_id & ~0x1; in __cxgb4_set_filter() 1304 if (fidx != filter_id && in __cxgb4_set_filter() 1319 if (filter_id & 0x3) { in __cxgb4_set_filter() 1328 for (fidx = filter_id + 1; fidx < filter_id + 4; in __cxgb4_set_filter() 1342 if (filter_id & 0x1) in __cxgb4_set_filter() 1345 fidx = filter_id + 1; in __cxgb4_set_filter() [all …]
|
D | cxgb4_uld.h | 216 int __cxgb4_set_filter(struct net_device *dev, int filter_id, 219 int __cxgb4_del_filter(struct net_device *dev, int filter_id, 222 int cxgb4_set_filter(struct net_device *dev, int filter_id, 224 int cxgb4_del_filter(struct net_device *dev, int filter_id,
|
D | cxgb4_tc_flower.c | 696 ch_flower->filter_id = ctx.tid; in cxgb4_tc_flower_replace() 705 cxgb4_del_filter(dev, ch_flower->filter_id, &ch_flower->fs); in cxgb4_tc_flower_replace() 723 ret = cxgb4_del_filter(dev, ch_flower->filter_id, &ch_flower->fs); in cxgb4_tc_flower_destroy() 757 flower_entry->filter_id, in ch_flower_stats_handler() 802 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
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_rx_filter.c | 26 .filter_id = cpu_to_le32(f->filter_id), in ionic_rx_filter_del() 91 f->filter_id = le32_to_cpu(ctx->comp.rx_filter_add.filter_id); in ionic_rx_filter_save() 104 key = f->filter_id & IONIC_RX_FILTER_HLISTS_MASK; in ionic_rx_filter_save()
|
D | ionic_rx_filter.h | 10 u32 filter_id; member
|
D | ionic_lif.c | 813 ctx.comp.rx_filter_add.filter_id); in ionic_lif_addr_add() 842 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(f->filter_id); in ionic_lif_addr_del() 851 ctx.cmd.rx_filter_del.filter_id); in ionic_lif_addr_del() 1298 ctx.comp.rx_filter_add.filter_id); in ionic_vlan_rx_add_vid() 1325 le32_to_cpu(ctx.cmd.rx_filter_del.filter_id)); in ionic_vlan_rx_kill_vid() 1327 ctx.cmd.rx_filter_del.filter_id = cpu_to_le32(f->filter_id); in ionic_vlan_rx_kill_vid()
|
/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 | 2529 u32 filter_id) in ef4_farch_filter_remove_safe() argument 2538 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_remove_safe() 2543 filter_idx = ef4_farch_filter_id_index(filter_id); in ef4_farch_filter_remove_safe() 2557 u32 filter_id, struct ef4_filter_spec *spec_buf) in ef4_farch_filter_get_safe() argument 2566 table_id = ef4_farch_filter_id_table_id(filter_id); in ef4_farch_filter_get_safe() 2571 filter_idx = ef4_farch_filter_id_index(filter_id); in ef4_farch_filter_get_safe()
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 128 u32 filter_id) in efx_filter_remove_id_safe() argument 130 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 146 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() argument 148 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
|
D | rx.c | 853 rule->filter_id = EFX_ARFS_FILTER_ID_ERROR; in efx_filter_rfs_work() 855 rule->filter_id = rc; in efx_filter_rfs_work() 964 rule->filter_id >= EFX_ARFS_FILTER_ID_PENDING) in efx_filter_rfs() 967 rule->filter_id = EFX_ARFS_FILTER_ID_PENDING; in efx_filter_rfs()
|
D | nic.h | 590 u32 filter_id); 592 enum efx_filter_priority priority, u32 filter_id,
|
D | net_driver.h | 760 s32 filter_id; member 1357 u32 filter_id); 1360 u32 filter_id, struct efx_filter_spec *);
|
D | ef10.c | 130 static u32 efx_ef10_filter_get_unsafe_id(u32 filter_id) in efx_ef10_filter_get_unsafe_id() argument 132 WARN_ON_ONCE(filter_id == EFX_EF10_FILTER_ID_INVALID); in efx_ef10_filter_get_unsafe_id() 133 return filter_id & (HUNT_FILTER_TBL_ROWS - 1); in efx_ef10_filter_get_unsafe_id() 136 static unsigned int efx_ef10_filter_get_unsafe_pri(u32 filter_id) in efx_ef10_filter_get_unsafe_pri() argument 138 return filter_id / (HUNT_FILTER_TBL_ROWS * 2); in efx_ef10_filter_get_unsafe_pri() 4528 u32 filter_id, bool by_index) in efx_ef10_filter_remove_internal() argument 4530 unsigned int filter_idx = efx_ef10_filter_get_unsafe_id(filter_id); in efx_ef10_filter_remove_internal() 4543 efx_ef10_filter_get_unsafe_pri(filter_id))) in efx_ef10_filter_remove_internal() 4603 u32 filter_id) in efx_ef10_filter_remove_safe() argument 4611 rc = efx_ef10_filter_remove_internal(efx, 1U << priority, filter_id, in efx_ef10_filter_remove_safe() [all …]
|
D | farch.c | 2588 u32 filter_id) in efx_farch_filter_remove_safe() argument 2597 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_remove_safe() 2602 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_remove_safe() 2616 u32 filter_id, struct efx_filter_spec *spec_buf) in efx_farch_filter_get_safe() argument 2627 table_id = efx_farch_filter_id_table_id(filter_id); in efx_farch_filter_get_safe() 2632 filter_idx = efx_farch_filter_id_index(filter_id); in efx_farch_filter_get_safe() 2938 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_farch_filter_rfs_expire_one()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 63 int filter_id; member 385 arfs_rule->filter_id)) { in arfs_may_expire_flow() 543 __func__, arfs_rule->filter_id, arfs_rule->rxq, in arfs_add_rule() 631 rule->filter_id = priv->fs.arfs.last_filter_id++ % RPS_NO_FILTER; in arfs_alloc_rule() 699 return arfs_rule->filter_id; in mlx5e_rx_flow_steer() 711 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()
|
D | as10x_cmd.h | 197 uint8_t filter_id; member
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 366 static int ttusb_set_filter(struct ttusb *ttusb, int filter_id, in ttusb_set_filter() argument 371 u8 b[] = { 0xaa, 0, 0x24, 0x1a, filter_id, associated_chan, in ttusb_set_filter() 384 static int ttusb_del_filter(struct ttusb *ttusb, int filter_id) in ttusb_del_filter() argument 388 u8 b[] = { 0xaa, ++ttusb->c, 0x25, 1, filter_id }; in ttusb_del_filter()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs.c | 1446 u32 filter_id, attr_id, mask, value; in iwl_dbgfs_bcast_filters_write() local 1449 if (sscanf(buf, "%d %hhi %hhi %n", &filter_id, &filter.discard, in iwl_dbgfs_bcast_filters_write() 1453 if (filter_id >= ARRAY_SIZE(mvm->dbgfs_bcast_filtering.cmd.filters) || in iwl_dbgfs_bcast_filters_write() 1479 memcpy(&mvm->dbgfs_bcast_filtering.cmd.filters[filter_id], in iwl_dbgfs_bcast_filters_write()
|