diff options
author | John Lo <loj@cisco.com> | 2016-04-27 16:43:44 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-04-27 21:11:12 +0000 |
commit | acc22d7c45f3838fde53e759fcc44117e2668f26 (patch) | |
tree | 2962719c715853207c13c2a588a21f78f5b892f2 /dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch | |
parent | 2a00d171a04f00a95b131b089d100b7a62a99adc (diff) |
ENIC driver updates for DPDK 16.04 and 2.2.0
Change-Id: I896925ea2208d318d353d486707b97f295c78426
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch')
-rw-r--r-- | dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch b/dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch index db86c9b057a..81e7bf3dbf6 100644 --- a/dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch +++ b/dpdk/dpdk-16.04_patches/0009-enic-fix-imissed-rx-counter.patch @@ -1,18 +1,20 @@ -From c6c5a3f41528b28764ee4aa96a72d89c94d695df Mon Sep 17 00:00:00 2001 +From 3433c7828ec909fccb768636ee21867030da14c9 Mon Sep 17 00:00:00 2001 From: John Daley <johndale@cisco.com> -Date: Fri, 15 Apr 2016 14:43:11 -0700 -Subject: [PATCH] enic: fix imissed rx counter +Date: Tue, 26 Apr 2016 13:30:50 -0700 +Subject: [PATCH 1/3] enic: fix 'imissed' to count drops due to lack of RX + buffers +Fixes: 7182d3e7d177 ("enic: expose Rx missed packets counter") Signed-off-by: John Daley <johndale@cisco.com> --- drivers/net/enic/enic_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c -index c61433f..8d6bbeb 100644 +index 60fe765..be4e9e5 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c -@@ -165,10 +165,10 @@ void enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats) +@@ -243,10 +243,10 @@ void enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats) r_stats->ibytes = stats->rx.rx_bytes_ok; r_stats->obytes = stats->tx.tx_bytes_ok; @@ -23,8 +25,8 @@ index c61433f..8d6bbeb 100644 - r_stats->imissed = stats->rx.rx_drop; + r_stats->imissed = stats->rx.rx_no_bufs; - r_stats->imcasts = stats->rx.rx_multicast_frames_ok; r_stats->rx_nombuf = stats->rx.rx_no_bufs; + } -- 2.7.0 |