/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 9 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 …]
|
H A D | aq_filters.h | 20 struct ethtool_rx_flow_spec aq_fsp;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 63 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 D | tsnep_rxnfc.c | 97 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 D | gve_flow_rule.c | 11 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/wangxun/txgbe/ |
H A D | txgbe_ethtool.c | 86 struct ethtool_rx_flow_spec *fsp = in txgbe_get_ethtool_fdir_entry() 87 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_get_ethtool_fdir_entry() 201 static int txgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in txgbe_flowspec_to_flow_type() 326 struct ethtool_rx_flow_spec *fsp = in txgbe_add_ethtool_fdir_entry() 327 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_add_ethtool_fdir_entry() 476 struct ethtool_rx_flow_spec *fsp = in txgbe_del_ethtool_fdir_entry() 477 (struct ethtool_rx_flow_spec *)&cmd->fs; in txgbe_del_ethtool_fdir_entry()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1041 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid() 1046 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm() 1051 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi() 1056 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim() 1061 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio() 1067 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom() 1074 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer() 1205 static int gfar_check_capability(struct ethtool_rx_flow_spec *flow, in gfar_check_capability() 1265 static void gfar_invert_masks(struct ethtool_rx_flow_spec *flow) in gfar_invert_masks() 1279 struct ethtool_rx_flow_spec *flow) in gfar_add_cls()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 122 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() 127 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry() 485 ice_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in ice_parse_rx_flow_user_data() 1212 struct ethtool_rx_flow_spec *fsp) in ice_fdir_vlan_valid() 1329 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq() 1765 struct ethtool_rx_flow_spec *fsp = in ice_del_fdir_ethtool() 1766 (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_del_fdir_ethtool() 1830 ice_set_fdir_input_set(struct ice_vsi *vsi, struct ethtool_rx_flow_spec *fsp, in ice_set_fdir_input_set() 1983 struct ethtool_rx_flow_spec *fsp; in ice_add_fdir_ethtool() 2009 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_add_fdir_ethtool()
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 853 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data() 898 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data() 921 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry() 1101 iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spec *fsp, in iavf_add_fdir_fltr_info() 1257 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in iavf_add_fdir_ethtool() 1308 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_del_fdir_ethtool()
|
/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 357 struct ethtool_rx_flow_spec fs; 592 struct ethtool_rx_flow_spec *fs);
|
H A D | bcmasp.c | 392 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/mlx5/core/ipoib/ |
H A D | ethtool.c | 244 struct ethtool_rx_flow_spec *fs = &cmd->fs; in mlx5i_set_rxnfc()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 963 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() 1217 const struct ethtool_rx_flow_spec *fsp) in igc_ethtool_init_nfc_rule() 1326 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_add_nfc_rule() 1327 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_add_nfc_rule() 1403 struct ethtool_rx_flow_spec *fsp = in igc_ethtool_del_nfc_rule() 1404 (struct ethtool_rx_flow_spec *)&cmd->fs; in igc_ethtool_del_nfc_rule()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 1320 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() 1994 struct ethtool_rx_flow_spec *fs) in qede_flow_spec_to_rule() 2043 struct ethtool_rx_flow_spec *fsp = &info->fs; in qede_add_cls_rule()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 496 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() 497 (struct ethtool_rx_flow_spec *)&cmd->fs; in enic_grxclsrule()
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 1388 struct ethtool_rx_flow_spec { struct 1488 struct ethtool_rx_flow_spec fs;
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 3254 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() 3294 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() 3361 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() 3362 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_get_ethtool_fdir_entry() 3874 struct ethtool_rx_flow_spec *fsp = in i40e_del_fdir_entry() 3875 (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_del_fdir_entry() 4141 static const char *i40e_flow_str(struct ethtool_rx_flow_spec *fsp) in i40e_flow_str() 4292 struct ethtool_rx_flow_spec *fsp, in i40e_check_fdir_input_set() 4798 struct ethtool_rx_flow_spec *fsp; in i40e_add_fdir_ethtool() 4822 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in i40e_add_fdir_ethtool()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2538 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() 2539 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_get_ethtool_fdir_entry() 2766 static int ixgbe_flowspec_to_flow_type(struct ethtool_rx_flow_spec *fsp, in ixgbe_flowspec_to_flow_type() 2810 struct ethtool_rx_flow_spec *fsp = in ixgbe_add_ethtool_fdir_entry() 2811 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_add_ethtool_fdir_entry() 2940 struct ethtool_rx_flow_spec *fsp = in ixgbe_del_ethtool_fdir_entry() 2941 (struct ethtool_rx_flow_spec *)&cmd->fs; in ixgbe_del_ethtool_fdir_entry()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1646 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/broadcom/genet/ |
H A D | bcmgenet.h | 569 struct ethtool_rx_flow_spec fs;
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 639 struct ethtool_rx_flow_spec *rule, in efx_ethtool_get_class_rule() 899 struct ethtool_rx_flow_spec *rule, in efx_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2433 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() 2895 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry() 2896 (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/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 520 struct ethtool_rx_flow_spec fs;
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 321 struct ethtool_rx_flow_spec fs;
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 6057 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_ext_tuple() 6124 static bool hclge_fd_is_user_def_all_masked(struct ethtool_rx_flow_spec *fs) in hclge_fd_is_user_def_all_masked() 6130 struct ethtool_rx_flow_spec *fs, in hclge_fd_parse_user_def_field() 6186 struct ethtool_rx_flow_spec *fs, in hclge_fd_check_spec() 6255 static void hclge_fd_get_tcpip4_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip4_tuple() 6284 static void hclge_fd_get_ip4_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip4_tuple() 6307 static void hclge_fd_get_tcpip6_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tcpip6_tuple() 6336 static void hclge_fd_get_ip6_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ip6_tuple() 6359 static void hclge_fd_get_ether_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_ether_tuple() 6395 static int hclge_fd_get_tuple(struct ethtool_rx_flow_spec *fs, in hclge_fd_get_tuple() [all …]
|