Re: [PATCH] ethtool: igb: dump RR2DCDELAY register

2019-07-15 Thread Artem Bityutskiy
On Mon, 2019-07-15 at 11:13 +0200, Michal Kubecek wrote: > > + /* > > +* Starting from kernel version 5.3 the registers dump buffer grew from > > +* 739 4-byte words to 740 words, and word 740 contains the RR2DCDLAY > > nit: "E" missing here:

[PATCH v2] ethtool: igb: dump RR2DCDELAY register

2019-07-15 Thread Artem Bityutskiy
From: Artem Bityutskiy Decode 'RR2DCDELAY' register which Linux kernel provides starting from version 5.3. The corresponding commit in the Linux kernel is: cd502a7f7c9c igb: add RR2DCDELAY to ethtool registers dump The RR2DCDELAY register is present in I210 and I211 Intel Gigabi

[PATCH] ethtool: igb: dump RR2DCDELAY register

2019-07-14 Thread Artem Bityutskiy
on of the PCIe round trip time." In practice, this register can be used to measure the time it takes the NIC to read data from the host memory. Signed-off-by: Artem Bityutskiy --- igb.c | 12 1 file changed, 12 insertions(+) diff --git a/igb.c b/igb.c index e0ccef9..ab0896f

[PATCH 1/2] net: intel: igb: minor ethool regdump amendment

2019-06-18 Thread Artem Bityutskiy
From: Artem Bityutskiy This patch has no functional impact and it is just a preparation for the following patch. It removes an early return from the 'igb_get_regs()' function by moving the 82576-only registers dump into an "if" block. With this preparation, we can dump more

[PATCH 2/2] net: intel: igb: add RR2DCDELAY to ethtool registers dump

2019-06-18 Thread Artem Bityutskiy
From: Artem Bityutskiy This patch adds the RR2DCDELAY register to the ethtool registers dump. RR2DCDELAY exists on I210 and I211 Intel Gigabit Ethernet chips and it stands for "Read Request To Data Completion Delay". Here is how this register is described in the I210 datasheet: &