| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_fdir.c | 39 struct iavf_fdir_fltr *fltr) in iavf_validate_fdir_fltr_masks() argument 41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 44 if (fltr->ip_ver == 4) { in iavf_validate_fdir_fltr_masks() 45 if (fltr->ip_mask.v4_addrs.src_ip && in iavf_validate_fdir_fltr_masks() 46 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 49 if (fltr->ip_mask.v4_addrs.dst_ip && in iavf_validate_fdir_fltr_masks() 50 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 53 if (fltr->ip_mask.tos && fltr->ip_mask.tos != U8_MAX) in iavf_validate_fdir_fltr_masks() 55 } else if (fltr->ip_ver == 6) { in iavf_validate_fdir_fltr_masks() 56 if (memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_zero_mask, in iavf_validate_fdir_fltr_masks() [all …]
|
| H A D | iavf_ethtool.c | 852 struct iavf_fdir_fltr *fltr) in iavf_parse_rx_flow_user_data() argument 878 flex = &fltr->flex_words[cnt++]; in iavf_parse_rx_flow_user_data() 885 fltr->flex_cnt = cnt; in iavf_parse_rx_flow_user_data() 897 struct iavf_fdir_fltr *fltr) in iavf_fill_rx_flow_ext_data() argument 899 if (!fltr->ext_mask.usr_def[0] && !fltr->ext_mask.usr_def[1]) in iavf_fill_rx_flow_ext_data() 904 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp->h_ext.data)); in iavf_fill_rx_flow_ext_data() 905 memcpy(fsp->m_ext.data, fltr->ext_mask.usr_def, sizeof(fsp->m_ext.data)); in iavf_fill_rx_flow_ext_data() 1061 struct iavf_fdir_fltr *fltr; in iavf_get_fdir_fltr_ids() local 1072 list_for_each_entry(fltr, &adapter->fdir_list_head, list) { in iavf_get_fdir_fltr_ids() 1073 if (iavf_is_raw_fdir(fltr)) in iavf_get_fdir_fltr_ids() [all …]
|
| H A D | iavf_fdir.h | 127 static inline bool iavf_is_raw_fdir(struct iavf_fdir_fltr *fltr) in iavf_is_raw_fdir() argument 129 return !fltr->vc_add_msg.rule_cfg.proto_hdrs.count; in iavf_is_raw_fdir() 133 struct iavf_fdir_fltr *fltr); 134 int iavf_fill_fdir_add_msg(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 135 void iavf_print_fdir_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 136 bool iavf_fdir_is_dup_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 138 struct iavf_fdir_fltr *fltr);
|
| H A D | iavf.h | 491 struct iavf_fdir_fltr *fltr) in iavf_inc_fdir_active_fltr() argument 493 if (iavf_is_raw_fdir(fltr)) in iavf_inc_fdir_active_fltr() 501 struct iavf_fdir_fltr *fltr) in iavf_dec_fdir_active_fltr() argument 503 if (iavf_is_raw_fdir(fltr)) in iavf_dec_fdir_active_fltr()
|
| H A D | iavf_main.c | 4259 struct iavf_fdir_fltr *fltr; in iavf_add_cls_u32() local 4270 fltr = kzalloc_obj(*fltr); in iavf_add_cls_u32() 4271 if (!fltr) in iavf_add_cls_u32() 4274 rule_cfg = &fltr->vc_add_msg.rule_cfg; in iavf_add_cls_u32() 4345 fltr->vc_add_msg.vsi_id = adapter->vsi.id; in iavf_add_cls_u32() 4346 fltr->cls_u32_handle = cls_u32->knode.handle; in iavf_add_cls_u32() 4347 return iavf_fdir_add_fltr(adapter, fltr); in iavf_add_cls_u32() 4350 kfree(fltr); in iavf_add_cls_u32()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tc_lib.c | 15 * @fltr: Pointer to outer TC filter structure 19 static int ice_tc_count_lkups(u32 flags, struct ice_tc_flower_fltr *fltr) in ice_tc_count_lkups() argument 28 if (fltr->direction == ICE_ESWITCH_FLTR_EGRESS) in ice_tc_count_lkups() 184 ice_tc_fill_tunnel_outer(u32 flags, struct ice_tc_flower_fltr *fltr, in ice_tc_fill_tunnel_outer() argument 187 struct ice_tc_flower_lyr_2_4_hdrs *hdr = &fltr->outer_headers; in ice_tc_fill_tunnel_outer() 192 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer() 193 switch (fltr->tunnel_type) { in ice_tc_fill_tunnel_outer() 196 tenant_id = be32_to_cpu(fltr->tenant_id) << 8; in ice_tc_fill_tunnel_outer() 202 list[i].h_u.nvgre_hdr.tni_flow = fltr->tenant_id; in ice_tc_fill_tunnel_outer() 209 list[i].h_u.gtp_hdr.teid = fltr in ice_tc_fill_tunnel_outer() 670 ice_tc_setup_action(struct net_device * filter_dev,struct ice_tc_flower_fltr * fltr,struct net_device * target_dev,enum ice_sw_fwd_act_type action) ice_tc_setup_action() argument 712 ice_tc_setup_drop_action(struct net_device * filter_dev,struct ice_tc_flower_fltr * fltr) ice_tc_setup_drop_action() argument 728 ice_eswitch_tc_parse_action(struct net_device * filter_dev,struct ice_tc_flower_fltr * fltr,struct flow_action_entry * act) ice_eswitch_tc_parse_action() argument 765 ice_is_fltr_lldp(struct ice_tc_flower_fltr * fltr) ice_is_fltr_lldp() argument 770 ice_is_fltr_pf_tx_lldp(struct ice_tc_flower_fltr * fltr) ice_is_fltr_pf_tx_lldp() argument 784 ice_is_fltr_vf_tx_lldp(struct ice_tc_flower_fltr * fltr) ice_is_fltr_vf_tx_lldp() argument 797 struct ice_tc_flower_fltr *fltr; ice_find_pf_tx_lldp_fltr() local 889 struct ice_tc_flower_fltr *fltr; ice_handle_add_pf_lldp_drop_rule() local 914 ice_eswitch_add_tc_fltr(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr) ice_eswitch_add_tc_fltr() argument 1298 ice_tc_set_pppoe(struct flow_match_pppoe * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers) ice_tc_set_pppoe() argument 1323 ice_tc_set_ipv4(struct flow_match_ipv4_addrs * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_ipv4() argument 1354 ice_tc_set_ipv6(struct flow_match_ipv6_addrs * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_ipv6() argument 1416 ice_tc_set_tos_ttl(struct flow_match_ip * match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_tos_ttl() argument 1450 ice_tc_set_port(struct flow_match_ports match,struct ice_tc_flower_fltr * fltr,struct ice_tc_flower_lyr_2_4_hdrs * headers,bool is_encap) ice_tc_set_port() argument 1504 ice_parse_gtp_type(struct flow_match_ports match,struct ice_tc_flower_fltr * fltr) ice_parse_gtp_type() argument 1528 ice_parse_tunnel_attr(struct net_device * dev,struct flow_rule * rule,struct ice_tc_flower_fltr * fltr) ice_parse_tunnel_attr() argument 1639 ice_parse_cls_flower(struct net_device * filter_dev,struct ice_vsi * vsi,struct flow_cls_offload * f,struct ice_tc_flower_fltr * fltr,bool ingress) ice_parse_cls_flower() argument 1931 ice_add_switch_fltr(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr) ice_add_switch_fltr() argument 1950 ice_prep_adq_filter(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr) ice_prep_adq_filter() argument 2013 ice_handle_tclass_action(struct ice_vsi * vsi,struct flow_cls_offload * cls_flower,struct ice_tc_flower_fltr * fltr) ice_handle_tclass_action() argument 2037 ice_tc_forward_to_queue(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr,struct flow_action_entry * act) ice_tc_forward_to_queue() argument 2067 ice_tc_parse_action(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr,struct flow_action_entry * act) ice_tc_parse_action() argument 2095 ice_parse_tc_flower_actions(struct net_device * filter_dev,struct ice_vsi * vsi,struct flow_cls_offload * cls_flower,struct ice_tc_flower_fltr * fltr) ice_parse_tc_flower_actions() argument 2127 ice_del_tc_fltr(struct ice_vsi * vsi,struct ice_tc_flower_fltr * fltr) ice_del_tc_fltr() argument 2188 struct ice_tc_flower_fltr *fltr; ice_add_tc_fltr() local 2232 struct ice_tc_flower_fltr *fltr; ice_find_tc_flower_fltr() local 2256 struct ice_tc_flower_fltr *fltr; ice_add_cls_flower() local 2304 struct ice_tc_flower_fltr *fltr; ice_del_cls_flower() local 2340 struct ice_tc_flower_fltr *fltr; ice_replay_tc_fltrs() local [all...] |
| H A D | ice_main.c | 8853 struct ice_tc_flower_fltr *fltr; in ice_rem_all_chnl_fltrs() 8857 hlist_for_each_entry_safe(fltr, node, in ice_rem_all_chnl_fltrs() 8864 if (!ice_is_chnl_fltr(fltr)) in ice_rem_all_chnl_fltrs() 8867 rule.rid = fltr->rid; in ice_rem_all_chnl_fltrs() 8868 rule.rule_id = fltr->rule_id; in ice_rem_all_chnl_fltrs() 8869 rule.vsi_handle = fltr->dest_vsi_handle; in ice_rem_all_chnl_fltrs() 8878 } else if (fltr->dest_vsi) { in ice_rem_all_chnl_fltrs() 8880 if (fltr->dest_vsi->type == ICE_VSI_CHNL) { in ice_rem_all_chnl_fltrs() 8881 u32 flags = fltr->flags; in ice_rem_all_chnl_fltrs() 8883 fltr in ice_rem_all_chnl_fltrs() 8845 struct ice_tc_flower_fltr *fltr; ice_rem_all_chnl_fltrs() local [all...] |
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 127 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter() argument 129 kfree(fltr->data); in qede_free_arfs_filter() 131 if (fltr->sw_id < QEDE_RFS_MAX_FLTR) in qede_free_arfs_filter() 132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter() 134 kfree(fltr); in qede_free_arfs_filter() 139 struct qede_arfs_fltr_node *fltr, in qede_enqueue_fltr_and_config_searcher() argument 142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher() 143 fltr->buf_len, DMA_TO_DEVICE); in qede_enqueue_fltr_and_config_searcher() 144 if (dma_mapping_error(&edev->pdev->dev, fltr in qede_enqueue_fltr_and_config_searcher() 167 qede_dequeue_fltr_and_config_searcher(struct qede_dev * edev,struct qede_arfs_fltr_node * fltr) qede_dequeue_fltr_and_config_searcher() argument 188 struct qede_arfs_fltr_node *fltr = filter; qede_arfs_filter_op() local 238 struct qede_arfs_fltr_node *fltr; qede_process_arfs_filters() local 1271 struct qede_arfs_fltr_node *fltr; qede_get_arfs_fltr_by_loc() local 1283 struct qede_arfs_fltr_node *fltr; qede_get_cls_rule_all() local 1318 struct qede_arfs_fltr_node *fltr = NULL; qede_get_cls_rule_entry() local 1378 qede_poll_arfs_filter_config(struct qede_dev * edev,struct qede_arfs_fltr_node * fltr) qede_poll_arfs_filter_config() argument 1587 struct qede_arfs_fltr_node *fltr; qede_flow_find_fltr() local 1624 struct qede_arfs_fltr_node *fltr = NULL; qede_delete_flow_filter() local [all...] |
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_netdev.c | 2069 static void bnge_del_l2_filter(struct bnge_net *bn, struct bnge_l2_filter *fltr) 2071 if (!refcount_dec_and_test(&fltr->refcnt)) in __bnge_lookup_l2_filter() 2073 hlist_del_rcu(&fltr->base.hash); in __bnge_lookup_l2_filter() 2074 kfree_rcu(fltr, base.rcu); in __bnge_lookup_l2_filter() local 2078 struct bnge_l2_filter *fltr, in __bnge_lookup_l2_filter() 2083 ether_addr_copy(fltr->l2_key.dst_mac_addr, key->dst_mac_addr); in __bnge_lookup_l2_filter() 2084 fltr->l2_key.vlan = key->vlan; in __bnge_lookup_l2_filter() 2085 fltr->base.type = BNGE_FLTR_TYPE_L2; in __bnge_lookup_l2_filter() 2088 hlist_add_head_rcu(&fltr->base.hash, head); in bnge_lookup_l2_filter() 2089 refcount_set(&fltr in bnge_lookup_l2_filter() 2047 bnge_del_l2_filter(struct bnge_net * bn,struct bnge_l2_filter * fltr) bnge_del_l2_filter() argument 2056 bnge_init_l2_filter(struct bnge_net * bn,struct bnge_l2_filter * fltr,struct bnge_l2_key * key,u32 idx) bnge_init_l2_filter() argument 2092 struct bnge_l2_filter *fltr; bnge_lookup_l2_filter() local 2106 struct bnge_l2_filter *fltr; bnge_alloc_l2_filter() local 2126 struct bnge_l2_filter *fltr; bnge_hwrm_set_vnic_filter() local 2218 struct bnge_l2_filter *fltr = vnic->l2_filters[i]; bnge_cfg_rx_mode() local 2426 struct bnge_l2_filter *fltr = vnic->l2_filters[i]; bnge_hwrm_clear_vnic_filter() local [all...] |
| H A D | bnge_hwrm_lib.h | 46 int bnge_hwrm_l2_filter_free(struct bnge_dev *bd, struct bnge_l2_filter *fltr); 47 int bnge_hwrm_l2_filter_alloc(struct bnge_dev *bd, struct bnge_l2_filter *fltr);
|
| H A D | bnge_hwrm_lib.c | 887 int bnge_hwrm_l2_filter_free(struct bnge_dev *bd, struct bnge_l2_filter *fltr) in bnge_hwrm_l2_filter_free() argument 896 req->l2_filter_id = fltr->base.filter_id; in bnge_hwrm_l2_filter_free() 900 int bnge_hwrm_l2_filter_alloc(struct bnge_dev *bd, struct bnge_l2_filter *fltr) in bnge_hwrm_l2_filter_alloc() argument 913 req->dst_id = cpu_to_le16(fltr->base.fw_vnic_id); in bnge_hwrm_l2_filter_alloc() 918 ether_addr_copy(req->l2_addr, fltr->l2_key.dst_mac_addr); in bnge_hwrm_l2_filter_alloc() 921 if (fltr->l2_key.vlan) { in bnge_hwrm_l2_filter_alloc() 927 req->l2_ivlan = cpu_to_le16(fltr->l2_key.vlan); in bnge_hwrm_l2_filter_alloc() 934 fltr->base.filter_id = resp->l2_filter_id; in bnge_hwrm_l2_filter_alloc()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | fdir.c | 276 * @fltr: virtual channel add cmd buffer 286 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, 290 struct virtchnl_fdir_rule *rule = &fltr->rule_cfg; in ice_vc_fdir_set_flow_fld() 737 * @fltr: virtual channel add cmd buffer 746 ice_vc_fdir_config_input_set(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, 773 ret = ice_vc_fdir_set_flow_fld(vf, fltr, conf, seg); in ice_vc_fdir_config_input_set() 911 * @fltr: virtual channel add cmd buffer 919 ice_vc_fdir_parse_pattern(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, 922 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_fdir_parse_pattern() 1139 * @fltr 288 ice_vc_fdir_set_flow_fld(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf,struct ice_flow_seg_info * seg) ice_vc_fdir_set_flow_fld() argument 748 ice_vc_fdir_config_input_set(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf,int tun) ice_vc_fdir_config_input_set() argument 921 ice_vc_fdir_parse_pattern(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_parse_pattern() argument 1149 ice_vc_fdir_parse_action(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_fdir_parse_action() argument 1223 ice_vc_validate_fdir_fltr(struct ice_vf * vf,struct virtchnl_fdir_add * fltr,struct virtchnl_fdir_fltr_conf * conf) ice_vc_validate_fdir_fltr() argument 2087 struct virtchnl_fdir_add *fltr = (struct virtchnl_fdir_add *)msg; ice_vc_add_fdir_fltr() local 2313 struct virtchnl_fdir_del *fltr = (struct virtchnl_fdir_del *)msg; ice_vc_del_fdir_fltr() local [all...] |
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 5492 void bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) in bnxt_clear_usr_fltrs() 5494 u8 type = fltr->type, flags = fltr->flags; in bnxt_clear_usr_fltrs() 5496 INIT_LIST_HEAD(&fltr->list); in bnxt_clear_usr_fltrs() 5499 list_add_tail(&fltr->list, &bp->usr_fltr_list); in bnxt_del_fltr() argument 5502 void bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) in bnxt_del_fltr() 5504 if (!list_empty(&fltr->list)) in bnxt_del_fltr() 5505 list_del_init(&fltr->list); in bnxt_del_fltr() 5519 static void bnxt_del_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) in bnxt_free_ntp_fltrs() 5521 hlist_del(&fltr in bnxt_free_ntp_fltrs() 5472 bnxt_insert_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_insert_usr_fltr() argument 5482 bnxt_del_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_one_usr_fltr() argument 5522 struct bnxt_ntuple_filter *fltr; bnxt_free_ntp_fltrs() local 5567 struct bnxt_l2_filter *fltr; bnxt_free_l2_filters() local 6049 bnxt_del_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_del_l2_filter() argument 6073 struct bnxt_l2_filter *fltr; __bnxt_lookup_l2_filter() local 6089 struct bnxt_l2_filter *fltr = NULL; bnxt_lookup_l2_filter() local 6176 struct bnxt_l2_filter *fltr; bnxt_lookup_l2_filter_from_key() local 6186 bnxt_init_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr,struct bnxt_l2_key * key,u32 idx) bnxt_init_l2_filter() argument 6216 struct bnxt_l2_filter *fltr; bnxt_alloc_l2_filter() local 6243 struct bnxt_l2_filter *fltr; bnxt_alloc_new_l2_filter() local 6284 bnxt_hwrm_l2_filter_free(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_free() argument 6310 bnxt_hwrm_l2_filter_alloc(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_alloc() argument 6364 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument 6410 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt * bp,struct hwrm_cfa_ntuple_filter_alloc_input * req,struct bnxt_ntuple_filter * fltr) bnxt_cfg_rfs_ring_tbl_idx() argument 6448 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument 6516 struct bnxt_l2_filter *fltr; bnxt_hwrm_set_vnic_filter() local 6544 struct bnxt_l2_filter *fltr = vnic->l2_filters[j]; bnxt_hwrm_clear_vnic_filter() local 13160 bnxt_cfg_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_cfg_one_usr_fltr() argument 13894 struct bnxt_l2_filter *fltr = vnic->l2_filters[i]; bnxt_cfg_rx_mode() local 15880 bnxt_insert_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_insert_ntp_filter() argument 15945 bnxt_lookup_ntp_filter_from_idx(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_lookup_ntp_filter_from_idx() argument 15963 struct bnxt_ntuple_filter *fltr, *new_fltr; bnxt_rx_flow_steer() local 16046 bnxt_del_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_del_ntp_filter() argument 16070 struct bnxt_ntuple_filter *fltr; bnxt_cfg_ntp_filters() local [all...] |
| H A D | bnxt_ethtool.c | 1080 struct bnxt_filter_base *fltr; in bnxt_get_all_fltr_ids_rcu() local 1083 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_get_all_fltr_ids_rcu() 1084 if (!fltr->flags || in bnxt_get_all_fltr_ids_rcu() 1085 test_bit(BNXT_FLTR_FW_DELETED, &fltr->state)) in bnxt_get_all_fltr_ids_rcu() 1087 ids[j++] = fltr->sw_id; in bnxt_get_all_fltr_ids_rcu() 1103 struct bnxt_filter_base *fltr; in bnxt_get_one_fltr_rcu() local 1106 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_get_one_fltr_rcu() 1107 if (fltr->flags && fltr->sw_id == id) in bnxt_get_one_fltr_rcu() 1108 return fltr; in bnxt_get_one_fltr_rcu() 1138 struct bnxt_ntuple_filter *fltr; bnxt_grxclsrule() local 1304 struct bnxt_l2_filter *fltr; bnxt_add_l2_cls_rule() local 1378 struct bnxt_ntuple_filter *new_fltr, *fltr; bnxt_add_ntuple_cls_rule() local 1584 struct bnxt_ntuple_filter *fltr; bnxt_srxclsrldel() local [all...] |
| H A D | bnxt.h | 2979 void bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr); 2980 void bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr); 2984 void bnxt_del_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr); 2988 int bnxt_hwrm_l2_filter_free(struct bnxt *bp, struct bnxt_l2_filter *fltr); 2989 int bnxt_hwrm_l2_filter_alloc(struct bnxt *bp, struct bnxt_l2_filter *fltr); 2991 struct bnxt_ntuple_filter *fltr); 2993 struct bnxt_ntuple_filter *fltr); 3058 struct bnxt_ntuple_filter *fltr, u32 idx); 3061 int bnxt_insert_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr, 3063 void bnxt_del_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr);
|
| /linux/tools/testing/selftests/net/ |
| H A D | bpf_offload.py | 501 fltr = {} 503 fltr[flag] = flag in words 507 fltr[name] = words[idx + 1] 510 filters.append(fltr) 927 fltr = ingress[0] 928 fail(not fltr["in_hw"], "Filter not offloaded by default") 937 fltr = ingress[0] 938 fail(not fltr["in_hw"], "Bytecode not offloaded by default") 1016 fltr = ingress[0] 1017 fail(fltr["skip_h 790 fltr = ingress[0] global() variable 800 fltr = ingress[0] global() variable 879 fltr = ingress[0] global() variable [all...] |
| /linux/drivers/net/ethernet/intel/libie/ |
| H A D | pci.c | 163 bool (*fltr)(struct libie_mmio_info *mmio_info, in libie_pci_unmap_fltr_regs() 169 if (!fltr(mmio_info, mr)) in libie_pci_unmap_fltr_regs()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 169 struct idpf_fsteer_fltr *fltr, *parent = NULL, *f; in idpf_add_flow_steer() local 207 fltr = kzalloc_obj(*fltr); in idpf_add_flow_steer() 208 if (!fltr) { in idpf_add_flow_steer() 262 kfree(fltr); in idpf_add_flow_steer() 267 fltr->fs = *fsp; in idpf_add_flow_steer() 270 parent ? list_add(&fltr->list, &parent->list) : in idpf_add_flow_steer() 271 list_add(&fltr->list, &user_config->flow_steer_list); in idpf_add_flow_steer() 279 kfree(fltr); in idpf_add_flow_steer()
|
| /linux/include/linux/net/intel/libie/ |
| H A D | pci.h | 52 bool (*fltr)(struct libie_mmio_info *mmio_info,
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | mac_be.c | 2264 u32 fltr; in set_host_rpr_be() local 2275 fltr = 0; in set_host_rpr_be() 2280 fltr = S_BE_WDRLS_FLTR_TXOK | S_BE_WDRLS_FLTR_RTYLMT | in set_host_rpr_be() 2283 fltr = S_BE_WDRLS_FLTR_TXOK_V1 | S_BE_WDRLS_FLTR_RTYLMT_V1 | in set_host_rpr_be() 2292 val32 = u32_replace_bits(val32, fltr, B_BE_RLSRPT0_FLTR_MAP_MASK); in set_host_rpr_be() 2294 val32 = u32_replace_bits(val32, fltr, B_BE_RLSRPT0_FLTR_MAP_V1_MASK); in set_host_rpr_be()
|
| /linux/include/linux/qed/ |
| H A D | qed_if.h | 818 void (*arfs_filter_op)(void *dev, void *fltr, u8 fw_rc);
|