On Linux PF hosts, the VF has no means of changing the HW CRC strip
setting for a RX queue. It's implicitly enabled.
This patch ignores, and warns, if HW CRC stripping was disabled.
Signed-off-by: Bj?rn T?pel
---
drivers/net/i40e/i40e_ethdev_vf.c | 15 +++
1 file changed, 15 inserti
CC maintainers.
On Thu, Apr 14, 2016 at 4:58 PM, Bj?rn T?pel wrote:
> On Linux PF hosts, the VF has no means of changing the HW CRC strip
> setting for a RX queue. It's implicitly enabled.
>
> This patch ignores, and warns, if HW CRC stripping was disabled.
>
> Signed-off-by: Bj?rn T?pel
> ---
>
> -Original Message-
> From: David Marchand [mailto:david.marchand at 6wind.com]
> Sent: Friday, April 15, 2016 3:41 PM
> To: Topel, Bjorn
> Cc: dev at dpdk.org; Zhang, Helin ; Wu, Jingjing
>
> Subject: Re: [dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip fo
>> Not sure this is the right way to handle it. The driver should
>> return an error rather than silently discard what the
>> application asked.
>
> I also think it should return an error with checking if the
> host is kernel driver, and crc strip is disabled in VF. Thank
> you David!
Thanks for
> -Original Message-
> From: Topel, Bjorn
> Sent: Tuesday, April 19, 2016 2:47 AM
> To: Zhang, Helin ; David Marchand
>
> Cc: dev at dpdk.org; Wu, Jingjing
> Subject: RE: [dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for
> Linux PF
> hosts
>
&
5 matches
Mail list logo