Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dethtool.h255 struct ethtool_rxnfc *, u32 *rule_locs);
256 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c371 struct ethtool_rxnfc *cmd) in i40evf_get_rss_hash_opts()
428 struct ethtool_rxnfc *cmd, in i40evf_get_rxnfc()
457 struct ethtool_rxnfc *nfc) in i40evf_set_rss_hash_opt()
574 struct ethtool_rxnfc *cmd) in i40evf_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1210 struct ethtool_rxnfc *cmd) in mlx4_en_validate_flow()
1282 static int mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule()
1306 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1330 struct ethtool_rxnfc *cmd, in add_ip_rule()
1368 struct ethtool_rxnfc *cmd, in add_tcp_udp_rule()
1436 struct ethtool_rxnfc *cmd, in mlx4_en_ethtool_to_net_trans_rule()
1476 struct ethtool_rxnfc *cmd) in mlx4_en_flow_replace()
1552 struct ethtool_rxnfc *cmd) in mlx4_en_flow_detach()
1581 static int mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_flow()
1613 static int mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in mlx4_en_get_rxnfc()
[all …]
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c318 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
342 static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd) in enic_grxclsrule()
380 static int enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in enic_get_rxnfc()
/linux-4.1.27/net/core/
Dethtool.c489 struct ethtool_rxnfc info; in ethtool_set_rxnfc()
501 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
521 struct ethtool_rxnfc info; in ethtool_get_rxnfc()
535 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
560 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_get_rxnfc()
574 struct ethtool_rxnfc *rx_rings, in ethtool_copy_validate_indir()
651 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh_indir()
779 struct ethtool_rxnfc rx_rings; in ethtool_set_rxfh()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c93 struct ethtool_rxnfc *cmd);
1793 static int i40e_get_rss_hash_opts(struct i40e_pf *pf, struct ethtool_rxnfc *cmd) in i40e_get_rss_hash_opts()
1845 struct ethtool_rxnfc *cmd, in i40e_get_ethtool_fdir_all()
1880 struct ethtool_rxnfc *cmd) in i40e_get_ethtool_fdir_entry()
1936 static int i40e_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in i40e_get_rxnfc()
1978 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt()
2122 struct ethtool_rxnfc *cmd) in i40e_update_ethtool_fdir_entry()
2184 struct ethtool_rxnfc *cmd) in i40e_del_fdir_entry()
2213 struct ethtool_rxnfc *cmd) in i40e_add_fdir_ethtool()
2311 static int i40e_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in i40e_set_rxnfc()
Di40e.h528 struct ethtool_rxnfc rxnfc; /* current rss hash opts */
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c638 struct ethtool_rxnfc *cmd) in fm10k_get_rss_hash_opts()
676 static int fm10k_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in fm10k_get_rxnfc()
700 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
797 static int fm10k_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in fm10k_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c855 struct ethtool_rxnfc *cmd) in gfar_set_hash_opts()
1763 static int gfar_get_cls(struct gfar_private *priv, struct ethtool_rxnfc *cmd) in gfar_get_cls()
1781 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all()
1799 static int gfar_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in gfar_set_nfc()
1834 static int gfar_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in gfar_get_nfc()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2327 struct ethtool_rxnfc *cmd) in ixgbe_get_ethtool_fdir_entry()
2396 struct ethtool_rxnfc *cmd, in ixgbe_get_ethtool_fdir_all()
2420 struct ethtool_rxnfc *cmd) in ixgbe_get_rss_hash_opts()
2461 static int ixgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in ixgbe_get_rxnfc()
2590 struct ethtool_rxnfc *cmd) in ixgbe_add_ethtool_fdir_entry()
2706 struct ethtool_rxnfc *cmd) in ixgbe_del_ethtool_fdir_entry()
2722 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt()
2834 static int ixgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in ixgbe_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1020 static int be_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in be_get_rxnfc()
1046 struct ethtool_rxnfc *cmd) in be_set_rss_hash_opts()
1119 static int be_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in be_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c470 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in xgbe_get_rxnfc()
/linux-4.1.27/include/uapi/linux/
Dethtool.h851 struct ethtool_rxnfc { struct
/linux-4.1.27/net/
Dsocket.c2685 struct ethtool_rxnfc __user *rxnfc; in ethtool_ioctl()
2721 buf_size += sizeof(struct ethtool_rxnfc); in ethtool_ioctl()
2742 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()
2747 offsetof(struct ethtool_rxnfc, fs.location) - in ethtool_ioctl()
2748 offsetof(struct ethtool_rxnfc, fs.ring_cookie)); in ethtool_ioctl()
/linux-4.1.27/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.1.27/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c576 vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in vmxnet3_get_rxnfc()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2412 struct ethtool_rxnfc *cmd) in igb_get_rss_hash_opts()
2453 static int igb_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in igb_get_rxnfc()
2477 struct ethtool_rxnfc *nfc) in igb_set_rss_hash_opt()
2578 static int igb_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in igb_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3224 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3258 static int bnx2x_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in bnx2x_get_rxnfc()
3275 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3355 static int bnx2x_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info) in bnx2x_set_rxnfc()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c817 static int get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in get_rxnfc()
/linux-4.1.27/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.1.27/drivers/net/ethernet/sun/
Dniu.c7084 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_get_hash_opts()
7179 struct ethtool_rxnfc *nfc) in niu_get_ethtool_tcam_entry()
7258 struct ethtool_rxnfc *nfc, in niu_get_ethtool_tcam_all()
7290 static int niu_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in niu_get_nfc()
7320 static int niu_set_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_set_hash_opts()
7438 struct ethtool_rxnfc *nfc) in niu_add_ethtool_tcam_entry()
7656 static int niu_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in niu_set_nfc()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dethtool.c2083 struct ethtool_rxnfc *info, in e1000_get_rxnfc()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c12539 static int tg3_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, in tg3_get_rxnfc()