Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c9 aq_rule_is_approve(struct ethtool_rx_flow_spec *fsp) in aq_rule_is_approve()
53 aq_match_filter(struct ethtool_rx_flow_spec *fsp1, in aq_match_filter()
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()
[all …]
Daq_filters.h20 struct ethtool_rx_flow_spec aq_fsp;
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c63 struct ethtool_rx_flow_spec flow_spec;
82 struct ethtool_rx_flow_spec *fs, in get_flow_table()
233 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4()
246 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4()
259 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4()
274 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip6()
289 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp6()
302 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp6()
315 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ether()
347 struct ethtool_rx_flow_spec *fs) in set_flow_attrs()
[all …]
/Linux-v6.6/drivers/net/ethernet/engleder/
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()
/Linux-v6.6/drivers/net/ethernet/freescale/
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()
/Linux-v6.6/drivers/net/dsa/
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()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
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()
1842 struct ethtool_rx_flow_spec *fsp; in ice_add_fdir_ethtool()
1867 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_add_fdir_ethtool()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1001 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data()
1047 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data()
1070 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry()
1247 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info()
1403 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool()
1472 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
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()
/Linux-v6.6/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.h345 struct ethtool_rx_flow_spec fs;
573 struct ethtool_rx_flow_spec *fs);
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()
Dbcmasp_ethtool.c260 memcpy(&nfilter->fs, &cmd->fs, sizeof(struct ethtool_rx_flow_spec)); in bcmasp_flow_insert()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
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()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c244 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
/Linux-v6.6/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c414 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule()
415 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_ethtool.c963 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule()
1211 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule()
1311 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule()
1312 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule()
1368 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule()
1369 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
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()
1971 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule()
2017 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
/Linux-v6.6/include/uapi/linux/
Dethtool.h1124 struct ethtool_rx_flow_spec { struct
1224 struct ethtool_rx_flow_spec fs;
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3252 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data()
3292 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data()
3359 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry()
3360 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry()
3868 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry()
3869 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry()
4135 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str()
4286 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set()
4792 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool()
4816 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
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()
/Linux-v6.6/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h569 struct ethtool_rx_flow_spec fs;
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
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()
/Linux-v6.6/include/linux/
Dethtool.h925 const struct ethtool_rx_flow_spec *fs;
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc.h304 struct ethtool_rx_flow_spec fs;
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5955 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_ext_tuple()
6022 static bool hclge_fd_is_user_def_all_masked(struct ethtool_rx_flow_spec *fs) in hclge_fd_is_user_def_all_masked()
6028 struct ethtool_rx_flow_spec *fs, in hclge_fd_parse_user_def_field()
6084 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_spec()
6153 static void hclge_fd_get_tcpip4_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip4_tuple()
6182 static void hclge_fd_get_ip4_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip4_tuple()
6205 static void hclge_fd_get_tcpip6_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip6_tuple()
6234 static void hclge_fd_get_ip6_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip6_tuple()
6257 static void hclge_fd_get_ether_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ether_tuple()
6293 static int hclge_fd_get_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tuple()
[all …]

12