/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_rule.c | 244 /* Link old STEs rule to the new ste */ 394 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, argument 402 struct mlx5dr_matcher *matcher = rule->matcher; 515 static struct mlx5dr_ste_htbl *dr_rule_rehash(struct mlx5dr_rule *rule, argument 521 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; 530 return dr_rule_rehash_htbl(rule, nic_rule, cur_htbl, ste_location, 576 static void dr_rule_remove_action_members(struct mlx5dr_rule *rule) argument 581 list_for_each_entry_safe(action_mem, tmp, &rule->rule_actions_list, list) { 588 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, argument 602 list_add_tail(&action_mem->list, &rule 661 dr_rule_clean_rule_members(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule) argument 711 dr_rule_handle_action_stes(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule, struct list_head *send_ste_list, struct mlx5dr_ste *last_ste, u8 *hw_ste_arr, u32 new_hw_ste_arr_sz) argument 832 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule, struct list_head *send_ste_list, struct mlx5dr_ste_htbl *cur_htbl, u8 *hw_ste, u8 ste_location, struct mlx5dr_ste_htbl **put_htbl) argument 1022 dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule) argument 1044 dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) argument 1051 dr_rule_destroy_rule(struct mlx5dr_rule *rule) argument 1113 dr_rule_create_rule_nic(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule, struct mlx5dr_match_param *param, size_t num_actions, struct mlx5dr_action *actions[]) argument 1256 dr_rule_create_rule_fdb(struct mlx5dr_rule *rule, struct mlx5dr_match_param *param, size_t num_actions, struct mlx5dr_action *actions[]) argument 1295 struct mlx5dr_rule *rule; local 1356 struct mlx5dr_rule *rule; local 1367 mlx5dr_rule_destroy(struct mlx5dr_rule *rule) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc.c | 226 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_##_name)) { \ 229 flow_rule_match_##_tcget(rule, &fm); \ 239 struct flow_rule *rule, 243 struct flow_dissector *dissector = rule->match.dissector; 252 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { 255 flow_rule_match_control(rule, &fm); 322 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { 325 flow_rule_match_vlan(rule, &fm); 336 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { 339 flow_rule_match_cvlan(rule, 238 efx_tc_flower_parse_match(struct efx_nic *efx, struct flow_rule *rule, struct efx_tc_match *match, struct netlink_ext_ack *extack) argument 747 efx_tc_delete_rule(struct efx_nic *efx, struct efx_tc_flow_rule *rule) argument 971 efx_tc_flower_handle_lhs_actions(struct efx_nic *efx, struct flow_cls_offload *tc, struct flow_rule *fr, struct net_device *net_dev, struct efx_tc_lhs_rule *rule) argument 1463 struct efx_tc_lhs_rule *rule, *old; local 1567 struct efx_tc_lhs_rule *rule, *old; local 1678 struct efx_tc_flow_rule *rule = NULL, *old = NULL; local 2003 struct efx_tc_lhs_rule *rule, *old; local 2078 struct efx_tc_flow_rule *rule = NULL, *old; local 2562 struct efx_tc_flow_rule *rule; local 2669 efx_tc_configure_default_rule(struct efx_nic *efx, u32 ing_port, u32 eg_port, struct efx_tc_flow_rule *rule) argument 2709 struct efx_tc_flow_rule *rule = &efx->tc->dflt.pf; local 2719 struct efx_tc_flow_rule *rule = &efx->tc->dflt.wire; local 2729 struct efx_tc_flow_rule *rule = &efv->dflt; local 2738 efx_tc_deconfigure_default_rule(struct efx_nic *efx, struct efx_tc_flow_rule *rule) argument 2949 struct efx_tc_lhs_rule *rule = ptr; local 2975 struct efx_tc_flow_rule *rule = ptr; local [all...] |
H A D | rx_common.c | 682 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, argument 685 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { 689 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { 691 * of date. Remove the filter and the ARFS rule entry. 693 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; 696 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ 698 * not mark the rule with EFX_ARFS_FILTER_ID_REMOVING, it will 723 struct efx_arfs_rule *rule; local 731 rule = container_of(node, struct efx_arfs_rule, node); 732 if (efx_filter_spec_equal(spec, &rule 742 struct efx_arfs_rule *rule; local 767 struct efx_arfs_rule *rule; local 865 struct efx_arfs_rule *rule; local 949 struct efx_arfs_rule *rule; local [all...] |
H A D | ethtool_common.c | 645 struct ethtool_rx_flow_spec *rule, 648 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; 649 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; 650 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; 651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; 652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; 653 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; 654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; 655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; 656 struct ethhdr *mac_entry = &rule 644 efx_ethtool_get_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule, u32 *rss_context) argument 916 efx_ethtool_set_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule, u32 rss_context) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.h | 274 TP_PROTO(const struct mlx5_flow_rule *rule), 275 TP_ARGS(rule), 277 __field(const struct mlx5_flow_rule *, rule) 285 __entry->rule = rule; 286 fs_get_obj(__entry->fte, rule->node.parent); 288 __entry->sw_action = rule->sw_action; 290 &rule->dest_attr, 292 if (rule->dest_attr.type & 295 rule [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_mr_tcam.c | 193 mlxsw_sp2_mr_tcam_rule_parse(struct mlxsw_sp_acl_rule *rule, argument 199 rulei = mlxsw_sp_acl_rule_rulei(rule); 219 struct mlxsw_sp_acl_rule *rule; local 227 rule = mlxsw_sp_acl_rule_create(mlxsw_sp, ruleset, 230 if (IS_ERR(rule)) 231 return PTR_ERR(rule); 233 mlxsw_sp2_mr_tcam_rule_parse(rule, key, prio); 234 err = mlxsw_sp_acl_rule_add(mlxsw_sp, rule); 241 mlxsw_sp_acl_rule_destroy(mlxsw_sp, rule); 252 struct mlxsw_sp_acl_rule *rule; local 276 struct mlxsw_sp_acl_rule *rule; local [all...] |
H A D | spectrum_acl.c | 67 struct rhash_head ht_node; /* Member of rule HT */ 821 struct mlxsw_sp_acl_rule *rule; local 825 rule = kzalloc(sizeof(*rule) + ops->rule_priv_size, 827 if (!rule) { 831 rule->cookie = cookie; 832 rule->ruleset = ruleset; 834 rule->rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl, afa_block); 835 if (IS_ERR(rule->rulei)) { 836 err = PTR_ERR(rule 849 mlxsw_sp_acl_rule_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule) argument 859 mlxsw_sp_acl_rule_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule) argument 903 mlxsw_sp_acl_rule_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule) argument 924 mlxsw_sp_acl_rule_action_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule, struct mlxsw_afa_block *afa_block) argument 948 mlxsw_sp_acl_rule_rulei(struct mlxsw_sp_acl_rule *rule) argument 953 mlxsw_sp_acl_rule_activity_update(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule) argument 971 struct mlxsw_sp_acl_rule *rule; local 1010 mlxsw_sp_acl_rule_get_stats(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule *rule, u64 *packets, u64 *bytes, u64 *drops, u64 *last_use, enum flow_action_hw_stats *used_hw_stats) argument [all...] |
H A D | spectrum_flower.c | 113 * to ingress/egress in future. Ingress rule is 191 NL_SET_ERR_MSG_MOD(extack, "Multiple mirror actions per rule are not supported"); 240 NL_SET_ERR_MSG_MOD(extack, "Multiple police actions per rule are not supported"); 264 NL_SET_ERR_MSG_MOD(extack, "Multiple sample actions per rule are not supported"); 341 struct flow_rule *rule = flow_cls_offload_flow_rule(f); local 344 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) 347 flow_rule_match_meta(rule, &match); 361 flow_rule_match_ipv4_addrs(f->rule, &match); 376 flow_rule_match_ipv6_addrs(f->rule, &match); 409 const struct flow_rule *rule local 436 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); local 498 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); local 529 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); local 562 struct flow_rule *rule = flow_cls_offload_flow_rule(f); local 732 struct mlxsw_sp_acl_rule *rule; local 782 struct mlxsw_sp_acl_rule *rule; local 805 struct mlxsw_sp_acl_rule *rule; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | post_meter.c | 23 struct mlx5_flow_handle *rule; member in struct:mlx5e_post_meter_mtu_table 155 struct mlx5_flow_handle *rule; local 166 rule = mlx5e_post_meter_add_rule(priv, post_meter, spec, red_attr, 168 if (IS_ERR(rule)) { 169 mlx5_core_warn(priv->mdev, "Failed to create post_meter exceed rule\n"); 170 err = PTR_ERR(rule); 173 table->red_rule = rule; 179 rule = mlx5e_post_meter_add_rule(priv, post_meter, spec, green_attr, 181 if (IS_ERR(rule)) { 182 mlx5_core_warn(priv->mdev, "Failed to create post_meter notexceed rule\ 345 struct mlx5_flow_handle *rule; local [all...] |
H A D | post_act.c | 21 struct mlx5_flow_handle *rule; member in struct:mlx5e_post_act_handle 93 /* Post action rule matches on fte_id and executes original rule's tc rule action */ 96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); 97 if (IS_ERR(handle->rule)) { 98 err = PTR_ERR(handle->rule); 99 netdev_warn(post_act->priv->netdev, "Failed to add post action rule"); 155 mlx5e_tc_rule_unoffload(post_act->priv, handle->rule, handle->attr); 156 handle->rule [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 47 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { 48 mlx5_del_flow_rules(ttc->rules[i].rule); 49 ttc->rules[i].rule = NULL; 199 struct mlx5_flow_handle *rule; local 225 rule = mlx5_add_flow_rules(ft, spec, &flow_act, dest, 1); 226 if (IS_ERR(rule)) { 227 err = PTR_ERR(rule); 228 mlx5_core_err(dev, "%s: add rule failed\n", __func__); 232 return err ? ERR_PTR(err) : rule; 248 struct mlx5_ttc_rule *rule local 364 struct mlx5_flow_handle *rule; local 409 struct mlx5_ttc_rule *rule = &rules[tt]; local [all...] |
/linux-master/drivers/net/dsa/ |
H A D | bcm_sf2_cfp.c | 383 /* Locate the first rule available */ 398 flow_rule_match_ipv4_addrs(flow->rule, &ipv4); 399 flow_rule_match_ports(flow->rule, &ports); 400 flow_rule_match_ip(flow->rule, &ip); 465 /* Turn on CFP for this rule now */ 470 /* Flag the rule as being used and return it */ 570 struct cfp_rule *rule; local 572 list_for_each_entry(rule, &priv->cfp.rules_list, next) { 573 if (rule->port == port && rule 583 struct cfp_rule *rule = NULL; local 930 struct cfp_rule *rule = NULL; local 1026 struct cfp_rule *rule; local 1067 struct cfp_rule *rule; local 1215 struct cfp_rule *rule, *n; local 1227 struct cfp_rule *rule; local 1312 struct cfp_rule *rule; local [all...] |
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_acl.c | 383 struct prestera_acl_rule *rule; local 388 list_for_each_entry(rule, &acl->rules, list) { 389 if (ruleset->ingress != rule->ruleset->ingress) 391 if (ruleset->ht_key.chain_index != rule->chain_index) 394 ruleset->prio.min = min(ruleset->prio.min, rule->priority); 395 ruleset->prio.max = max(ruleset->prio.max, rule->priority); 400 prestera_acl_rule_keymask_pcl_id_set(struct prestera_acl_rule *rule, u16 pcl_id) argument 402 struct prestera_acl_match *r_match = &rule->re_key.match; 439 struct prestera_acl_rule *rule; local 441 rule 454 prestera_acl_rule_priority_set(struct prestera_acl_rule *rule, u32 priority) argument 460 prestera_acl_rule_destroy(struct prestera_acl_rule *rule) argument 477 prestera_acl_rule_add(struct prestera_switch *sw, struct prestera_acl_rule *rule) argument 529 prestera_acl_rule_del(struct prestera_switch *sw, struct prestera_acl_rule *rule) argument 548 prestera_acl_rule_get_stats(struct prestera_acl *acl, struct prestera_acl_rule *rule, u64 *packets, u64 *bytes, u64 *last_use) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | fs_tt_redirect.h | 9 void mlx5e_fs_tt_redirect_del_rule(struct mlx5_flow_handle *rule);
|
/linux-master/include/net/ |
H A D | flow_offload.h | 97 void flow_rule_match_meta(const struct flow_rule *rule, 99 void flow_rule_match_basic(const struct flow_rule *rule, 101 void flow_rule_match_control(const struct flow_rule *rule, 103 void flow_rule_match_eth_addrs(const struct flow_rule *rule, 105 void flow_rule_match_vlan(const struct flow_rule *rule, 107 void flow_rule_match_cvlan(const struct flow_rule *rule, 109 void flow_rule_match_arp(const struct flow_rule *rule, 111 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, 113 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, 115 void flow_rule_match_ip(const struct flow_rule *rule, 446 flow_rule_match_key(const struct flow_rule *rule, enum flow_dissector_key_id key) argument 606 struct flow_rule *rule; member in struct:flow_cls_offload [all...] |
/linux-master/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 24 \tRelationship rule description: \'{5}\'".format(self.metric, self.collectedValue, self.workloads, 63 self.pctgmetrics = set() # Percentage rule 247 def relationship_test(self, rule: dict): 249 Validate if the metrics follow the required relationship in the rule. 251 One rule is counted as ont test. 254 @param rule: dict with metric name(+alias), formula, and required upper and lower bounds. 257 for m in rule['Metrics']: 260 rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshol [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 70 struct aq_rx_filter *rule; local 74 hlist_for_each_entry_safe(rule, aq_node2, 76 if (rule->aq_fsp.location == fsp->location) 78 if (aq_match_filter(&rule->aq_fsp, fsp)) { 274 "ethtool: The specified number %u rule is invalid\n", 434 struct aq_rx_filter *rule = NULL; local 437 hlist_for_each_entry_safe(rule, aq_node2, 439 if (be16_to_cpu(rule->aq_fsp.h_ext.vlan_tci) == vlan_id) 442 if (rule && rule 634 struct aq_rx_filter *rule = NULL, *parent = NULL; local 721 struct aq_rx_filter *rule = NULL; local 745 struct aq_rx_filter *rule = NULL; local 766 struct aq_rx_filter *rule; local 788 struct aq_rx_filter *rule; local 809 struct aq_rx_filter *rule; local [all...] |
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 33 struct vcap_rule *rule, 75 struct vcap_rule *rule) 78 vcap_rule_add_key_bit(rule, VCAP_KF_LOOKUP_FIRST_IS, VCAP_BIT_1); 80 vcap_rule_add_key_bit(rule, VCAP_KF_LOOKUP_FIRST_IS, VCAP_BIT_0); 245 /* Helper function to create a rule of a specific size */ 250 struct vcap_rule *rule; local 287 /* Allocate the rule */ 288 rule = vcap_alloc_rule(&test_vctrl, &test_netdev, cid, user, priority, 290 KUNIT_EXPECT_PTR_NE(test, NULL, rule); 292 ri = (struct vcap_rule_internal *)rule; 31 test_val_keyset(struct net_device *ndev, struct vcap_admin *admin, struct vcap_rule *rule, struct vcap_keyset_list *kslist, u16 l3_proto) argument 73 test_add_def_fields(struct net_device *ndev, struct vcap_admin *admin, struct vcap_rule *rule) argument 589 struct vcap_rule_internal rule = { local 650 struct vcap_rule_internal rule = { local 713 struct vcap_rule_internal rule = { local 834 struct vcap_rule_internal rule = { local 944 struct vcap_rule_internal rule = { local 997 vcap_free_ckf(struct vcap_rule *rule) argument 1019 struct vcap_rule *rule = (struct vcap_rule *)&ri; local 1097 vcap_free_caf(struct vcap_rule *rule) argument 1119 struct vcap_rule *rule = (struct vcap_rule *)&ri; local 1351 struct vcap_rule *rule; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 26 static struct flow_action_entry *get_flow_act(struct flow_rule *rule, 58 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); local 59 struct flow_dissector *dissector = rule->match.dissector; 65 flow_rule_match_ct(rule, &ct); 73 flow_action_for_each(i, act, &flow->rule->action) { 75 /* The pre_ct rule only have the ct or ct nat action, cannot 90 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); local 91 struct flow_dissector *dissector = rule->match.dissector; 98 flow_rule_match_ct(rule, &ct); 103 flow_action_for_each(i, act, &flow->rule 135 get_mangled_key(struct flow_rule *rule, void *buf, u32 offset, size_t key_sz, enum flow_action_mangle_base htype) argument 172 get_mangled_tos_ttl(struct flow_rule *rule, void *buf, bool is_v6) argument 483 nfp_ct_check_vlan_merge(struct flow_action_entry *a_in, struct flow_rule *rule) argument 1401 get_netdev_from_rule(struct flow_rule *rule) argument 1735 get_flow_act_ct(struct flow_rule *rule) argument 1751 get_flow_act(struct flow_rule *rule, enum flow_action_id act_id) argument 1885 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 88 struct mlx5_flow_handle *rule; member in struct:arfs_rule 242 fs_err(fs, "%s: add rule failed, arfs type=%d\n", __func__, type); 447 if (arfs_rule->rule) { 448 mlx5_del_flow_rules(arfs_rule->rule); 460 struct arfs_rule *rule; local 468 mlx5e_for_each_arfs_rule(rule, htmp, arfs->arfs_tables, i, j) { 469 hlist_del_init(&rule->hlist); 470 hlist_add_head(&rule->hlist, &del_list); 474 hlist_for_each_entry_safe(rule, htmp, &del_list, hlist) { 475 cancel_work_sync(&rule 518 struct mlx5_flow_handle *rule = NULL; local 613 arfs_modify_rule_rq(struct mlx5e_priv *priv, struct mlx5_flow_handle *rule, u16 rxq) argument 636 struct mlx5_flow_handle *rule; local 662 struct arfs_rule *rule; local [all...] |
/linux-master/net/netfilter/ |
H A D | nf_tables_offload.c | 18 flow->rule = flow_rule_alloc(num_actions); 19 if (!flow->rule) { 24 flow->rule->match.dissector = &flow->match.dissector; 25 flow->rule->match.mask = &flow->match.mask; 26 flow->rule->match.key = &flow->match.key; 89 const struct nft_rule *rule) 96 expr = nft_expr_first(rule); 97 while (nft_expr_more(rule, expr)) { 112 expr = nft_expr_first(rule); 122 while (nft_expr_more(rule, exp 88 nft_flow_rule_create(struct net *net, const struct nft_rule *rule) argument 242 nft_flow_cls_offload_setup(struct flow_cls_offload *cls_flow, const struct nft_base_chain *basechain, const struct nft_rule *rule, const struct nft_flow_rule *flow, struct netlink_ext_ack *extack, enum flow_cls_command command) argument 264 nft_flow_offload_cmd(const struct nft_chain *chain, const struct nft_rule *rule, struct nft_flow_rule *flow, enum flow_cls_command command, struct flow_cls_offload *cls_flow) argument 284 nft_flow_offload_rule(const struct nft_chain *chain, struct nft_rule *rule, struct nft_flow_rule *flow, enum flow_cls_command command) argument 294 nft_flow_rule_stats(const struct nft_chain *chain, const struct nft_rule *rule) argument 328 struct nft_rule *rule; local [all...] |
H A D | nf_tables_trace.c | 128 const struct nft_rule_dp *rule, 131 if (!rule || rule->is_last) 137 * Since no rule matched, the ->rule pointer is invalid. 144 cpu_to_be64(rule->handle), 170 static const struct nft_chain *nft_trace_get_chain(const struct nft_rule_dp *rule, argument 175 if (!rule) 178 while (!rule->is_last) 179 rule 126 nf_trace_fill_rule_info(struct sk_buff *nlskb, const struct nft_verdict *verdict, const struct nft_rule_dp *rule, const struct nft_traceinfo *info) argument 189 nft_trace_notify(const struct nft_pktinfo *pkt, const struct nft_verdict *verdict, const struct nft_rule_dp *rule, struct nft_traceinfo *info) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | rx_common.c | 684 bool efx_siena_rps_check_rule(struct efx_arfs_rule *rule, argument 687 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { 691 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { 693 * of date. Remove the filter and the ARFS rule entry. 695 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; 698 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ 700 * not mark the rule with EFX_ARFS_FILTER_ID_REMOVING, it will 725 struct efx_arfs_rule *rule; local 733 rule = container_of(node, struct efx_arfs_rule, node); 734 if (efx_siena_filter_spec_equal(spec, &rule 744 struct efx_arfs_rule *rule; local 770 struct efx_arfs_rule *rule; local 870 struct efx_arfs_rule *rule; local 955 struct efx_arfs_rule *rule; local [all...] |
H A D | ethtool_common.c | 645 struct ethtool_rx_flow_spec *rule, 648 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; 649 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; 650 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; 651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; 652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; 653 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; 654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; 655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; 656 struct ethhdr *mac_entry = &rule 644 efx_ethtool_get_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule, u32 *rss_context) argument 917 efx_ethtool_set_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule, u32 rss_context) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 793 struct ethtool_rx_flow_spec *rule) 795 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; 796 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; 797 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; 798 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; 799 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; 800 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; 801 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; 802 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; 803 struct ethhdr *mac_entry = &rule 792 ef4_ethtool_get_class_rule(struct ef4_nic *efx, struct ethtool_rx_flow_spec *rule) argument 1028 ef4_ethtool_set_class_rule(struct ef4_nic *efx, struct ethtool_rx_flow_spec *rule) argument [all...] |