Thread (33 messages) 33 messages, 6 authors, 2015-06-19

Re: [PATCH 12/22] fjes: net_device_ops.ndo_get_stats64

From: Sergei Shtylyov <hidden>
Date: 2015-06-18 14:00:52
Also in: linux-acpi, platform-driver-x86

Hello.

On 6/18/2015 3:49 AM, Taku Izumi wrote:
This patch adds net_device_ops.ndo_get_stats64 callback.
Signed-off-by: Taku Izumi <redacted>
---
  drivers/platform/x86/fjes/fjes_main.c | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
quoted hunk ↗ jump to hunk
diff --git a/drivers/platform/x86/fjes/fjes_main.c b/drivers/platform/x86/fjes/fjes_main.c
index 97bf487..eeda824 100644
--- a/drivers/platform/x86/fjes/fjes_main.c
+++ b/drivers/platform/x86/fjes/fjes_main.c
@@ -57,6 +57,8 @@ static netdev_tx_t fjes_xmit_frame(struct sk_buff *,
  static void fjes_raise_intr_rxdata_task(struct work_struct *);
  static void fjes_tx_stall_task(struct work_struct *);
  static irqreturn_t fjes_intr(int, void*);
+static struct rtnl_link_stats64
+*fjes_get_stats64(struct net_device *, struct rtnl_link_stats64 *);
    I'd leave * on the first line, otherwise it looks quite ugly..

[...]
quoted hunk ↗ jump to hunk
@@ -734,6 +737,17 @@ static netdev_tx_t fjes_xmit_frame(struct sk_buff *skb,
  	return ret;
  }

+static struct rtnl_link_stats64
+*fjes_get_stats64(struct net_device *netdev,
    Same here.

[...]

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help