[dpdk-dev] [PATCH v3] i40evf: Report error if HW CRC strip is disabled for non-DPDK PF hosts

2016-05-03 Thread Bruce Richardson
On Fri, Apr 29, 2016 at 01:42:33PM +, Zhang, Helin wrote: > > > > -Original Message- > > From: Topel, Bjorn > > Sent: Friday, April 22, 2016 1:39 PM > > To: dev at dpdk.org > > Cc: Zhang, Helin; Wu, Jingjing; Topel, Bjorn > > Subject: [PATCH v3] i40evf: Report error if HW CRC strip

[dpdk-dev] [PATCH v3] i40evf: Report error if HW CRC strip is disabled for non-DPDK PF hosts

2016-04-29 Thread Zhang, Helin
> -Original Message- > From: Topel, Bjorn > Sent: Friday, April 22, 2016 1:39 PM > To: dev at dpdk.org > Cc: Zhang, Helin; Wu, Jingjing; Topel, Bjorn > Subject: [PATCH v3] i40evf: Report error if HW CRC strip is disabled for non- > DPDK PF hosts > > On hosts running a non-DPDK PF

[dpdk-dev] [PATCH v3] i40evf: Report error if HW CRC strip is disabled for non-DPDK PF hosts

2016-04-22 Thread Björn Töpel
On hosts running a non-DPDK PF driver, the VF has no means of changing the HW CRC strip setting for a RX queue. It's implicitly enabled. This patch checks if the host is running a non-DPDK PF kernel driver, and returns an error, if HW CRC stripping was disabled. Signed-off-by: Bj?rn T?pel ---