Ethtool_drvinfo
WebJul 30, 2024 · +int __ethtool_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info) + { + const struct ethtool_ops *ops = dev->ethtool_ops; + + memset (info, 0, sizeof (*info)); + info->cmd = ETHTOOL_GDRVINFO; + if (ops->get_drvinfo) { + ops->get_drvinfo (dev, info); + } else if (dev->dev.parent && dev->dev.parent->driver) { WebJul 30, 2024 · +int __ethtool_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) +{+ const struct ethtool_ops *ops = dev->ethtool_ops; + + memset(info, 0, …
Ethtool_drvinfo
Did you know?
WebSign in. kernel / pub / scm / network / ethtool / ethtool / refs/heads/ethtool-3.4.y / . / ethtool.c. blob: 9991ce2ef7ca3ac035fb009f46a556b06c2d28d0 [] [] [] Web* ethtool_rxfh_indir_default - get default value for RX flow hash indirection * @index: Index in RX flow hash indirection table * @n_rx_rings: Number of RX rings to use * * This function provides the default policy for RX flow hash indirection. */ static inline u32 ethtool_rxfh_indir_default (u32 index, u32 n_rx_rings) { return index % n_rx_rings;
WebNetdev Archive on lore.kernel.org help / color / mirror / Atom feed * [PATCHv2 net-next 0/3] Add support in ethtool to get expansion ROM version @ 2015-02-09 6:37 Hariprasad … http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blob;f=drivers/net/vmxnet3/vmxnet3_ethtool.c;h=587a218b2345ed06eb938f5d01ed832c48dd7459;hb=3c4cfadef6a1665d9cd02a543782d03d3e6740c6
WebFrom: Jiri Pirko To: Michal Kubecek Cc: [email protected], [email protected] Subject: Re: [RFC PATCH 5/9] … WebJun 16, 2001 · net drivers to implement ethtool ioctl support in a minimum amount of code. I have included a sample implementation in the epic100 driver, to illustrate how these helpers may be used. This should make it easier to implement support across 10/100 hardware which uses primarily an MII phy. Comments appreciated.
WebNetdev Archive on lore.kernel.org help / color / mirror / Atom feed From: Madalin Bucur To: Cc:
Webstruct ethtool_drvinfo *info) @@ -2412,6 +2488,71 @@ static void virtnet_update_settings(struct virtnet_info *vi) vi->duplex = duplex; +static u32 virtnet_get_rxfh_key_size(struct net_device *dev) + return ((struct virtnet_info *)netdev_priv(dev))->rss_key_size; +static u32 virtnet_get_rxfh_indir_size(struct … faceit change regionhttp://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blob;f=drivers/net/spider_net_ethtool.c;h=589e43658dee35e3ccc0feec526ededf5406d6ef;hb=8a84fc15ae5cafcc366dd85cf8e1ab2040679abc faceit chat not loadingWebLinux debugging, tracing, profiling & perf. analysis. Check our new training course. with Creative Commons CC-BY-SA faceit cheatersWeb- declare the variables used with-in the file as static. V2 -> V3: no change. V1 -> V2: - Fix build errors observed with clang and "make W=1 C=1". - Address review comments: - removed setting version string in get_drvinfo. - defined helper macro for common code to set supported and advertised modes in get_link_ksettings. does sam golbach have a girlfriend 2023WebAug 11, 2024 · If you need to access ethtool statistics in a script, I would recommend using a scripting language that has bindings for the ethtool interface available, like Perl … faceit cheat buyWeb8.4.2.5. ethtool support Following ethtool operations are supported by netdev kernel mode driver. Implementation added for channel management and ring management. faceit change usernameWebNext message: Jens Axboe: "Re: [PATCH] block: blk_init_allocated_queue() set q->fq as NULL in the fail case" Previous message: Jacek Tomaka: "[PATCH v2] perf/x86/intel: … face it challenge