Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c47 struct ethtool_rx_flow_spec flow_spec;
66 struct ethtool_rx_flow_spec *fs, in get_flow_table()
220 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4()
233 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4()
246 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4()
261 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip6()
276 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp6()
289 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp6()
302 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ether()
334 struct ethtool_rx_flow_spec *fs) in set_flow_attrs()
[all …]
/Linux-v5.15/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1033 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1038 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1043 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1048 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1053 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1059 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1066 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
1197 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability()
1257 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks()
1271 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
/Linux-v5.15/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-v5.15/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c117 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry()
122 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry()
406 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in ice_parse_rx_flow_user_data()
1057 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq()
1440 struct ethtool_rx_flow_spec *fsp = in ice_del_fdir_ethtool()
1441 (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_del_fdir_ethtool()
1472 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, in ice_set_fdir_input_set()
1612 struct ethtool_rx_flow_spec *fsp; in ice_add_fdir_ethtool()
1637 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_add_fdir_ethtool()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c941 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data()
987 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data()
1010 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry()
1187 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info()
1333 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool()
1401 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c18 struct ethtool_rx_flow_spec flow_spec;
486 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow()
645 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow()
766 static int otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_flow_request()
874 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter()
972 sizeof(struct ethtool_rx_flow_spec)); in otx2_add_flow_with_pfmac()
992 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in otx2_add_flow()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c490 static int dpaa2_eth_prep_cls_rule(struct ethtool_rx_flow_spec *fs, void *key, in dpaa2_eth_prep_cls_rule()
541 struct ethtool_rx_flow_spec *fs, in dpaa2_eth_do_cls_rule()
645 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
Ddpaa2-eth.h473 struct ethtool_rx_flow_spec fs;
/Linux-v5.15/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c425 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule()
426 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_ethtool.c949 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule()
1197 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule()
1297 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule()
1298 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule()
1354 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule()
1355 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
/Linux-v5.15/include/uapi/linux/
Dethtool.h1008 struct ethtool_rx_flow_spec { struct
1108 struct ethtool_rx_flow_spec fs;
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1329 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry()
1510 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_validate_unused()
1618 struct ethtool_rx_flow_spec *fs) in qede_flow_set_destination()
1980 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule()
2026 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3137 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data()
3177 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data()
3244 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry()
3245 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry()
3740 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry()
3741 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry()
4007 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str()
4158 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set()
4672 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool()
4696 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
/Linux-v5.15/include/linux/
Dethtool.h718 const struct ethtool_rx_flow_spec *fs;
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2505 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry()
2506 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry()
2724 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type()
2768 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry()
2769 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry()
2898 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry()
2899 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h568 struct ethtool_rx_flow_spec fs;
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc.h277 struct ethtool_rx_flow_spec fs;
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1921 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_add_ipaddr()
1922 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_add_ipaddr()
1945 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_del_ipaddr()
1946 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_del_ipaddr()
1984 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_get_fdir_entry()
1985 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_get_fdir_entry()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1658 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1669 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1703 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach()
1723 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_get_flow()
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/
Dchip.h246 struct ethtool_rx_flow_spec fs;
/Linux-v5.15/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2436 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry()
2899 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry()
2900 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_add_ethtool_nfc_entry()
2991 struct ethtool_rx_flow_spec *fsp = in igb_del_ethtool_nfc_entry()
2992 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_del_ethtool_nfc_entry()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6158 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_ext_tuple()
6225 static bool hclge_fd_is_user_def_all_masked(struct ethtool_rx_flow_spec *fs) in hclge_fd_is_user_def_all_masked()
6231 struct ethtool_rx_flow_spec *fs, in hclge_fd_parse_user_def_field()
6287 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_spec()
6357 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip4_tuple()
6387 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip4_tuple()
6411 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip6_tuple()
6441 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip6_tuple()
6465 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ether_tuple()
6502 struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tuple()
[all …]
/Linux-v5.15/drivers/net/ethernet/sfc/
Dethtool_common.c650 struct ethtool_rx_flow_spec *rule, in efx_ethtool_get_class_rule()
922 struct ethtool_rx_flow_spec *rule, in efx_ethtool_set_class_rule()

12