Hi,
I am unable to run l3fwd in dpdk. Please provide steps to run.
Regards,
Anudeep
On Mon, Jan 21, 2019, 18:49 Send dev mailing list submissions to
> dev@dpdk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mails.dpdk.org/listinfo/dev
> or, via email, send a message with subject or body 'help' to
> dev-requ...@dpdk.org
>
> You can reach the person managing the list at
> dev-ow...@dpdk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dev digest..."
>
>
> Today's Topics:
>
>1. [PATCH v6 2/4] examples/ip_pipeline: support QinQ PPPoE encap
> (Nemanja Marjanovic)
>2. [PATCH v6 1/4] pipeline: support QinQ PPPoE encap
> (Nemanja Marjanovic)
>3. [PATCH v6 3/4] net/softnic: support QinQ PPPoE encap
> (Nemanja Marjanovic)
>4. [PATCH v6 4/4] net: add PPPoE ethertypes (Nemanja Marjanovic)
>5. Re: [PATCH] doc: add deprecation notice to remove rte meter
> color (Mohammad Abdul Awal)
>6. Re: [PATCH] service: fix parameter type (Van Haaren, Harry)
>7. Re: [PATCH] vhost: fix possible out of bound access for
> indirect descs (Maxime Coquelin)
>8. Re: IXGBE, IOMMU DMAR DRHD handling fault issue (Hu, Xuekun)
>
>
> --
>
> Message: 1
> Date: Mon, 21 Jan 2019 11:11:22 +
> From: Nemanja Marjanovic
> To: dev@dpdk.org
> Cc: jasvinder.si...@intel.com, cristian.dumitre...@intel.com, "Nemanja
> Marjanovic"
> Subject: [dpdk-dev] [PATCH v6 2/4] examples/ip_pipeline: support QinQ
> PPPoE encap
> Message-ID: <2019012124.16362-2-nemanja.marjano...@intel.com>
>
> From: "Nemanja Marjanovic"
>
> Add implementation of QinQ PPPoE packet encapsulation action.
>
> Signed-off-by: Nemanja Marjanovic
> Acked-by: Cristian Dumitrescu
> ---
> v5:Removing footer from patch.
> v6:Added missing acks.
> ---
> examples/ip_pipeline/cli.c | 46 --
> 1 file changed, 44 insertions(+), 2 deletions(-)
>
> diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c
> index 910386282..dd05393ef 100644
> --- a/examples/ip_pipeline/cli.c
> +++ b/examples/ip_pipeline/cli.c
> @@ -1022,7 +1022,7 @@ static const char cmd_table_action_profile_help[] =
> " tc \n"
> " stats none | pkts | bytes | both]\n"
> " [tm spp pps ]\n"
> -" [encap ether | vlan | qinq | mpls | pppoe |\n"
> +" [encap ether | vlan | qinq | mpls | pppoe | qinq_pppoe \n"
> " vxlan offset ipv4 | ipv6 vlan on | off]\n"
> " [nat src | dst\n"
> " proto udp | tcp]\n"
> @@ -1290,7 +1290,10 @@ cmd_table_action_profile(char **tokens,
>
> p.encap.encap_mask = 1LLU <<
> RTE_TABLE_ACTION_ENCAP_VXLAN;
> n_extra_tokens = 5;
> - } else {
> + } else if (strcmp(tokens[t0 + 1], "qinq_pppoe") == 0)
> + p.encap.encap_mask =
> + 1LLU << RTE_TABLE_ACTION_ENCAP_QINQ_PPPOE;
> + else {
> snprintf(out, out_size, MSG_ARG_MISMATCH, "encap");
> return;
> }
> @@ -3090,6 +3093,7 @@ parse_match(char **tokens,
> * ether
> * | vlan
> * | qinq
> + * | qinq_pppoe
>
> * | mpls unicast | multicast
> *
> * label0
> @@ -3391,6 +3395,44 @@ parse_table_action_encap(char **tokens,
> return 1 + 9;
> }
>
> + /* qinq_pppoe */
> + if (n_tokens && (strcmp(tokens[0], "qinq_pppoe") == 0)) {
> + uint32_t svlan_pcp, svlan_dei, svlan_vid;
> + uint32_t cvlan_pcp, cvlan_dei, cvlan_vid;
> +
> + if ((n_tokens < 10) ||
> + parse_mac_addr(tokens[1],
> + &a->encap.qinq_pppoe.ether.da) ||
> + parse_mac_addr(tokens[2],
> + &a->encap.qinq_pppoe.ether.sa) ||
> + parser_read_uint32(&svlan_pcp, tokens[3]) ||
> + (svlan_pcp > 0x7) ||
> + parser_read_uint32(&svlan_dei, tokens[4]) ||
> + (svlan_dei > 0x1) ||
> + parser_read_uint32(&svlan_vid, tokens[5]) ||
> + (svlan_vid > 0xFFF) ||
> + parser_read_uint32(&cvlan_pcp, tokens[6]) ||
> + (cvlan_pcp > 0x7) ||
> + parser_read_uint32(&cvlan_dei, tokens[7]) ||
> + (cvlan_dei > 0x1) ||
> + parser_read_uint32(&cvlan_vid, tokens[8]) ||
> + (cvlan_vid > 0xFFF) ||
> +
> parser_read_uint16(&a->encap.qinq_pppoe.pppoe.session_id,
> + tokens[9]))
> + return 0;
> +
> + a->encap.qinq_pppoe.