Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_ethtool.h14 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd);
16 struct ethtool_rxnfc *info, u32 *rule_locs);
23 static inline int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
26 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A 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,
H A 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/drivers/net/ethernet/marvell/mvpp2/
H A 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);
/linux/drivers/net/ethernet/engleder/
H A Dtsnep.h216 struct ethtool_rxnfc *cmd);
218 struct ethtool_rxnfc *cmd,
221 struct ethtool_rxnfc *cmd);
223 struct ethtool_rxnfc *cmd);
H A Dtsnep_rxnfc.c95 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_get_rule()
125 struct ethtool_rxnfc *cmd, in tsnep_rxnfc_get_all()
202 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_add_rule()
270 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_del_rule()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h39 struct ethtool_rxnfc *info, u32 *rule_locs);
41 struct ethtool_rxnfc *info);
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
44 struct ethtool_rxnfc *info);
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c84 struct ethtool_rxnfc *cmd) in txgbe_get_ethtool_fdir_entry()
149 struct ethtool_rxnfc *cmd, in txgbe_get_ethtool_fdir_all()
172 static int txgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in txgbe_get_rxnfc()
324 struct ethtool_rxnfc *cmd) in txgbe_add_ethtool_fdir_entry()
474 struct ethtool_rxnfc *cmd) in txgbe_del_ethtool_fdir_entry()
487 static int txgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in txgbe_set_rxnfc()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c224 static int bcmasp_flow_insert(struct net_device *dev, struct ethtool_rxnfc *cmd) in bcmasp_flow_insert()
268 static int bcmasp_flow_delete(struct net_device *dev, struct ethtool_rxnfc *cmd) in bcmasp_flow_delete()
282 static int bcmasp_flow_get(struct bcmasp_intf *intf, struct ethtool_rxnfc *cmd) in bcmasp_flow_get()
297 static int bcmasp_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in bcmasp_set_rxnfc()
320 static int bcmasp_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in bcmasp_get_rxnfc()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h693 struct ethtool_rxnfc *cmd);
695 struct ethtool_rxnfc *cmd);
739 struct ethtool_rxnfc *cmd);
741 struct ethtool_rxnfc *cmd);
743 struct ethtool_rxnfc *cmd);
745 struct ethtool_rxnfc *cmd);
747 struct ethtool_rxnfc *cmd, u32 *rule_locs);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.h111 struct ethtool_rxnfc *nfc,
132 struct ethtool_rxnfc *nfc);
H A Dhclge_comm_rss.c154 struct ethtool_rxnfc *nfc) in hclge_comm_set_rss_tuple()
425 static u8 hclge_comm_get_rss_hash_bits(struct ethtool_rxnfc *nfc) in hclge_comm_get_rss_hash_bits()
451 struct ethtool_rxnfc *nfc, in hclge_comm_init_rss_tuple_cmd()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c312 struct ethtool_rxnfc *cmd) in sxgbe_get_rss_hash_opts()
347 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in sxgbe_get_rxnfc()
365 struct ethtool_rxnfc *cmd) in sxgbe_set_rss_hash_opt()
424 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in sxgbe_set_rxnfc()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c196 int gve_get_flow_rule_entry(struct gve_priv *priv, struct ethtool_rxnfc *cmd) in gve_get_flow_rule_entry()
233 int gve_get_flow_rule_ids(struct gve_priv *priv, struct ethtool_rxnfc *cmd, u32 *rule_locs) in gve_get_flow_rule_ids()
263 int gve_add_flow_rule(struct gve_priv *priv, struct ethtool_rxnfc *cmd) in gve_add_flow_rule()
290 int gve_del_flow_rule(struct gve_priv *priv, struct ethtool_rxnfc *cmd) in gve_del_flow_rule()
H A Dgve.h1178 int gve_get_flow_rule_entry(struct gve_priv *priv, struct ethtool_rxnfc *cmd);
1179 int gve_get_flow_rule_ids(struct gve_priv *priv, struct ethtool_rxnfc *cmd, u32 *rule_locs);
1180 int gve_add_flow_rule(struct gve_priv *priv, struct ethtool_rxnfc *cmd);
1181 int gve_del_flow_rule(struct gve_priv *priv, struct ethtool_rxnfc *cmd);
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c281 struct ethtool_rxnfc *cmd) in dpaa_get_hash_opts()
316 static int dpaa_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in dpaa_get_rxnfc()
347 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts()
381 static int dpaa_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in dpaa_set_rxnfc()
/linux/drivers/net/dsa/
H A Dbcm_sf2.h224 struct ethtool_rxnfc *nfc, u32 *rule_locs);
226 struct ethtool_rxnfc *nfc);
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c241 static int mlx5i_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in mlx5i_set_rxnfc()
252 static int mlx5i_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in mlx5i_get_rxnfc()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c919 struct ethtool_rxnfc *cmd) in iavf_get_ethtool_fdir_entry()
1060 iavf_get_fdir_fltr_ids(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd, in iavf_get_fdir_fltr_ids()
1255 static int iavf_add_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_add_fdir_ethtool()
1306 static int iavf_del_fdir_ethtool(struct iavf_adapter *adapter, struct ethtool_rxnfc *cmd) in iavf_del_fdir_ethtool()
1323 static u32 iavf_adv_rss_parse_hdrs(struct ethtool_rxnfc *cmd) in iavf_adv_rss_parse_hdrs()
1367 static u64 iavf_adv_rss_parse_hash_flds(struct ethtool_rxnfc *cmd, bool symm) in iavf_adv_rss_parse_hash_flds()
1434 struct ethtool_rxnfc *cmd) in iavf_set_adv_rss_hash_opt()
1520 struct ethtool_rxnfc *cmd) in iavf_get_adv_rss_hash_opt()
1574 static int iavf_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in iavf_set_rxnfc()
1604 static int iavf_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in iavf_get_rxnfc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c791 struct ethtool_rxnfc *info, int location) in mlx5e_ethtool_get_flow()
821 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
896 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt()
943 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt()
976 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
999 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1328 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow()
1400 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule()
1423 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1447 struct ethtool_rxnfc *cmd, in add_ip_rule()
1485 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule()
1553 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule()
1593 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace()
1669 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach()
1698 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow()
1730 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc()
[all …]
/linux/net/ethtool/
H A Dioctl.c847 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()
860 *rxnfc = (struct ethtool_rxnfc) { in ethtool_rxnfc_copy_from_compat()
893 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_compat()
954 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_user()
984 struct ethtool_rxnfc info; in ethtool_set_rxnfc()
1028 struct ethtool_rxnfc info; in ethtool_get_rxnfc()
1063 struct ethtool_rxnfc *rx_rings, in ethtool_copy_validate_indir()
1142 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh_indir()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h510 int qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info);
512 int qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd);
513 int qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info,
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c470 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
494 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule()
531 static int enic_get_rx_flow_hash(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_get_rx_flow_hash()
574 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()

1234