Re: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool get_ethtool_stats()

From: Ethan Zhao
Date: Sun Jul 20 2014 - 21:56:16 EST


---------- Forwarded message ----------
From: Francois Romieu <romieu@xxxxxxxxxxxxx>
Date: Mon, Jul 21, 2014 at 2:01 AM
Subject: Re: [PATCH V3] netxen: fix ethtool rx_dropped information in
ethtool get_ethtool_stats()
To: Ethan Zhao <ethan.kernel@xxxxxxxxx>
Cc: Rajesh Borundia <rajesh.borundia@xxxxxxxxxx>, Ethan Zhao
<ethan.zhao@xxxxxxxxxx>, Manish Chopra <manish.chopra@xxxxxxxxxx>,
Sony Chacko <sony.chacko@xxxxxxxxxx>, netdev <netdev@xxxxxxxxxxxxxxx>,
linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>


Ethan Zhao <ethan.kernel@xxxxxxxxx> :
[...]
> you leave us without a tool to track the net core part. Would you like to
> hack the kernel code and rebuild just for peek the dropping packets ?

Search 'dropwatch' on your favorite engine search.

That is a pretty good tool to trace and debug protocal stack when
packet dropping happens. but it is more professional and specific to
kernel kallsyms,
has some bugs to work well on my box. yet another different tool to
output debug info while not statistic info.

I think drivers output rx dropped has their own reason.

[...]
> More radically, and maybe you should write patches to fix them to keep
> their focus. That is to prove you have principle and always fight for it.

It's 15 years late but it's still a good advice. :o)

Does it work ?

Thanks,
Ethan
--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/