Lines Matching refs:info
955 struct ethtool_drvinfo *info)
957 strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver));
958 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));
1627 struct ethtool_rxnfc *info)
1631 info->data = RXH_IP_SRC | RXH_IP_DST;
1633 switch (info->flow_type) {
1636 info->data |= l4_flag;
1642 info->data |= l4_flag;
1648 info->data |= l4_flag;
1654 info->data |= l4_flag;
1662 info->data = 0;
1670 netvsc_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info,
1679 switch (info->cmd) {
1681 info->data = nvdev->num_chn;
1685 return netvsc_get_rss_hash_opts(ndc, info);
1691 struct ethtool_rxnfc *info)
1693 if (info->data == (RXH_IP_SRC | RXH_IP_DST |
1695 switch (info->flow_type) {
1719 if (info->data == (RXH_IP_SRC | RXH_IP_DST)) {
1720 switch (info->flow_type) {
1748 netvsc_set_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *info)
1752 if (info->cmd == ETHTOOL_SRXFH)
1753 return netvsc_set_rss_hash_opts(ndc, info);
2667 /* Save the current config info */