Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh64 check_err $? "Two filters - did not match highest priority"
70 check_err $? "Two filters - did not match lowest priority"
87 # When two filters that only differ in their priority are used,
89 # that filters are correctly spilled to C-TCAM and that the right
132 log_test "identical filters test ($tcflags)"
151 check_err $? "Two filters - did not match highest priority"
168 check_err $? "Two filters - did not match highest priority after add"
179 # number of masks has been reached filters that require new
203 check_err $? "$i filters - did not match highest priority (add)"
213 check_err $? "$i filters - did not match highest priority (del)"
[all …]
/kernel/linux/linux-4.19/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c81 struct etm_filters *filters; in etm_addr_filters_alloc() local
84 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc()
85 if (!filters) in etm_addr_filters_alloc()
89 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc()
90 sizeof(*filters)); in etm_addr_filters_alloc()
92 event->hw.addr_filters = filters; in etm_addr_filters_alloc()
398 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument
404 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate()
407 * room for filters. in etm_addr_filters_validate()
415 * The existing code relies on START/STOP filters in etm_addr_filters_validate()
[all …]
Dcoresight-etm-perf.h17 * when filters are applied.
34 * struct etm_filters - set of filters for a session
35 * @etm_filter: All the filters for this session.
36 * @nr_filters: Number of filters
/kernel/linux/linux-4.19/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
161 If multiple filters exist, the return value for the evaluation of a
165 multiple filters return values of the same precedence, only the
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
Di40e.txt67 Flow Director n-ntuple traffic filters (FDir)
69 The driver utilizes the ethtool interface for configuring ntuple filters,
77 Additionally, the driver supports using the action to specify filters for a
121 When programming filters, the hardware is limited to using a single input
123 different filters with the same type that don't match on the same fields.
130 set for TCPv4 filters, but the second filter will be unable to reprogram the
131 input set until all the conflicting TCPv4 filters are first removed.
134 input set and cannot be programmed separately for multiple filters of the
136 multiple filters may use the same offset but match against different data.
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/lib/traceevent/
Dparse-filter.c118 filter->filters, in find_filter_type()
137 (filter->filters + 1)); in add_filter_type()
143 for (i = 0; i < filter->filters; i++) { in add_filter_type()
148 if (i < filter->filters) in add_filter_type()
152 (filter->filters - i)); in add_filter_type()
159 filter->filters++; in add_filter_type()
1404 if (!filter->filters) in tep_filter_remove_event()
1415 len = (unsigned long)(filter->event_filters + filter->filters) - in tep_filter_remove_event()
1419 filter->filters--; in tep_filter_remove_event()
1421 memset(&filter->event_filters[filter->filters], 0, in tep_filter_remove_event()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/liteos_a/
DOAT.xml41 … <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
46 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
51 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
56 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
61 …<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file p…
66 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
/kernel/liteos_m/
DOAT.xml43 … <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
48 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
53 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
58 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
63 …<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file p…
68 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c742 req->filters[0].flags = VFPF_Q_FILTER_DEST_MAC_VALID; in bnx2x_vfpf_config_mac()
744 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_config_mac()
750 memcpy(req->filters[0].mac, addr, ETH_ALEN); in bnx2x_vfpf_config_mac()
777 memcpy(req->filters[0].mac, bp->dev->dev_addr, in bnx2x_vfpf_config_mac()
951 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan()
954 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan()
965 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan()
1668 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1672 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
1674 fl->filters[j].mac = msg_filter->mac; in bnx2x_vf_mbx_macvlan_list()
[all …]
/kernel/linux/linux-4.19/arch/x86/events/intel/
Dpt.h170 * @filter: filters defined for this context
171 * @nr_filters: number of defined filters in the @filter array
181 * @filters: last configured filters
187 struct pt_filters filters; member
Dpt.c430 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() local
435 if (!filters) in pt_config_filters()
440 for (range = 0; range < filters->nr_filters; range++) { in pt_config_filters()
441 struct pt_filter *filter = &filters->filter[range]; in pt_config_filters()
453 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
455 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
458 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
460 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
1154 struct pt_filters *filters; in pt_addr_filters_init() local
1160 filters = kzalloc_node(sizeof(struct pt_filters), GFP_KERNEL, node); in pt_addr_filters_init()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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",
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/Documentation/trace/
Devents.rst108 find the field names that can be used in event filters (see section 5).
180 The field-names available for use in filters can be found in the
201 5.2 Setting filters
233 5.3 Clearing filters
239 To clear the filters for all events in a subsystem, write a '0' to the
242 5.3 Subsystem filters
245 For convenience, filters for every event in a subsystem can be set or
251 result in an unintended mixture of filters which could lead to
252 confusing (to the user who might think different filters are in
253 effect) trace output. Only filters that reference just the common
[all …]

12345678910>>...45