Home
last modified time | relevance | path

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

123

/Linux-v5.10/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.c444 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-v5.10/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.c1337 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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h180 int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd);
182 struct ethtool_rxnfc *info, u32 *rule_locs);
186 static inline int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
189 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h551 struct ethtool_rxnfc *cmd);
553 struct ethtool_rxnfc *cmd);
597 struct ethtool_rxnfc *cmd);
599 struct ethtool_rxnfc *cmd);
603 struct ethtool_rxnfc *cmd);
605 struct ethtool_rxnfc *cmd);
607 struct ethtool_rxnfc *cmd, u32 *rule_locs);
/Linux-v5.10/drivers/net/ethernet/sfc/
Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
44 struct ethtool_rxnfc *info);
/Linux-v5.10/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.10/drivers/net/ethernet/intel/ice/
Dice.h595 int ice_add_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd);
596 int ice_del_fdir_ethtool(struct ice_vsi *vsi, struct ethtool_rxnfc *cmd);
597 int ice_get_ethtool_fdir_entry(struct ice_hw *hw, struct ethtool_rxnfc *cmd);
599 ice_get_fdir_fltr_ids(struct ice_hw *hw, struct ethtool_rxnfc *cmd,
/Linux-v5.10/drivers/net/dsa/
Dbcm_sf2.h213 struct ethtool_rxnfc *nfc, u32 *rule_locs);
215 struct ethtool_rxnfc *nfc);
Dbcm_sf2_cfp.c1069 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get()
1089 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all()
1107 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc()
1150 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c365 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-v5.10/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c395 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
419 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule()
456 static int enic_get_rx_flow_hash(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_get_rx_flow_hash()
499 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c739 struct ethtool_rxnfc *info, int location) in mlx5e_ethtool_get_flow()
758 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
817 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt()
870 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt()
894 int mlx5e_ethtool_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
918 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/Linux-v5.10/include/linux/
Dethtool.h462 struct ethtool_rxnfc *, u32 *rule_locs);
463 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1336 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow()
1408 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule()
1431 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1455 struct ethtool_rxnfc *cmd, in add_ip_rule()
1493 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule()
1561 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule()
1601 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace()
1677 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach()
1706 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow()
1738 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede.h509 int qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info);
511 int qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd);
512 int qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info,
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c421 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts()
466 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts()
544 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc()
562 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c537 struct ethtool_rxnfc *cmd) in ena_get_rss_hash()
588 struct ethtool_rxnfc *cmd) in ena_set_rss_hash()
631 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc()
651 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c513 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts()
538 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc()
557 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts()
624 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c938 struct ethtool_rxnfc *cmd) in igc_ethtool_get_nfc_rule()
986 struct ethtool_rxnfc *cmd, in igc_ethtool_get_nfc_rules()
1013 struct ethtool_rxnfc *cmd) in igc_ethtool_get_rss_hash_opts()
1055 struct ethtool_rxnfc *cmd, u32 *rule_locs) in igc_ethtool_get_rxnfc()
1080 struct ethtool_rxnfc *nfc) in igc_ethtool_set_rss_hash_opt()
1260 struct ethtool_rxnfc *cmd) in igc_ethtool_add_nfc_rule()
1324 struct ethtool_rxnfc *cmd) in igc_ethtool_del_nfc_rule()
1345 struct ethtool_rxnfc *cmd) in igc_ethtool_set_rxnfc()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c288 static int enetc_get_rsshash(struct ethtool_rxnfc *rxnfc) in enetc_get_rsshash()
395 static int enetc_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *rxnfc, in enetc_get_rxnfc()
446 static int enetc_set_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *rxnfc) in enetc_set_rxnfc()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c773 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts()
1342 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls()
1360 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all()
1378 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc()
1413 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c686 struct ethtool_rxnfc *cmd) in fm10k_get_rss_hash_opts()
726 static int fm10k_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in fm10k_get_rxnfc()
748 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
865 static int fm10k_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in fm10k_set_rxnfc()
/Linux-v5.10/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c738 struct ethtool_rxnfc *info) in vmxnet3_get_rss_hash_opts()
801 struct ethtool_rxnfc *nfc) in vmxnet3_set_rss_hash_opt()
915 vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in vmxnet3_get_rxnfc()
947 vmxnet3_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in vmxnet3_set_rxnfc()

123