/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/ |
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,
|
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-5.19.10/drivers/net/ethernet/marvell/mvpp2/ |
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);
|
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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | fs.h | 130 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd); 132 struct ethtool_rxnfc *info, u32 *rule_locs); 136 static inline int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc() 139 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
|
/linux-5.19.10/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.h | 39 struct ethtool_rxnfc *info, u32 *rule_locs); 41 struct ethtool_rxnfc *info);
|
/linux-5.19.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.h | 42 struct ethtool_rxnfc *info, u32 *rule_locs); 44 struct ethtool_rxnfc *info);
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 640 struct ethtool_rxnfc *cmd); 642 struct ethtool_rxnfc *cmd); 686 struct ethtool_rxnfc *cmd); 688 struct ethtool_rxnfc *cmd); 690 struct ethtool_rxnfc *cmd); 692 struct ethtool_rxnfc *cmd); 694 struct ethtool_rxnfc *cmd, u32 *rule_locs);
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_rss.h | 113 struct ethtool_rxnfc *nfc, 135 struct ethtool_rxnfc *nfc);
|
D | hclge_comm_rss.c | 150 struct ethtool_rxnfc *nfc) in hclge_comm_set_rss_tuple() 433 static u8 hclge_comm_get_rss_hash_bits(struct ethtool_rxnfc *nfc) in hclge_comm_get_rss_hash_bits() 459 struct ethtool_rxnfc *nfc, in hclge_comm_init_rss_tuple_cmd()
|
/linux-5.19.10/drivers/net/ethernet/samsung/sxgbe/ |
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-5.19.10/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 339 struct ethtool_rxnfc *cmd) in dpaa_get_hash_opts() 374 static int dpaa_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in dpaa_get_rxnfc() 405 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts() 439 static int dpaa_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in dpaa_set_rxnfc()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ethtool.c | 229 static int mlx5i_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5i_set_rxnfc() 240 static int mlx5i_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in mlx5i_get_rxnfc()
|
/linux-5.19.10/drivers/net/dsa/ |
D | bcm_sf2.h | 225 struct ethtool_rxnfc *nfc, u32 *rule_locs); 227 struct ethtool_rxnfc *nfc);
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 1062 struct ethtool_rxnfc *cmd) in iavf_get_ethtool_fdir_entry() 1203 iavf_get_fdir_fltr_ids(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd, in iavf_get_fdir_fltr_ids() 1385 static int iavf_add_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_add_fdir_ethtool() 1453 static int iavf_del_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_del_fdir_ethtool() 1489 static u32 iavf_adv_rss_parse_hdrs(struct ethtool_rxnfc *cmd) in iavf_adv_rss_parse_hdrs() 1532 static u64 iavf_adv_rss_parse_hash_flds(struct ethtool_rxnfc *cmd) in iavf_adv_rss_parse_hash_flds() 1599 struct ethtool_rxnfc *cmd) in iavf_set_adv_rss_hash_opt() 1680 struct ethtool_rxnfc *cmd) in iavf_get_adv_rss_hash_opt() 1734 static int iavf_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in iavf_set_rxnfc() 1764 static int iavf_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in iavf_get_rxnfc()
|
/linux-5.19.10/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 403 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall() 427 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule() 464 static int enic_get_rx_flow_hash(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_get_rx_flow_hash() 507 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
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-5.19.10/net/ethtool/ |
D | ioctl.c | 835 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_from_compat() 847 sizeof(struct ethtool_rxnfc)); in ethtool_rxnfc_copy_from_compat() 850 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_rxnfc_copy_from_compat() 854 offsetof(struct ethtool_rxnfc, fs.location) - in ethtool_rxnfc_copy_from_compat() 855 offsetof(struct ethtool_rxnfc, fs.ring_cookie)); in ethtool_rxnfc_copy_from_compat() 860 *rxnfc = (struct ethtool_rxnfc) { in ethtool_rxnfc_copy_from_compat() 879 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_from_user() 893 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_compat() 922 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_user() 933 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_rxnfc_copy_to_user() [all …]
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice.h | 892 int ice_add_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd); 893 int ice_del_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd); 894 int ice_get_ethtool_fdir_entry(struct ice_hw *hw, struct ethtool_rxnfc *cmd); 896 ice_get_fdir_fltr_ids(struct ice_hw *hw, struct ethtool_rxnfc *cmd,
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1347 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow() 1419 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule() 1442 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4() 1466 struct ethtool_rxnfc *cmd, in add_ip_rule() 1504 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule() 1572 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule() 1612 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace() 1688 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach() 1717 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow() 1749 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc() [all …]
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/ |
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-5.19.10/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 551 struct ethtool_rxnfc *cmd) in ena_get_rss_hash() 602 struct ethtool_rxnfc *cmd) in ena_set_rss_hash() 645 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc() 665 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
|
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 520 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts() 545 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc() 564 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts() 631 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
|
/linux-5.19.10/include/linux/ |
D | ethtool.h | 693 struct ethtool_rxnfc *, u32 *rule_locs); 694 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
|
/linux-5.19.10/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 953 struct ethtool_rxnfc *cmd) in igc_ethtool_get_nfc_rule() 1007 struct ethtool_rxnfc *cmd, in igc_ethtool_get_nfc_rules() 1034 struct ethtool_rxnfc *cmd) in igc_ethtool_get_rss_hash_opts() 1076 struct ethtool_rxnfc *cmd, u32 *rule_locs) in igc_ethtool_get_rxnfc() 1101 struct ethtool_rxnfc *nfc) in igc_ethtool_set_rss_hash_opt() 1300 struct ethtool_rxnfc *cmd) in igc_ethtool_add_nfc_rule() 1358 struct ethtool_rxnfc *cmd) in igc_ethtool_del_nfc_rule() 1379 struct ethtool_rxnfc *cmd) in igc_ethtool_set_rxnfc()
|