Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.h203 int mvpp2_ethtool_rxfh_get(struct mvpp2_port *port, struct ethtool_rxnfc *info);
204 int mvpp2_ethtool_rxfh_set(struct mvpp2_port *port, struct ethtool_rxnfc *info);
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c313 struct ethtool_rxnfc *cmd) in sxgbe_get_rss_hash_opts()
348 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in sxgbe_get_rxnfc()
366 struct ethtool_rxnfc *cmd) in sxgbe_set_rss_hash_opt()
425 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in sxgbe_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h119 int mlx5e_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd);
121 struct ethtool_rxnfc *info, u32 *rule_locs);
/Linux-v4.19/drivers/net/dsa/
Dbcm_sf2.h212 struct ethtool_rxnfc *nfc, u32 *rule_locs);
214 struct ethtool_rxnfc *nfc);
Dbcm_sf2_cfp.c1115 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get()
1179 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all()
1197 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc()
1240 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c406 struct ethtool_rxnfc *cmd) in dpaa_get_hash_opts()
441 static int dpaa_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in dpaa_get_rxnfc()
472 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts()
506 static int dpaa_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in dpaa_set_rxnfc()
/Linux-v4.19/include/linux/
Dethtool.h369 struct ethtool_rxnfc *, u32 *rule_locs);
370 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
/Linux-v4.19/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-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede.h474 int qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info);
476 int qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd);
477 int qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info,
/Linux-v4.19/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-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c502 struct ethtool_rxnfc *cmd) in ena_get_rss_hash()
553 struct ethtool_rxnfc *cmd) in ena_set_rss_hash()
596 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc()
616 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c749 struct ethtool_rxnfc *info, int location) in mlx5e_ethtool_get_flow()
768 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
798 int mlx5e_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5e_set_rxnfc()
819 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_get_rxnfc()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h371 struct ethtool_rxnfc *cmd);
373 struct ethtool_rxnfc *cmd);
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c518 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts()
543 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc()
562 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts()
629 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
/Linux-v4.19/include/net/
Ddsa.h490 struct ethtool_rxnfc *nfc, u32 *rule_locs);
492 struct ethtool_rxnfc *nfc);
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c843 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts()
1414 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls()
1432 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all()
1450 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc()
1485 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c689 struct ethtool_rxnfc *cmd) in fm10k_get_rss_hash_opts()
729 static int fm10k_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in fm10k_get_rxnfc()
751 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
868 static int fm10k_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in fm10k_set_rxnfc()
/Linux-v4.19/net/core/
Dethtool.c952 struct ethtool_rxnfc info; in ethtool_set_rxnfc()
964 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
984 struct ethtool_rxnfc info; in ethtool_get_rxnfc()
998 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
1040 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_get_rxnfc()
1054 struct ethtool_rxnfc *rx_rings, in ethtool_copy_validate_indir()
1162 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh_indir()
1305 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c812 struct ethtool_rxnfc *cmd) in nfp_net_get_rss_hash_opts()
833 struct ethtool_rxnfc *cmd, u32 *rule_locs) in nfp_net_get_rxnfc()
849 struct ethtool_rxnfc *nfc) in nfp_net_set_rss_hash_opt()
901 struct ethtool_rxnfc *cmd) in nfp_net_set_rxnfc()
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpaa2-ethtool.c228 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in dpaa2_eth_get_rxnfc()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2638 static int i40e_get_rss_hash_opts(struct i40e_pf *pf, struct ethtool_rxnfc *cmd) in i40e_get_rss_hash_opts()
2818 struct ethtool_rxnfc *cmd, in i40e_get_ethtool_fdir_all()
2853 struct ethtool_rxnfc *cmd) in i40e_get_ethtool_fdir_entry()
2966 static int i40e_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in i40e_get_rxnfc()
3008 static u64 i40e_get_rss_hash_bits(struct ethtool_rxnfc *nfc, u64 i_setc) in i40e_get_rss_hash_bits()
3053 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt()
3173 struct ethtool_rxnfc *cmd) in i40e_update_ethtool_fdir_entry()
3298 struct ethtool_rxnfc *cmd) in i40e_del_fdir_entry()
4098 struct ethtool_rxnfc *cmd) in i40e_add_fdir_ethtool()
4231 static int i40e_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in i40e_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2449 struct ethtool_rxnfc *cmd) in igb_get_ethtool_nfc_entry()
2500 struct ethtool_rxnfc *cmd, in igb_get_ethtool_nfc_all()
2522 struct ethtool_rxnfc *cmd) in igb_get_rss_hash_opts()
2563 static int igb_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in igb_get_rxnfc()
2597 struct ethtool_rxnfc *nfc) in igb_set_rss_hash_opt()
2911 struct ethtool_rxnfc *cmd) in igb_add_ethtool_nfc_entry()
3004 struct ethtool_rxnfc *cmd) in igb_del_ethtool_nfc_entry()
3017 static int igb_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in igb_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2408 struct ethtool_rxnfc *cmd) in ixgbe_get_ethtool_fdir_entry()
2477 struct ethtool_rxnfc *cmd, in ixgbe_get_ethtool_fdir_all()
2501 struct ethtool_rxnfc *cmd) in ixgbe_get_rss_hash_opts()
2542 static int ixgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in ixgbe_get_rxnfc()
2672 struct ethtool_rxnfc *cmd) in ixgbe_add_ethtool_fdir_entry()
2802 struct ethtool_rxnfc *cmd) in ixgbe_del_ethtool_fdir_entry()
2818 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt()
2930 static int ixgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in ixgbe_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1510 struct ethtool_rxnfc *cmd) in mtk_hwlro_add_ipaddr()
1534 struct ethtool_rxnfc *cmd) in mtk_hwlro_del_ipaddr()
1572 struct ethtool_rxnfc *cmd) in mtk_hwlro_get_fdir_entry()
1596 struct ethtool_rxnfc *cmd, in mtk_hwlro_get_fdir_all()
2300 static int mtk_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mtk_get_rxnfc()
2336 static int mtk_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mtk_set_rxnfc()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1092 static int be_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in be_get_rxnfc()
1118 struct ethtool_rxnfc *cmd) in be_set_rss_hash_opts()
1180 static int be_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in be_set_rxnfc()

123