Home
last modified time | relevance | path

Searched refs:filter_id (Results 1 – 25 of 32) sorted by relevance

12

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32.c156 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 …]
Dcxgb4_filter.c1250 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 …]
Dcxgb4_uld.h216 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,
Dcxgb4_tc_flower.c696 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()
Dcxgb4_tc_flower.h54 u32 filter_id; member
/drivers/net/ethernet/pensando/ionic/
Dionic_rx_filter.c26 .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()
Dionic_rx_filter.h10 u32 filter_id; member
Dionic_lif.c813 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/
Defx.h125 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()
Dnic.h413 u32 filter_id);
415 enum ef4_filter_priority priority, u32 filter_id,
Dnet_driver.h1110 u32 filter_id);
1113 u32 filter_id, struct ef4_filter_spec *);
Dfarch.c2529 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/
Defx.h128 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()
Drx.c853 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()
Dnic.h590 u32 filter_id);
592 enum efx_filter_priority priority, u32 filter_id,
Dnet_driver.h760 s32 filter_id; member
1357 u32 filter_id);
1360 u32 filter_id, struct efx_filter_spec *);
Def10.c130 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 …]
Dfarch.c2588 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/
Den_arfs.c63 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/
Denic_clsf.h11 int enic_delfltr(struct enic *enic, u16 filter_id);
Denic_clsf.c59 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/
Das10x_cmd_stream.c61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter()
Das10x_cmd.h197 uint8_t filter_id; member
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c366 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/
Ddebugfs.c1446 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()

12