Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.1/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()
237 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4()
250 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4()
263 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4()
278 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip6()
293 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp6()
306 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp6()
319 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ether()
351 struct ethtool_rx_flow_spec *fs) in set_flow_attrs()
[all …]
/Linux-v6.1/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.1/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1037 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1042 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1047 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1052 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1057 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1063 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1070 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
1201 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability()
1261 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks()
1275 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
/Linux-v6.1/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.1/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.1/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c995 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data()
1041 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data()
1064 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry()
1241 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info()
1387 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool()
1455 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c18 struct ethtool_rx_flow_spec flow_spec;
503 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow()
662 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow()
783 static int otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_flow_request()
891 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter()
1016 sizeof(struct ethtool_rx_flow_spec)); in otx2_add_flow_with_pfmac()
1036 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in otx2_add_flow()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c492 static int dpaa2_eth_prep_cls_rule(struct ethtool_rx_flow_spec *fs, void *key, in dpaa2_eth_prep_cls_rule()
543 struct ethtool_rx_flow_spec *fs, in dpaa2_eth_do_cls_rule()
647 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
Ddpaa2-eth.h486 struct ethtool_rx_flow_spec fs;
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c233 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
/Linux-v6.1/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.1/drivers/net/ethernet/intel/igc/
Digc_ethtool.c955 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule()
1203 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule()
1303 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule()
1304 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule()
1360 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule()
1361 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
/Linux-v6.1/include/uapi/linux/
Dethtool.h1083 struct ethtool_rx_flow_spec { struct
1183 struct ethtool_rx_flow_spec fs;
/Linux-v6.1/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.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3250 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data()
3290 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data()
3357 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry()
3358 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry()
3866 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry()
3867 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry()
4133 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str()
4284 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set()
4790 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool()
4814 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2506 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry()
2507 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry()
2725 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type()
2769 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry()
2770 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry()
2899 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry()
2900 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
/Linux-v6.1/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h569 struct ethtool_rx_flow_spec fs;
/Linux-v6.1/include/linux/
Dethtool.h773 const struct ethtool_rx_flow_spec *fs;
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc.h286 struct ethtool_rx_flow_spec fs;
/Linux-v6.1/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.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2438 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry()
2901 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry()
2902 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_add_ethtool_nfc_entry()
2993 struct ethtool_rx_flow_spec *fsp = in igb_del_ethtool_nfc_entry()
2994 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_del_ethtool_nfc_entry()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6033 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_ext_tuple()
6100 static bool hclge_fd_is_user_def_all_masked(struct ethtool_rx_flow_spec *fs) in hclge_fd_is_user_def_all_masked()
6106 struct ethtool_rx_flow_spec *fs, in hclge_fd_parse_user_def_field()
6162 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_spec()
6232 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip4_tuple()
6262 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip4_tuple()
6286 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip6_tuple()
6316 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip6_tuple()
6340 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ether_tuple()
6377 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tuple()
[all …]
/Linux-v6.1/drivers/net/dsa/mv88e6xxx/
Dchip.h255 struct ethtool_rx_flow_spec fs;

12