Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dethtool.h255 struct ethtool_rxnfc *, u32 *rule_locs);
256 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c334 struct ethtool_rxnfc *cmd) in sxgbe_get_rss_hash_opts()
367 static int sxgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in sxgbe_get_rxnfc()
385 struct ethtool_rxnfc *cmd) in sxgbe_set_rss_hash_opt()
444 static int sxgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in sxgbe_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c373 struct ethtool_rxnfc *cmd) in i40evf_get_rss_hash_opts()
430 struct ethtool_rxnfc *cmd, in i40evf_get_rxnfc()
459 struct ethtool_rxnfc *nfc) in i40evf_set_rss_hash_opt()
576 struct ethtool_rxnfc *cmd) in i40evf_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1225 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow()
1297 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule()
1321 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1345 struct ethtool_rxnfc *cmd, in add_ip_rule()
1383 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule()
1451 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule()
1491 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace()
1567 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach()
1596 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow()
1628 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc()
[all …]
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c335 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
359 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule()
397 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c427 struct ethtool_rxnfc *info) in nicvf_get_rss_hash_opts()
451 struct ethtool_rxnfc *info, u32 *rules) in nicvf_get_rxnfc()
470 struct ethtool_rxnfc *info) in nicvf_set_rss_hash_opts()
537 static int nicvf_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in nicvf_set_rxnfc()
/linux-4.4.14/net/core/
Dethtool.c500 struct ethtool_rxnfc info; in ethtool_set_rxnfc()
512 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
532 struct ethtool_rxnfc info; in ethtool_get_rxnfc()
546 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
571 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_get_rxnfc()
585 struct ethtool_rxnfc *rx_rings, in ethtool_copy_validate_indir()
662 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh_indir()
790 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1960 static int i40e_get_rss_hash_opts(struct i40e_pf *pf, struct ethtool_rxnfc *cmd) in i40e_get_rss_hash_opts()
2012 struct ethtool_rxnfc *cmd, in i40e_get_ethtool_fdir_all()
2047 struct ethtool_rxnfc *cmd) in i40e_get_ethtool_fdir_entry()
2103 static int i40e_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in i40e_get_rxnfc()
2145 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt()
2289 struct ethtool_rxnfc *cmd) in i40e_update_ethtool_fdir_entry()
2351 struct ethtool_rxnfc *cmd) in i40e_del_fdir_entry()
2380 struct ethtool_rxnfc *cmd) in i40e_add_fdir_ethtool()
2478 static int i40e_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in i40e_set_rxnfc()
Di40e.h557 struct ethtool_rxnfc rxnfc; /* current rss hash opts */
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c873 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts()
1444 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls()
1462 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all()
1480 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc()
1515 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c752 struct ethtool_rxnfc *cmd) in fm10k_get_rss_hash_opts()
790 static int fm10k_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in fm10k_get_rxnfc()
814 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
911 static int fm10k_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in fm10k_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c282 static int bnxt_grxclsrlall(struct bnxt *bp, struct ethtool_rxnfc *cmd, in bnxt_grxclsrlall()
307 static int bnxt_grxclsrule(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_grxclsrule()
361 static int bnxt_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in bnxt_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2332 struct ethtool_rxnfc *cmd) in ixgbe_get_ethtool_fdir_entry()
2401 struct ethtool_rxnfc *cmd, in ixgbe_get_ethtool_fdir_all()
2425 struct ethtool_rxnfc *cmd) in ixgbe_get_rss_hash_opts()
2466 static int ixgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in ixgbe_get_rxnfc()
2595 struct ethtool_rxnfc *cmd) in ixgbe_add_ethtool_fdir_entry()
2725 struct ethtool_rxnfc *cmd) in ixgbe_del_ethtool_fdir_entry()
2741 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt()
2853 static int ixgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in ixgbe_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1037 static int be_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in be_get_rxnfc()
1063 struct ethtool_rxnfc *cmd) in be_set_rss_hash_opts()
1125 static int be_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in be_set_rxnfc()
/linux-4.4.14/include/uapi/linux/
Dethtool.h882 struct ethtool_rxnfc { struct
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c482 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in xgbe_get_rxnfc()
/linux-4.4.14/net/
Dsocket.c2676 struct ethtool_rxnfc __user *rxnfc; in ethtool_ioctl()
2712 buf_size += sizeof(struct ethtool_rxnfc); in ethtool_ioctl()
2733 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()
2738 offsetof(struct ethtool_rxnfc, fs.location) - in ethtool_ioctl()
2739 offsetof(struct ethtool_rxnfc, fs.ring_cookie)); in ethtool_ioctl()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dethtool.c875 struct ethtool_rxnfc *info, u32 *rule_locs) in efx_ethtool_get_rxnfc()
1060 struct ethtool_rxnfc *info) in efx_ethtool_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2425 struct ethtool_rxnfc *cmd) in igb_get_rss_hash_opts()
2466 static int igb_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in igb_get_rxnfc()
2490 struct ethtool_rxnfc *nfc) in igb_set_rss_hash_opt()
2591 static int igb_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in igb_set_rxnfc()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3269 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3303 static int bnx2x_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in bnx2x_get_rxnfc()
3320 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3407 static int bnx2x_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in bnx2x_set_rxnfc()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c634 vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in vmxnet3_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c747 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c797 static int ixgbevf_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in ixgbevf_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1032 static int get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c7082 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_get_hash_opts()
7177 struct ethtool_rxnfc *nfc) in niu_get_ethtool_tcam_entry()
7256 struct ethtool_rxnfc *nfc, in niu_get_ethtool_tcam_all()
7288 static int niu_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in niu_get_nfc()
7318 static int niu_set_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_set_hash_opts()
7436 struct ethtool_rxnfc *nfc) in niu_add_ethtool_tcam_entry()
7654 static int niu_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in niu_set_nfc()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dethtool.c2102 struct ethtool_rxnfc *info, in e1000_get_rxnfc()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c12539 static int tg3_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in tg3_get_rxnfc()