> This patch backports the commit from the latest OVS master to OVS-2.8.
> 
> Configuring flow control at ixgbe netdev-init is throwing error in port
> start.
> For eg: without this fix, user cannot configure flow control on ixgbe dpdk
> port as below,
> 
> "
>     ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk \
>         options:dpdk-devargs=0000:05:00.1 options:rx-flow-ctrl=true "
> 
> Instead,  it must be configured as two different commands,
> 
> "
>     ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk \
>                options:dpdk-devargs=0000:05:00.1
>     ovs-vsctl set Interface dpdk0 options:rx-flow-ctrl=true "
> 
> The DPDK ixgbe driver is now validating all the 'rte_eth_fc_conf' fields
> before trying to configuring the dpdk ethdev. Hence OVS can no longer set
> the 'dont care' fields to just '0' as before. This commit make sure all
> the 'rte_eth_fc_conf' fields are populated with default values before the
> dev init.
> Also to avoid read error on unsupported ports, the flow control parameters
> are now read only when user is trying to configure/update it.
> 
> Signed-off-by: Sugesh Chandran <[email protected]>

Thanks Sugesh, I'll backport this and the 2.7 patch to the appropriate branches 
as part of today's pull request.

Ian


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to