Le 24/02/2017 à 08:23, Lu, Wenzhuo a écrit :
It is good to allow setting QoS on device, but it looks like this is a device
specific API, not a generic PMD function. I don't think any feature in DPDK
should be hardcoded to one device type.
Yes, they're private APIs.
Normally we want to support kernel PF + dpdk VF. As there's no PF - VF 
interface defined for QoS, These features cannot be implemented on VF now.
Have to put them on PF, and let PF play as a controller.
There's discussion about if we should rich PF host features. So, I put these 
functions to rte_pmd_i40e.h to show they're experimental and temporary features.

There's another thread started by Cristian for a generic QoS solution. After 
it's accepted and the PF-VF interfaces are defined by kernel driver. We can use 
a generic solution to replace this one.

Same, DPDK continues to diverge from the Linux kernel for PF capabilities. Intel did commit previously that you'll do some works for proper PF support into the kernel to avoid it. It is not happening. So, I would rather keep nack'ing such series unless:
  - either it is under experimental compilation option
  - either it is showing up into the kernel

Best regards,
  Vincent

Reply via email to