Re: [libvirt PATCH v8 2/3] Allow VF vlanid to be passed as a pointer

2022-02-02 Thread Michal Prívozník
On 2/1/22 09:28, Dmitrii Shcherbakov wrote: > There should be a way to show no intent in programming a VLAN at all > (including clearing it). This allows handling error conditions > differently when VLAN clearing is explicit (vlan id == 0) vs implicit > (vlanid == NULL - try to clear it if

[libvirt PATCH v8 2/3] Allow VF vlanid to be passed as a pointer

2022-02-01 Thread Dmitrii Shcherbakov
There should be a way to show no intent in programming a VLAN at all (including clearing it). This allows handling error conditions differently when VLAN clearing is explicit (vlan id == 0) vs implicit (vlanid == NULL - try to clear it if possible). Signed-off-by: Dmitrii Shcherbakov ---