[dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts

2016-04-19 Thread Zhang, Helin
> -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 > &

[dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts

2016-04-18 Thread Topel, Bjorn
>> 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

[dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts

2016-04-15 Thread Zhang, Helin
> -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

[dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts

2016-04-14 Thread Björn Töpel
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