Home
last modified time | relevance | path

Searched refs:ethtool_rxnfc (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.h25 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,
Daq_filters.c436 struct ethtool_rxnfc cmd; in aq_del_fvlan_by_vlan()
623 struct ethtool_rxnfc *cmd) in aq_update_table_filters()
671 int aq_add_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd) in aq_add_rxnfc_rule()
710 int aq_del_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd) in aq_del_rxnfc_rule()
732 int aq_get_rxnfc_rule(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd) in aq_get_rxnfc_rule()
753 int aq_get_rxnfc_all_rules(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd, in aq_get_rxnfc_all_rules()
Daq_ethtool.c238 struct ethtool_rxnfc *cmd, in aq_ethtool_get_rxnfc()
267 struct ethtool_rxnfc *cmd) in aq_ethtool_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.h275 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);
Dmvpp2_cls.c1331 struct ethtool_rxnfc *rxnfc) in mvpp2_ethtool_cls_rule_get()
1348 struct ethtool_rxnfc *info) in mvpp2_ethtool_cls_rule_ins()
1420 struct ethtool_rxnfc *info) in mvpp2_ethtool_cls_rule_del()
1548 struct ethtool_rxnfc *rxnfc; in mvpp22_port_rss_ctx_delete()
1616 int mvpp2_ethtool_rxfh_set(struct mvpp2_port *port, struct ethtool_rxnfc *info) in mvpp2_ethtool_rxfh_set()
1654 int mvpp2_ethtool_rxfh_get(struct mvpp2_port *port, struct ethtool_rxnfc *info) in mvpp2_ethtool_rxfh_get()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h144 int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd);
146 struct ethtool_rxnfc *info, u32 *rule_locs);
150 static inline int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
153 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h462 struct ethtool_rxnfc *cmd);
464 struct ethtool_rxnfc *cmd);
508 struct ethtool_rxnfc *cmd);
510 struct ethtool_rxnfc *cmd);
514 struct ethtool_rxnfc *cmd);
516 struct ethtool_rxnfc *cmd);
518 struct ethtool_rxnfc *cmd, u32 *rule_locs);
/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c310 struct ethtool_rxnfc *cmd) in sxgbe_get_rss_hash_opts()
345 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in sxgbe_get_rxnfc()
363 struct ethtool_rxnfc *cmd) in sxgbe_set_rss_hash_opt()
422 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in sxgbe_set_rxnfc()
/Linux-v5.4/drivers/net/dsa/
Dbcm_sf2.h206 struct ethtool_rxnfc *nfc, u32 *rule_locs);
208 struct ethtool_rxnfc *nfc);
Dbcm_sf2_cfp.c1012 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get()
1032 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all()
1050 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc()
1093 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c161 struct ethtool_rxnfc *cmd) in hinic_get_rss_hash_opts()
205 static int set_l4_rss_hash_ops(struct ethtool_rxnfc *cmd, in set_l4_rss_hash_ops()
242 struct ethtool_rxnfc *cmd) in hinic_set_rss_hash_opts()
340 struct ethtool_rxnfc *cmd, u32 *rule_locs) in hinic_get_rxnfc()
360 static int hinic_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in hinic_set_rxnfc()
/Linux-v5.4/include/linux/
Dethtool.h361 struct ethtool_rxnfc *, u32 *rule_locs);
362 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c382 struct ethtool_rxnfc *cmd) in dpaa_get_hash_opts()
417 static int dpaa_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in dpaa_get_rxnfc()
448 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts()
482 static int dpaa_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in dpaa_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c736 struct ethtool_rxnfc *info, int location) in mlx5e_ethtool_get_flow()
755 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
814 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt()
867 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt()
891 int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
915 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c415 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
439 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule()
477 static int enic_get_rx_flow_hash(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_get_rx_flow_hash()
520 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede.h499 int qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info);
501 int qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd);
502 int qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info,
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1319 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow()
1391 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule()
1415 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1439 struct ethtool_rxnfc *cmd, in add_ip_rule()
1477 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule()
1545 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule()
1585 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace()
1661 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach()
1690 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow()
1722 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc()
[all …]
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c493 struct ethtool_rxnfc *cmd) in ena_get_rss_hash()
544 struct ethtool_rxnfc *cmd) in ena_set_rss_hash()
587 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc()
607 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c276 static int enetc_get_rsshash(struct ethtool_rxnfc *rxnfc) in enetc_get_rsshash()
383 static int enetc_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *rxnfc, in enetc_get_rxnfc()
434 static int enetc_set_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *rxnfc) in enetc_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c515 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts()
540 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc()
559 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts()
626 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_ethtool.c879 struct ethtool_rxnfc *cmd) in igc_get_ethtool_nfc_entry()
930 struct ethtool_rxnfc *cmd, in igc_get_ethtool_nfc_all()
952 struct ethtool_rxnfc *cmd) in igc_get_rss_hash_opts()
1001 static int igc_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in igc_get_rxnfc()
1035 struct ethtool_rxnfc *nfc) in igc_set_rss_hash_opt()
1349 struct ethtool_rxnfc *cmd) in igc_add_ethtool_nfc_entry()
1442 struct ethtool_rxnfc *cmd) in igc_del_ethtool_nfc_entry()
1455 static int igc_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in igc_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c806 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts()
1375 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls()
1393 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all()
1411 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc()
1446 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
/Linux-v5.4/include/net/
Ddsa.h506 struct ethtool_rxnfc *nfc, u32 *rule_locs);
508 struct ethtool_rxnfc *nfc);
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c688 struct ethtool_rxnfc *cmd) in fm10k_get_rss_hash_opts()
728 static int fm10k_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in fm10k_get_rxnfc()
750 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
867 static int fm10k_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in fm10k_set_rxnfc()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c799 struct ethtool_rxnfc *cmd) in nfp_net_get_rss_hash_opts()
820 struct ethtool_rxnfc *cmd, u32 *rule_locs) in nfp_net_get_rxnfc()
836 struct ethtool_rxnfc *nfc) in nfp_net_set_rss_hash_opt()
888 struct ethtool_rxnfc *cmd) in nfp_net_set_rxnfc()

123