/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.h | 25 int aq_add_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd); 26 int aq_del_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd); 27 int aq_get_rxnfc_rule(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd); 28 int aq_get_rxnfc_all_rules(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd,
|
A D | aq_filters.c | 444 struct ethtool_rxnfc cmd; in aq_del_fvlan_by_vlan() 631 struct ethtool_rxnfc *cmd) in aq_update_table_filters() 679 int aq_add_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd) in aq_add_rxnfc_rule() 718 int aq_del_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd) in aq_del_rxnfc_rule() 740 int aq_get_rxnfc_rule(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd) in aq_get_rxnfc_rule() 761 int aq_get_rxnfc_all_rules(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd, in aq_get_rxnfc_all_rules()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_cls.h | 275 int mvpp2_ethtool_rxfh_get(struct mvpp2_port *port, struct ethtool_rxnfc *info); 276 int mvpp2_ethtool_rxfh_set(struct mvpp2_port *port, struct ethtool_rxnfc *info); 306 struct ethtool_rxnfc *rxnfc); 309 struct ethtool_rxnfc *info); 312 struct ethtool_rxnfc *info);
|
A D | mvpp2_cls.c | 1337 struct ethtool_rxnfc *rxnfc) in mvpp2_ethtool_cls_rule_get() 1354 struct ethtool_rxnfc *info) in mvpp2_ethtool_cls_rule_ins() 1426 struct ethtool_rxnfc *info) in mvpp2_ethtool_cls_rule_del() 1557 struct ethtool_rxnfc *rxnfc; in mvpp22_port_rss_ctx_delete() 1625 int mvpp2_ethtool_rxfh_set(struct mvpp2_port *port, struct ethtool_rxnfc *info) in mvpp2_ethtool_rxfh_set() 1663 int mvpp2_ethtool_rxfh_get(struct mvpp2_port *port, struct ethtool_rxnfc *info) in mvpp2_ethtool_rxfh_get()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | fs.h | 128 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd); 130 struct ethtool_rxnfc *info, u32 *rule_locs); 134 static inline int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc() 137 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hnae3.h | 633 struct ethtool_rxnfc *cmd); 635 struct ethtool_rxnfc *cmd); 679 struct ethtool_rxnfc *cmd); 681 struct ethtool_rxnfc *cmd); 683 struct ethtool_rxnfc *cmd); 685 struct ethtool_rxnfc *cmd); 687 struct ethtool_rxnfc *cmd, u32 *rule_locs);
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.h | 42 struct ethtool_rxnfc *info, u32 *rule_locs); 44 struct ethtool_rxnfc *info);
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_ethtool.c | 314 struct ethtool_rxnfc *cmd) in sxgbe_get_rss_hash_opts() 349 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in sxgbe_get_rxnfc() 367 struct ethtool_rxnfc *cmd) in sxgbe_set_rss_hash_opt() 426 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in sxgbe_set_rxnfc()
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_ethtool.c | 365 struct ethtool_rxnfc *cmd) in dpaa_get_hash_opts() 400 static int dpaa_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in dpaa_get_rxnfc() 431 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts() 465 static int dpaa_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in dpaa_set_rxnfc()
|
/linux/drivers/net/dsa/ |
A D | bcm_sf2.h | 215 struct ethtool_rxnfc *nfc, u32 *rule_locs); 217 struct ethtool_rxnfc *nfc);
|
A D | bcm_sf2_cfp.c | 1065 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get() 1085 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all() 1103 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc() 1146 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
A D | ethtool.c | 226 static int mlx5i_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5i_set_rxnfc() 237 static int mlx5i_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in mlx5i_get_rxnfc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 787 struct ethtool_rxnfc *info, int location) in mlx5e_ethtool_get_flow() 816 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows() 875 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt() 916 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt() 940 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc() 963 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 399 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall() 423 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule() 460 static int enic_get_rx_flow_hash(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_get_rx_flow_hash() 503 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice.h | 857 int ice_add_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd); 858 int ice_del_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd); 859 int ice_get_ethtool_fdir_entry(struct ice_hw *hw, struct ethtool_rxnfc *cmd); 861 ice_get_fdir_fltr_ids(struct ice_hw *hw, struct ethtool_rxnfc *cmd,
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1054 struct ethtool_rxnfc *cmd) in iavf_get_ethtool_fdir_entry() 1195 iavf_get_fdir_fltr_ids(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd, in iavf_get_fdir_fltr_ids() 1377 static int iavf_add_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_add_fdir_ethtool() 1445 static int iavf_del_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_del_fdir_ethtool() 1481 static u32 iavf_adv_rss_parse_hdrs(struct ethtool_rxnfc *cmd) in iavf_adv_rss_parse_hdrs() 1524 static u64 iavf_adv_rss_parse_hash_flds(struct ethtool_rxnfc *cmd) in iavf_adv_rss_parse_hash_flds() 1591 struct ethtool_rxnfc *cmd) in iavf_set_adv_rss_hash_opt() 1672 struct ethtool_rxnfc *cmd) in iavf_get_adv_rss_hash_opt() 1726 static int iavf_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in iavf_set_rxnfc() 1756 static int iavf_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in iavf_get_rxnfc()
|
/linux/net/ethtool/ |
A D | ioctl.c | 843 sizeof(struct ethtool_rxnfc)); in ethtool_rxnfc_copy_from_compat() 846 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_rxnfc_copy_from_compat() 850 offsetof(struct ethtool_rxnfc, fs.location) - in ethtool_rxnfc_copy_from_compat() 856 *rxnfc = (struct ethtool_rxnfc) { in ethtool_rxnfc_copy_from_compat() 889 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_compat() 918 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_user() 947 struct ethtool_rxnfc info; in ethtool_set_rxnfc() 979 struct ethtool_rxnfc info; in ethtool_get_rxnfc() 1038 struct ethtool_rxnfc *rx_rings, in ethtool_copy_validate_indir() 1115 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh_indir() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 1343 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow() 1415 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule() 1438 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4() 1462 struct ethtool_rxnfc *cmd, in add_ip_rule() 1500 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule() 1568 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule() 1608 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace() 1684 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach() 1713 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow() 1745 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc() [all …]
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede.h | 508 int qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info); 510 int qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd); 511 int qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info,
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_ethtool.c | 544 struct ethtool_rxnfc *cmd) in ena_get_rss_hash() 595 struct ethtool_rxnfc *cmd) in ena_set_rss_hash() 638 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc() 658 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_ethtool.c | 516 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts() 541 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc() 560 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts() 627 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 947 struct ethtool_rxnfc *cmd) in igc_ethtool_get_nfc_rule() 1001 struct ethtool_rxnfc *cmd, in igc_ethtool_get_nfc_rules() 1028 struct ethtool_rxnfc *cmd) in igc_ethtool_get_rss_hash_opts() 1070 struct ethtool_rxnfc *cmd, u32 *rule_locs) in igc_ethtool_get_rxnfc() 1095 struct ethtool_rxnfc *nfc) in igc_ethtool_set_rss_hash_opt() 1294 struct ethtool_rxnfc *cmd) in igc_ethtool_add_nfc_rule() 1352 struct ethtool_rxnfc *cmd) in igc_ethtool_del_nfc_rule() 1373 struct ethtool_rxnfc *cmd) in igc_ethtool_set_rxnfc()
|
/linux/include/linux/ |
A D | ethtool.h | 661 struct ethtool_rxnfc *, u32 *rule_locs); 662 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 777 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts() 1346 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls() 1364 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all() 1382 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc() 1417 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_common.h | 851 struct ethtool_rxnfc *nfc, u32 location); 853 struct ethtool_rxnfc *nfc, u32 *rule_locs); 855 struct ethtool_rxnfc *nfc);
|