Home
last modified time | relevance | path

Searched full:filters (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_fltr.c29 * @list: pointer to the list which contains MAC filters entry
50 * ice_fltr_add_mac_list - add list of MAC filters
52 * @list: list of filters
61 * ice_fltr_remove_mac_list - remove list of MAC filters
63 * @list: list of filters
72 * ice_fltr_add_vlan_list - add list of VLAN filters
74 * @list: list of filters
83 * ice_fltr_remove_vlan_list - remove list of VLAN filters
85 * @list: list of filters
94 * ice_fltr_add_eth_list - add list of ethertype filters
[all …]
Dice_ethtool_fdir.c223 * ice_get_fdir_fltr_ids - fill buffer with filter IDs of active filters
446 * ice_fdir_num_avail_fltr - return the number of unused flow director filters
451 * use filters from either pool. The guaranteed pool is divided between VSIs.
453 * resource pool. The number of filters available to this VSI is the sum of
457 * Returns the number of available flow director filters to this VSI
465 /* total guaranteed filters assigned to this VSI */ in ice_fdir_num_avail_fltr()
468 /* minus the guaranteed filters programed by this VSI */ in ice_fdir_num_avail_fltr()
472 /* total global best effort filters */ in ice_fdir_num_avail_fltr()
475 /* minus the global best effort filters programmed */ in ice_fdir_num_avail_fltr()
561 /* if there are FDir filters using this flow, in ice_fdir_set_hw_fltr_rule()
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst256 RX flow rules (ntuple filters)
266 The driver utilizes the ethtool interface for configuring ntuple filters,
273 When disabling ntuple filters, all the user programed filters are
274 flushed from the driver cache and hardware. All needed filters must
277 Because of the fixed order of the rules, the location of filters is also fixed:
279 - Locations 0 - 15 for VLAN ID filters
280 - Locations 16 - 31 for L2 EtherType filters
281 - Locations 32 - 39 for L3/L4 5-tuple filters (locations 32, 36 for IPv6)
284 destination TCP/UDP/SCTP port) is compared against 8 filters. For IPv4, up to
302 At the moment you can not use IPv4 and IPv6 filters at the same time.
[all …]
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c83 struct etm_filters *filters; in etm_addr_filters_alloc() local
86 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc()
87 if (!filters) in etm_addr_filters_alloc()
91 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc()
92 sizeof(*filters)); in etm_addr_filters_alloc()
94 event->hw.addr_filters = filters; in etm_addr_filters_alloc()
429 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument
435 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate()
438 * room for filters. in etm_addr_filters_validate()
446 * The existing code relies on START/STOP filters in etm_addr_filters_validate()
[all …]
Dcoresight-etm-perf.h18 * when filters are applied.
35 * struct etm_filters - set of filters for a session
36 * @etm_filter: All the filters for this session.
37 * @nr_filters: Number of filters
/Linux-v5.10/Documentation/userspace-api/
Dseccomp_filter.rst2 Seccomp BPF (SECure COMPuting with filters)
18 Filter (BPF) program, as with socket filters, except that the data
27 pointers which constrains all filters to solely evaluating the system
38 choosing. Expressive, dynamic filters provide further options down this
48 ``CONFIG_HAVE_ARCH_SECCOMP_FILTER``, then filters may be added as below:
68 processes will be constrained to the same filters and system
78 additional filters may be layered on which will increase evaluation
88 filters exist, the return value for the evaluation of a given system
166 If multiple filters exist, the return value for the evaluation of a
170 multiple filters return values of the same precedence, only the
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/
Di40e.rst142 flexible filters. For a given flow type, you must clear all Intel Ethernet Flow
143 Director filters before changing the input set (for that flow type).
149 When disabling ntuple filters, all the user programmed filters are flushed from
150 the driver cache and hardware. All needed filters must be re-added when ntuple
163 To see the list of filters currently present::
167 Application Targeted Routing (ATR) Perfect Filters
185 Sideband Perfect Filters
187 Sideband Perfect Filters are used to direct traffic that matches specified
201 Use the following command to display all of the active filters::
209 Where <N> is the filter id displayed when printing all the active filters, and
[all …]
Diavf.rst111 - 16 MAC address filters for each VF
132 Receive checksum offloads, cloud filters, and VLAN acceleration are not
146 - If another driver (for example, DPDK) has set cloud filters, you cannot
153 + Sideband Filters
198 - ADq is not compatible with cloud filters
204 Center Bridging (DCB), Multiple Functions per Port (MFP), or Sideband Filters
205 - If another driver (for example, DPDK) has set cloud filters, you cannot
207 - Tunnel filters are not supported in ADq. If encapsulated packets do arrive
216 - If traffic matches multiple TC filters that point to different TCs, that
218 switch mirrors the packet to a VSI list when multiple filters are matched.
/Linux-v5.10/drivers/net/ethernet/sfc/
Dmcdi_filters.h40 /* Per-VLAN filters information */
64 /* AUTO_OLD is used to mark and sweep MAC filters for the device address lists. */
82 /* filters have yet to be restored after MC reboot */
84 /* Multicast filter chaining allows less-specific filters to receive
85 * multicast packets that matched more-specific filters. Early EF10
104 * access. When removing filters we must identify them to the
Dmcdi_filters.c60 * filters for specific local unicast MAC and IP addresses are
126 * Handle encap filters first. They will always be mismatch in efx_mcdi_filter_push_prep_set_match_fields()
127 * (unknown UC or MC) filters in efx_mcdi_filter_push_prep_set_match_fields()
362 /* For now, only support RX filters */ in efx_mcdi_filter_insert_locked()
396 /* Find any existing filters with the same match tuple or in efx_mcdi_filter_insert_locked()
647 /* Remove filters that weren't renewed. */
672 "%s: failed to remove %d filters\n", in efx_mcdi_filter_remove_old()
676 "%s: failed to remove %d non-existent filters\n", in efx_mcdi_filter_remove_old()
765 /* Insert/renew filters */ in efx_mcdi_filter_insert_addr_list()
846 * don't insert encap filters on non-supporting in efx_mcdi_filter_insert_def()
[all …]
Defx.h78 /* Filters */
90 * If existing filters have equal match values to the new filter spec,
94 * 1. If the existing filters have lower priority, or @replace_equal
97 * 2. If the existing filters have higher priority, return -%EPERM.
102 * This implies that filters for multiple multicast recipients must
/Linux-v5.10/arch/x86/events/intel/
Dpt.h106 * @filter: filters defined for this context
107 * @nr_filters: number of defined filters in the @filter array
117 * @filters: last configured filters
125 struct pt_filters filters; member
Dpt.c442 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() local
447 if (!filters) in pt_config_filters()
452 for (range = 0; range < filters->nr_filters; range++) { in pt_config_filters()
453 struct pt_filter *filter = &filters->filter[range]; in pt_config_filters()
465 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
467 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
470 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
472 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
1325 struct pt_filters *filters; in pt_addr_filters_init() local
1331 filters = kzalloc_node(sizeof(struct pt_filters), GFP_KERNEL, node); in pt_addr_filters_init()
[all …]
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c740 req->filters[0].flags = VFPF_Q_FILTER_DEST_MAC_VALID; in bnx2x_vfpf_config_mac()
742 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_config_mac()
748 memcpy(req->filters[0].mac, addr, ETH_ALEN); in bnx2x_vfpf_config_mac()
775 memcpy(req->filters[0].mac, bp->dev->dev_addr, in bnx2x_vfpf_config_mac()
949 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan()
952 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan()
963 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan()
1655 fl = kzalloc(struct_size(fl, filters, tlv->n_mac_vlan_filters), in bnx2x_vf_mbx_macvlan_list()
1661 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1665 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
[all …]
/Linux-v5.10/sound/soc/meson/
Daxg-pdm.c87 const struct axg_pdm_filters *filters; member
150 const struct axg_pdm_filters *filters = priv->cfg->filters; in axg_pdm_get_os() local
151 unsigned int os = filters->hcic.ds; in axg_pdm_get_os()
160 os *= filters->lpf[i].ds; in axg_pdm_get_os()
282 /* Enable the filters */ in axg_pdm_startup()
306 const struct axg_pdm_hcic *hcic = &priv->cfg->filters->hcic; in axg_pdm_set_hcic_ctrl()
324 const struct axg_pdm_lpf *lpf = &priv->cfg->filters->lpf[index]; in axg_pdm_set_lpf_ctrl()
342 const struct axg_pdm_hpf *hpf = &priv->cfg->filters->hpf; in axg_pdm_set_hpf_ctrl()
356 const struct axg_pdm_lpf *lpf = priv->cfg->filters->lpf; in axg_pdm_set_lpf_filters()
370 /* Set the tap filter values of all 3 filters */ in axg_pdm_set_lpf_filters()
[all …]
/Linux-v5.10/tools/lib/traceevent/
Dparse-filter.c114 filter->filters, in find_filter_type()
133 (filter->filters + 1)); in add_filter_type()
139 for (i = 0; i < filter->filters; i++) { in add_filter_type()
144 if (i < filter->filters) in add_filter_type()
148 (filter->filters - i)); in add_filter_type()
155 filter->filters++; in add_filter_type()
1397 if (!filter->filters) in tep_filter_remove_event()
1408 len = (unsigned long)(filter->event_filters + filter->filters) - in tep_filter_remove_event()
1412 filter->filters--; in tep_filter_remove_event()
1414 memset(&filter->event_filters[filter->filters], 0, in tep_filter_remove_event()
[all …]
/Linux-v5.10/tools/testing/selftests/tc-testing/tc-tests/filters/
Dconcurrency.json4 "name": "Add 1M flower filters with 10 parallel tc instances",
27 "name": "Delete 1M flower filters with 10 parallel tc instances",
52 "name": "Replace 1M flower filters with 10 parallel tc instances",
77 "name": "Concurrently replace same range of 100k flower filters from 10 tc instances",
102 "name": "Concurrently delete same range of 100k flower filters from 10 tc instances",
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh116 check_err $? "Two filters - did not match highest priority"
122 check_err $? "Two filters - did not match lowest priority"
139 # When two filters that only differ in their priority are used,
141 # that filters are correctly spilled to C-TCAM and that the right
184 log_test "identical filters test ($tcflags)"
203 check_err $? "Two filters - did not match highest priority"
220 check_err $? "Two filters - did not match highest priority after add"
231 # number of masks has been reached filters that require new
253 err_msg="$i filters - C-TCAM spill did not happen when it was expected"
256 err_msg="$i filters - C-TCAM spill happened when it should not"
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dfilter.h157 * @attached_filters: bitmap of relevant filters for this mac.
168 * @max_bcast_filters: max number of filters (MAX_BCAST_FILTERS)
171 * @filters: broadcast filters
179 struct iwl_fw_bcast_filter filters[MAX_BCAST_FILTERS]; member
/Linux-v5.10/Documentation/userspace-api/media/dvb/
Ddmx-fwrite.rst38 digitally recorded Transport Stream. Matching filters have to be defined
66 front- end. Make sure that these filters are stopped and that the
67 filters with input set to ``DMX_IN_DVR`` are started.
/Linux-v5.10/Documentation/networking/
Dcan.rst424 - The filters are set to exactly one filter receiving everything
440 by defining 0 .. n filters with the CAN_RAW_FILTER socket option.
460 contrast to CAN controller hardware filters the user may set 0 .. n
461 receive filters for each open socket separately:
480 To set the filters to zero filters is quite obsolete as to not read
488 The CAN filters are processed in per-device filter lists at CAN frame
498 To benefit from the optimized filters for single CAN identifiers the
512 filter has to be defined in this way to benefit from the optimized filters:
647 The CAN_RAW socket can set multiple CAN identifier specific filters that
648 lead to multiple filters in the af_can.c filter processing. These filters
[all …]
/Linux-v5.10/Documentation/
Dwatch_queue.rst37 Filters may also be emplaced on a pipe so that certain source types and
244 Once a watch queue has been created, a set of filters can be applied to limit
257 struct watch_notification_type_filter filters[];
260 Where "nr_filters" is the number of filters in filters[] and "__reserved"
261 should be 0. The "filters" array has elements of the following type::
287 If the argument to the ioctl() is NULL, then the filters will be removed and
/Linux-v5.10/Documentation/trace/
Dboottime-trace.rst50 Add fgraph tracing function filters.
53 Add fgraph non-tracing function filters.
87 ftrace.[instance.INSTANCE.]ftrace.filters
174 ftrace.filters = "user_*"
178 ftrace.filters = "kernel_*"
/Linux-v5.10/drivers/net/wireless/st/cw1200/
Dpm.c21 /* Up to 4 filters are allowed. */
22 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
27 /* Up to 4 filters are allowed. */
28 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
33 .filters = {
57 .filters = {
/Linux-v5.10/tools/bootconfig/scripts/
Dftrace.sh42 reset_events_filter() { # reset all current setting filters
90 # no events, no triggers, no filters, no function filters,

12345678910>>...25