| /linux-6.15/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 54 struct ethtool_rx_flow_spec *fsp2) in aq_match_filter() 68 struct ethtool_rx_flow_spec *fsp) in aq_rule_already_exists() 90 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fl3l4() 127 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fl2() 154 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fvlan() 186 struct ethtool_rx_flow_spec *fsp) in aq_check_filter() 235 struct ethtool_rx_flow_spec *fsp) in aq_rule_is_not_support() 265 struct ethtool_rx_flow_spec *fsp) in aq_rule_is_not_correct() 294 struct ethtool_rx_flow_spec *fsp) in aq_check_rule() 682 struct ethtool_rx_flow_spec *fsp = in aq_add_rxnfc_rule() [all …]
|
| H A D | aq_filters.h | 20 struct ethtool_rx_flow_spec aq_fsp;
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 63 struct ethtool_rx_flow_spec flow_spec; 82 struct ethtool_rx_flow_spec *fs, in get_flow_table() 347 struct ethtool_rx_flow_spec *fs) in set_flow_attrs() 424 struct ethtool_rx_flow_spec *fs, in flow_get_tirn() 460 struct ethtool_rx_flow_spec *fs, u32 rss_context) in add_ethtool_flow_rule() 558 static int validate_ethter(struct ethtool_rx_flow_spec *fs) in validate_ethter() 592 static int validate_ip4(struct ethtool_rx_flow_spec *fs) in validate_ip4() 610 static int validate_ip6(struct ethtool_rx_flow_spec *fs) in validate_ip6() 650 static int validate_vlan(struct ethtool_rx_flow_spec *fs) in validate_vlan() 664 struct ethtool_rx_flow_spec *fs) in validate_flow() [all …]
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_rxnfc.c | 97 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in tsnep_rxnfc_get_rule() 172 const struct ethtool_rx_flow_spec *fsp) in tsnep_rxnfc_init_rule() 205 struct ethtool_rx_flow_spec *fsp = in tsnep_rxnfc_add_rule() 206 (struct ethtool_rx_flow_spec *)&cmd->fs; in tsnep_rxnfc_add_rule() 272 struct ethtool_rx_flow_spec *fsp = in tsnep_rxnfc_del_rule() 273 (struct ethtool_rx_flow_spec *)&cmd->fs; in tsnep_rxnfc_del_rule()
|
| /linux-6.15/drivers/net/ethernet/google/gve/ |
| H A D | gve_flow_rule.c | 11 int gve_fill_ethtool_flow_spec(struct ethtool_rx_flow_spec *fsp, in gve_fill_ethtool_flow_spec() 106 static int gve_generate_flow_rule(struct gve_priv *priv, struct ethtool_rx_flow_spec *fsp, in gve_generate_flow_rule() 199 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in gve_get_flow_rule_entry() 265 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in gve_add_flow_rule() 292 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in gve_del_flow_rule()
|
| /linux-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_ethtool.c | 86 struct ethtool_rx_flow_spec *fsp = in txgbe_get_ethtool_fdir_entry() 87 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_get_ethtool_fdir_entry() 201 static int txgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in txgbe_flowspec_to_flow_type() 326 struct ethtool_rx_flow_spec *fsp = in txgbe_add_ethtool_fdir_entry() 327 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_add_ethtool_fdir_entry() 476 struct ethtool_rx_flow_spec *fsp = in txgbe_del_ethtool_fdir_entry() 477 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_del_ethtool_fdir_entry()
|
| /linux-6.15/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1041 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid() 1046 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm() 1051 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi() 1056 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim() 1061 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio() 1067 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom() 1074 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer() 1205 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability() 1265 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks() 1279 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
|
| /linux-6.15/drivers/net/dsa/ |
| H A D | bcm_sf2_cfp.c | 24 struct ethtool_rx_flow_spec fs; 349 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set() 581 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_rule_cmp() 630 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv6_rule_set() 847 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_rule_insert() 927 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_rule_set() 1051 static void bcm_sf2_invert_masks(struct ethtool_rx_flow_spec *flow) in bcm_sf2_invert_masks()
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool_fdir.c | 122 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() 127 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry() 485 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in ice_parse_rx_flow_user_data() 1212 struct ethtool_rx_flow_spec *fsp) in ice_fdir_vlan_valid() 1329 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq() 1762 struct ethtool_rx_flow_spec *fsp = in ice_del_fdir_ethtool() 1763 (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_del_fdir_ethtool() 1827 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, in ice_set_fdir_input_set() 1980 struct ethtool_rx_flow_spec *fsp; in ice_add_fdir_ethtool() 2006 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_add_fdir_ethtool()
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 853 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data() 898 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data() 921 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry() 1101 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info() 1257 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool() 1308 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 16 struct ethtool_rx_flow_spec flow_spec; 536 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow() 695 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow() 821 static int otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_flow_request() 949 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter() 1074 sizeof(struct ethtool_rx_flow_spec)); in otx2_add_flow_with_pfmac() 1094 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in otx2_add_flow()
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 417 struct ethtool_rx_flow_spec *fsp; in fbnic_get_cls_rule() 422 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_get_cls_rule() 701 struct ethtool_rx_flow_spec *fsp; in fbnic_set_cls_rule_ins() 710 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_set_cls_rule_ins() 1037 struct ethtool_rx_flow_spec *fsp; in fbnic_set_cls_rule_del() 1042 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_set_cls_rule_del()
|
| /linux-6.15/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.h | 355 struct ethtool_rx_flow_spec fs; 590 struct ethtool_rx_flow_spec *fs);
|
| H A D | bcmasp.c | 392 struct ethtool_rx_flow_spec *fs = &nfilt->fs; in bcmasp_netfilt_wr_to_hw() 598 struct ethtool_rx_flow_spec *fs) in bcmasp_netfilt_check_dup() 601 struct ethtool_rx_flow_spec *cur; in bcmasp_netfilt_check_dup()
|
| H A D | bcmasp_ethtool.c | 260 memcpy(&nfilter->fs, &cmd->fs, sizeof(struct ethtool_rx_flow_spec)); in bcmasp_flow_insert()
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-ethtool.c | 517 static int dpaa2_eth_prep_cls_rule(struct ethtool_rx_flow_spec *fs, void *key, in dpaa2_eth_prep_cls_rule() 568 struct ethtool_rx_flow_spec *fs, in dpaa2_eth_do_cls_rule() 672 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ethtool.c | 244 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 963 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() 1217 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule() 1326 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule() 1327 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule() 1403 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule() 1404 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
|
| /linux-6.15/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_ethtool.c | 496 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() 497 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
|
| /linux-6.15/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1320 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry() 1501 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_validate_unused() 1609 struct ethtool_rx_flow_spec *fs) in qede_flow_set_destination() 1994 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule() 2043 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | ethtool.h | 1392 struct ethtool_rx_flow_spec { struct 1492 struct ethtool_rx_flow_spec fs;
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3256 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() 3296 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() 3363 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() 3364 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry() 3876 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry() 3877 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry() 4143 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str() 4294 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set() 4800 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool() 4824 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 2542 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() 2543 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry() 2770 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type() 2814 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry() 2815 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry() 2944 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry() 2945 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
|
| /linux-6.15/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.h | 569 struct ethtool_rx_flow_spec fs;
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1646 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace() 1657 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace() 1691 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach() 1711 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_get_flow()
|