]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/rte_pmd_ixgbe.h
net/ixgbe: fix VF VLAN insert API
[dpdk.git] / drivers / net / ixgbe / rte_pmd_ixgbe.h
index 2fdf53077df8ec3494b72fdc1ff690cf3d726dd4..c2fb826157a0f15876233e85d4a4426bfbff9001 100644 (file)
@@ -99,16 +99,17 @@ int rte_pmd_ixgbe_set_vf_mac_anti_spoof(uint8_t port, uint16_t vf, uint8_t on);
  *    The port identifier of the Ethernet device.
  * @param vf
  *    ID specifying VF.
- * @param on
- *    1 - Enable VF's vlan insert.
- *    0 - Disable VF's vlan insert
+ * @param vlan_id
+ *    0 - Disable VF's vlan insert.
+ *    n - Enable; n is inserted as the vlan id.
  *
  * @return
  *   - (0) if successful.
  *   - (-ENODEV) if *port* invalid.
  *   - (-EINVAL) if bad parameter.
  */
-int rte_pmd_ixgbe_set_vf_vlan_insert(uint8_t port, uint16_t vf, uint8_t on);
+int rte_pmd_ixgbe_set_vf_vlan_insert(uint8_t port, uint16_t vf,
+               uint16_t vlan_id);
 
 /**
  * Enable/Disable tx loopback