[1/5] app/testpmd: remove unused fwd_ctx field

Message ID 1550158972-21895-2-git-send-email-david.marchand@redhat.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series display testpmd forwarding engine stats on the fly |

Checks

Context Check Description
ci/intel-Performance-Testing success Performance Testing PASS
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/Intel-compilation success Compilation OK

Commit Message

David Marchand Feb. 14, 2019, 3:42 p.m. UTC
  Remove some leftover from a previous rework.

Fixes: c4bcc342c8ee ("app/testpmd: refactor ieee1588 forwarding")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 app/test-pmd/testpmd.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Rami Rosen Feb. 18, 2019, 7:55 p.m. UTC | #1
I believe this patch should be cc'ed/sent to stable@dpdk.org

Reviewed-by: Rami Rosen <ramirose@gmail.com>

On Thu, Feb 14, 2019 at 5:43 PM David Marchand <david.marchand@redhat.com>
wrote:

> Remove some leftover from a previous rework.
>
> Fixes: c4bcc342c8ee ("app/testpmd: refactor ieee1588 forwarding")
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>  app/test-pmd/testpmd.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h
> index fa48878..85b791b 100644
> --- a/app/test-pmd/testpmd.h
> +++ b/app/test-pmd/testpmd.h
> @@ -173,7 +173,6 @@ struct rte_port {
>         uint16_t                tunnel_tso_segsz; /**< Segmentation
> offload MSS for tunneled pkts. */
>         uint16_t                tx_vlan_id;/**< The tag ID */
>         uint16_t                tx_vlan_id_outer;/**< The outer tag ID */
> -       void                    *fwd_ctx;   /**< Forwarding mode context */
>         uint64_t                rx_bad_ip_csum; /**< rx pkts with bad ip
> checksum  */
>         uint64_t                rx_bad_l4_csum; /**< rx pkts with bad l4
> checksum */
>         uint64_t                rx_bad_outer_l4_csum;
> --
> 1.8.3.1
>
>
  

Patch

diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h
index fa48878..85b791b 100644
--- a/app/test-pmd/testpmd.h
+++ b/app/test-pmd/testpmd.h
@@ -173,7 +173,6 @@  struct rte_port {
 	uint16_t                tunnel_tso_segsz; /**< Segmentation offload MSS for tunneled pkts. */
 	uint16_t                tx_vlan_id;/**< The tag ID */
 	uint16_t                tx_vlan_id_outer;/**< The outer tag ID */
-	void                    *fwd_ctx;   /**< Forwarding mode context */
 	uint64_t                rx_bad_ip_csum; /**< rx pkts with bad ip checksum  */
 	uint64_t                rx_bad_l4_csum; /**< rx pkts with bad l4 checksum */
 	uint64_t                rx_bad_outer_l4_csum;