Home
last modified time | relevance | path

Searched refs:ethtool_rx_flow_spec (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c54 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 Daq_filters.h20 struct ethtool_rx_flow_spec aq_fsp;
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c63 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 …]
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c97 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()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1039 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1044 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1049 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1054 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1059 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1065 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1072 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
1203 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability()
1263 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks()
1277 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2_cfp.c24 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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c118 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry()
123 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry()
481 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in ice_parse_rx_flow_user_data()
1203 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq()
1629 struct ethtool_rx_flow_spec *fsp = in ice_del_fdir_ethtool()
1630 (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_del_fdir_ethtool()
1694 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, in ice_set_fdir_input_set()
1843 struct ethtool_rx_flow_spec *fsp; in ice_add_fdir_ethtool()
1868 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_add_fdir_ethtool()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c994 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data()
1040 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data()
1063 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry()
1240 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info()
1396 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool()
1469 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c18 struct ethtool_rx_flow_spec flow_spec;
528 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow()
687 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow()
813 static int otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_flow_request()
941 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter()
1066 sizeof(struct ethtool_rx_flow_spec)); in otx2_add_flow_with_pfmac()
1086 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in otx2_add_flow()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.h345 struct ethtool_rx_flow_spec fs;
573 struct ethtool_rx_flow_spec *fs);
H A Dbcmasp.c375 struct ethtool_rx_flow_spec *fs = &nfilt->fs; in bcmasp_netfilt_wr_to_hw()
581 struct ethtool_rx_flow_spec *fs) in bcmasp_netfilt_check_dup()
584 struct ethtool_rx_flow_spec *cur; in bcmasp_netfilt_check_dup()
H A Dbcmasp_ethtool.c260 memcpy(&nfilter->fs, &cmd->fs, sizeof(struct ethtool_rx_flow_spec)); in bcmasp_flow_insert()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c244 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c522 static int dpaa2_eth_prep_cls_rule(struct ethtool_rx_flow_spec *fs, void *key, in dpaa2_eth_prep_cls_rule()
573 struct ethtool_rx_flow_spec *fs, in dpaa2_eth_do_cls_rule()
677 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c414 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule()
415 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c964 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule()
1218 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule()
1327 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule()
1328 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule()
1404 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule()
1405 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1320 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()
1974 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule()
2019 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
/openbmc/linux/include/uapi/linux/
H A Dethtool.h1124 struct ethtool_rx_flow_spec { struct
1224 struct ethtool_rx_flow_spec fs;
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h1179 struct ethtool_rx_flow_spec { struct
1279 struct ethtool_rx_flow_spec fs;
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3253 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data()
3293 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data()
3360 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry()
3361 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry()
3869 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry()
3870 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry()
4136 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str()
4287 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set()
4793 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool()
4817 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2537 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry()
2538 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry()
2765 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type()
2809 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry()
2810 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry()
2939 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry()
2940 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h569 struct ethtool_rx_flow_spec fs;
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1665 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1676 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1710 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach()
1730 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_get_flow()
/openbmc/linux/include/linux/
H A Dethtool.h925 const struct ethtool_rx_flow_spec *fs;
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h304 struct ethtool_rx_flow_spec fs;

12