Home
last modified time | relevance | path

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

12

/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()
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/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()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c11 int gve_fill_ethtool_flow_spec(struct ethtool_rx_flow_spec *fsp, in gve_fill_ethtool_flow_spec()
106 static int gve_generate_flow_rule(struct gve_priv *priv, struct ethtool_rx_flow_spec *fsp, in gve_generate_flow_rule()
199 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in gve_get_flow_rule_entry()
265 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in gve_add_flow_rule()
292 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in gve_del_flow_rule()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1053 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1058 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1063 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1068 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1073 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1079 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1086 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
1217 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability()
1277 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks()
1291 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
/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()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c851 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data()
896 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data()
919 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry()
1099 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info()
1255 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool()
1298 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c16 struct ethtool_rx_flow_spec flow_spec;
698 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow()
857 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow()
983 static int otx2_prepare_flow_request(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_flow_request()
1163 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter()
1332 sizeof(struct ethtool_rx_flow_spec)); in otx2_add_flow_with_pfmac()
1352 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in otx2_add_flow()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.h42 struct ethtool_rx_flow_spec *fsp);
H A Didpf_ethtool.c96 struct ethtool_rx_flow_spec *fsp) in idpf_fsteer_fill_ipv4()
112 struct ethtool_rx_flow_spec *fsp, in idpf_fsteer_fill_udp()
136 struct ethtool_rx_flow_spec *fsp, in idpf_fsteer_fill_tcp()
172 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in idpf_add_flow_steer()
297 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in idpf_del_flow_steer()
H A Didpf.h289 struct ethtool_rx_flow_spec fs;
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c261 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c659 struct ethtool_rx_flow_spec *fsp; in fbnic_get_cls_rule()
664 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_get_cls_rule()
908 struct ethtool_rx_flow_spec *fsp; in fbnic_set_cls_rule_ins()
917 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_set_cls_rule_ins()
1247 struct ethtool_rx_flow_spec *fsp; in fbnic_set_cls_rule_del()
1252 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_set_cls_rule_del()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1317 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry()
1498 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_validate_unused()
1606 struct ethtool_rx_flow_spec *fs) in qede_flow_set_destination()
1991 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule()
2040 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c966 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule()
1226 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule()
1353 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule()
1354 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule()
1430 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule()
1431 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
/linux/include/uapi/linux/
H A Dethtool.h1408 struct ethtool_rx_flow_spec { struct
1508 struct ethtool_rx_flow_spec fs;
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c392 struct ethtool_rx_flow_spec *fs = &nfilt->fs; in bcmasp_netfilt_wr_to_hw()
598 struct ethtool_rx_flow_spec *fs) in bcmasp_netfilt_check_dup()
601 struct ethtool_rx_flow_spec *cur; in bcmasp_netfilt_check_dup()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1646 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1657 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_replace()
1691 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach()
1711 sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_get_flow()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h520 struct ethtool_rx_flow_spec fs;
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c639 struct ethtool_rx_flow_spec *rule, in efx_ethtool_get_class_rule()
905 struct ethtool_rx_flow_spec *rule, in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2430 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry()
2896 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry()
2897 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_add_ethtool_nfc_entry()
2992 struct ethtool_rx_flow_spec *fsp = in igb_del_ethtool_nfc_entry()
2993 (struct ethtool_rx_flow_spec *)&cmd->fs; in igb_del_ethtool_nfc_entry()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c787 struct ethtool_rx_flow_spec *rule) in ef4_ethtool_get_class_rule()
1034 struct ethtool_rx_flow_spec *rule) in ef4_ethtool_set_class_rule()
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c638 struct ethtool_rx_flow_spec *rule, in efx_ethtool_get_class_rule()
914 struct ethtool_rx_flow_spec *rule, in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1332 struct ethtool_rx_flow_spec *fs = &cmd->fs; in nfp_net_fs_to_ethtool()
1518 static int nfp_net_fs_from_ethtool(struct nfp_fs_entry *entry, struct ethtool_rx_flow_spec *fs) in nfp_net_fs_from_ethtool()
1619 struct ethtool_rx_flow_spec *fs = &cmd->fs; in nfp_net_fs_add()
/linux/include/linux/
H A Dethtool.h1367 const struct ethtool_rx_flow_spec *fs;
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1135 struct ethtool_rx_flow_spec *fs = in bnxt_grxclsrule()
1136 (struct ethtool_rx_flow_spec *)&cmd->fs; in bnxt_grxclsrule()
1298 struct ethtool_rx_flow_spec *fs) in bnxt_add_l2_cls_rule()
1377 struct ethtool_rx_flow_spec *fs = &cmd->fs; in bnxt_add_ntuple_cls_rule()
1540 struct ethtool_rx_flow_spec *fs = &cmd->fs; in bnxt_srxclsrlins()
1582 struct ethtool_rx_flow_spec *fs = &cmd->fs; in bnxt_srxclsrldel()

12