Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c38 struct ethtool_rx_flow_spec flow_spec;
56 struct ethtool_rx_flow_spec *fs, in get_flow_table()
207 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4()
220 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4()
233 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4()
248 parse_ip6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip6()
263 parse_tcp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp6()
276 parse_udp6(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp6()
289 parse_ether(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ether()
321 struct ethtool_rx_flow_spec *fs) in set_flow_attrs()
[all …]
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1099 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1104 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1109 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1114 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1119 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1125 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1132 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
1265 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability()
1325 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks()
1339 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
Dgianfar.h50 struct ethtool_rx_flow_spec fs;
/Linux-v4.19/drivers/net/dsa/
Dbcm_sf2_cfp.c327 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set()
521 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv6_rule_set()
732 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_rule_set()
857 static void bcm_sf2_invert_masks(struct ethtool_rx_flow_spec *flow) in bcm_sf2_invert_masks()
939 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_get()
1054 struct ethtool_rx_flow_spec *fs, in bcm_sf2_cfp_ipv6_rule_get()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1402 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry()
1583 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_validate_unused()
1670 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_ipv4_common()
1712 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_tcpv4()
1724 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_udpv4()
1736 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_ipv6_common()
1772 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_tcpv6()
1784 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple_udpv6()
1796 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_tuple()
1822 struct ethtool_rx_flow_spec *fs, in qede_flow_spec_validate()
[all …]
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c441 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule()
442 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
/Linux-v4.19/include/uapi/linux/
Dethtool.h879 struct ethtool_rx_flow_spec { struct
979 struct ethtool_rx_flow_spec fs;
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2748 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data()
2788 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data()
2855 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry()
2856 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry()
3300 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry()
3301 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry()
3567 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str()
3710 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set()
4101 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool()
4125 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
/Linux-v4.19/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1512 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_add_ipaddr()
1513 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_add_ipaddr()
1536 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_del_ipaddr()
1537 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_del_ipaddr()
1575 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_get_fdir_entry()
1576 (struct ethtool_rx_flow_spec *)&cmd->fs; in mtk_hwlro_get_fdir_entry()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2411 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry()
2412 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry()
2630 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type()
2674 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry()
2675 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry()
2804 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry()
2805 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1638 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1649 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1683 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach()
1703 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_get_flow()
Dmlx4_en.h505 struct ethtool_rx_flow_spec flow_spec;
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2451 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry()
2914 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry()
2915 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_add_ethtool_nfc_entry()
3006 struct ethtool_rx_flow_spec *fsp = in igb_del_ethtool_nfc_entry()
3007 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_del_ethtool_nfc_entry()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dethtool.c789 struct ethtool_rx_flow_spec *rule) in ef4_ethtool_get_class_rule()
1025 struct ethtool_rx_flow_spec *rule) in ef4_ethtool_set_class_rule()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dethtool.c811 struct ethtool_rx_flow_spec *rule, in efx_ethtool_get_class_rule()
1080 struct ethtool_rx_flow_spec *rule, in efx_ethtool_set_class_rule()
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb.h1133 struct ethtool_rx_flow_spec fs;
Dmacb_main.c2808 struct ethtool_rx_flow_spec *fs = &item->fs; in gem_enable_flow_filters()
2841 static void gem_prog_cmp_regs(struct macb *bp, struct ethtool_rx_flow_spec *fs) in gem_prog_cmp_regs()
2925 struct ethtool_rx_flow_spec *fs = &cmd->fs; in gem_add_flow_filter()
2981 struct ethtool_rx_flow_spec *fs; in gem_del_flow_filter()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c630 struct ethtool_rx_flow_spec *fs = in bnxt_grxclsrule()
631 (struct ethtool_rx_flow_spec *)&cmd->fs; in bnxt_grxclsrule()
/Linux-v4.19/drivers/net/ethernet/sun/
Dniu.c7079 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key()
7159 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in niu_get_ethtool_tcam_entry()
7345 static void niu_get_tcamkey_from_ip4fs(struct ethtool_rx_flow_spec *fsp, in niu_get_tcamkey_from_ip4fs()
7418 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in niu_add_ethtool_tcam_entry()