Thread (20 messages) flat view 20 messages, 4 authors, 2023-01-25

Re: [PATCH v4 net-next 04/12] net: ethtool: netlink: retrieve stats from multiple sources (eMAC, pMAC)

From: Eric Dumazet <edumazet@google.com>
Date: 2023-01-24 06:20:40
Also in: lkml

On Thu, Jan 19, 2023 at 1:27 PM Vladimir Oltean [off-list ref] wrote:
...
 static int pause_prepare_data(const struct ethnl_req_info *req_base,
                              struct ethnl_reply_data *reply_base,
                              struct genl_info *info)
 {
+       const struct pause_req_info *req_info = PAUSE_REQINFO(req_base);
        struct pause_reply_data *data = PAUSE_REPDATA(reply_base);
+       enum ethtool_mac_stats_src src = req_info->src;
+       struct netlink_ext_ack *extack = info->extack;
info can be NULL when called from ethnl_default_dump_one()
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help