Lines Matching refs:info
940 struct ethtool_drvinfo *info)
942 strscpy(info->driver, KBUILD_MODNAME, sizeof(info->driver));
943 strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
1616 struct ethtool_rxnfc *info)
1620 info->data = RXH_IP_SRC | RXH_IP_DST;
1622 switch (info->flow_type) {
1625 info->data |= l4_flag;
1631 info->data |= l4_flag;
1637 info->data |= l4_flag;
1643 info->data |= l4_flag;
1651 info->data = 0;
1659 netvsc_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info,
1668 switch (info->cmd) {
1670 info->data = nvdev->num_chn;
1674 return netvsc_get_rss_hash_opts(ndc, info);
1680 struct ethtool_rxnfc *info)
1682 if (info->data == (RXH_IP_SRC | RXH_IP_DST |
1684 switch (info->flow_type) {
1708 if (info->data == (RXH_IP_SRC | RXH_IP_DST)) {
1709 switch (info->flow_type) {
1737 netvsc_set_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *info)
1741 if (info->cmd == ETHTOOL_SRXFH)
1742 return netvsc_set_rss_hash_opts(ndc, info);
2737 /* Save the current config info */