> -Original Message-
> From: Wu, Jingjing
> Sent: Thursday, March 15, 2018 3:41 AM
> To: Dai, Wei ; Lu, Wenzhuo
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v2 1/2] app/testpmd: add commands to test new Rx
> offload API
>
> <...>
>
> > +static int
> > +config_rx_offload(const char *name, uin
> Sent: Tuesday, March 13, 2018 5:31 PM
> To: Andrew Rybchenko ; Dai, Wei
> ; Lu, Wenzhuo ; Wu, Jingjing
>
> Cc: dev@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add commands to test
> new Rx offload API
>
>
>
> > -Original Message-
<...>
> +static int
> +config_rx_offload(const char *name, uint64_t *offload, int on)
> +{
> + uint64_t local = *offload;
> +
> + if (!strcmp(name, "vlan_strip")) {
> + if (on)
> + local |= DEV_RX_OFFLOAD_VLAN_STRIP;
> + else
> +
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrew Rybchenko
> Sent: Tuesday, March 13, 2018 7:21 AM
> To: Dai, Wei ; Lu, Wenzhuo ; Wu,
> Jingjing
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add comma
On 03/13/2018 09:42 AM, Wei Dai wrote:
Add following testpmd run-time commands to support test of
new Rx offload API:
rx_offload get capability
rx_offload get configuration
rx_offload enable|disable per_port
rx_offload enable|disable per_queue
Above last 2 commands should be run when the
Add following testpmd run-time commands to support test of
new Rx offload API:
rx_offload get capability
rx_offload get configuration
rx_offload enable|disable per_port
rx_offload enable|disable per_queue
Above last 2 commands should be run when the port is stopped.
And can be one of "vlan
6 matches
Mail list logo