Searched refs:filter_idx (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_filters.c | 28 unsigned int filter_idx) in efx_mcdi_filter_entry_spec() argument 30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec() 36 unsigned int filter_idx) in efx_mcdi_filter_entry_flags() argument 38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags() 85 unsigned int filter_idx, in efx_mcdi_filter_set_entry() argument 89 table->entry[filter_idx].spec = (unsigned long)spec | flags; in efx_mcdi_filter_set_entry() 580 unsigned int filter_idx = efx_mcdi_filter_get_unsafe_id(filter_id); in efx_mcdi_filter_remove_internal() local 589 spec = efx_mcdi_filter_entry_spec(table, filter_idx); in efx_mcdi_filter_remove_internal() 600 table->entry[filter_idx].spec &= ~EFX_EF10_FILTER_FLAG_AUTO_OLD; in efx_mcdi_filter_remove_internal() 619 &table->entry[filter_idx].handle, in efx_mcdi_filter_remove_internal() [all …]
|
H A D | rx_common.h | 97 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx,
|
H A D | mcdi_filters.h | 172 unsigned int filter_idx);
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 1890 unsigned int filter_idx); 2542 unsigned int filter_idx) in efx_farch_filter_table_clear_entry() argument 2546 EFX_WARN_ON_PARANOID(!test_bit(filter_idx, table->used_bitmap)); in efx_farch_filter_table_clear_entry() 2549 __clear_bit(filter_idx, table->used_bitmap); in efx_farch_filter_table_clear_entry() 2551 memset(&table->spec[filter_idx], 0, sizeof(table->spec[0])); in efx_farch_filter_table_clear_entry() 2553 efx_writeo(efx, &filter, table->offset + table->step * filter_idx); in efx_farch_filter_table_clear_entry() 2572 unsigned int filter_idx, in efx_farch_filter_remove() argument 2575 struct efx_farch_filter_spec *spec = &table->spec[filter_idx]; in efx_farch_filter_remove() 2577 if (!test_bit(filter_idx, table->used_bitmap) || in efx_farch_filter_remove() 2585 efx_farch_filter_table_clear_entry(efx, table, filter_idx); in efx_farch_filter_remove() [all …]
|
H A D | rx_common.h | 91 unsigned int filter_idx, bool *force);
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev.c | 437 u8 ppfid, u8 filter_idx, const char *action) in qed_llh_shadow_sanity() argument 448 if (filter_idx >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE) { in qed_llh_shadow_sanity() 451 action, filter_idx, NIG_REG_LLH_FUNC_FILTER_EN_SIZE); in qed_llh_shadow_sanity() 516 u8 filter_idx, in __qed_llh_shadow_add_filter() argument 524 rc = qed_llh_shadow_sanity(cdev, ppfid, filter_idx, "add"); in __qed_llh_shadow_add_filter() 529 if (!p_filters[filter_idx].ref_cnt) { in __qed_llh_shadow_add_filter() 530 p_filters[filter_idx].b_enabled = true; in __qed_llh_shadow_add_filter() 531 p_filters[filter_idx].type = type; in __qed_llh_shadow_add_filter() 532 memcpy(&p_filters[filter_idx].filter, p_filter, in __qed_llh_shadow_add_filter() 533 sizeof(p_filters[filter_idx].filter)); in __qed_llh_shadow_add_filter() [all …]
|
/linux/tools/bpf/bpftool/ |
H A D | net.c | 40 int filter_idx; member 370 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg() 905 int i, sock, ret, filter_idx = -1; in do_show() local 911 filter_idx = net_parse_dev(&argc, &argv); in do_show() 912 if (filter_idx < 1) in do_show() 931 dev_array.filter_idx = filter_idx; in do_show()
|
/linux/kernel/trace/ |
H A D | trace_eprobe.c | 876 int ret = 0, filter_idx = 0; in __trace_eprobe_create() local 908 filter_idx = i + 1; in __trace_eprobe_create() 909 filter_cnt = argc - filter_idx; in __trace_eprobe_create() 935 if (filter_idx) { in __trace_eprobe_create() 936 trace_probe_log_set_index(filter_idx); in __trace_eprobe_create() 937 ret = trace_eprobe_parse_filter(ep, filter_cnt, argv + filter_idx); in __trace_eprobe_create()
|
/linux/net/core/ |
H A D | neighbour.c | 2648 static bool neigh_ifindex_filtered(struct net_device *dev, int filter_idx) in neigh_ifindex_filtered() argument 2650 if (filter_idx && (!dev || dev->ifindex != filter_idx)) in neigh_ifindex_filtered()
|