在 2023/5/19 16:42, Ferruh Yigit 写道:
On 5/19/2023 4:00 AM, Huisong Li wrote:
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 99fe9e238b..09b2ff9e5e 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -4381,6 +4381,9 @@ int rte_eth_dev_mac_addr_remove(uint16_t port_id,
/**
   * Set the default MAC address.
+ * It replaces the address at index 0 of the MAC address list.
+ * If the address was already in the MAC address list,
+ * please remove it first.

Can you please document last sentences under '@return' as (-EEXIST)
error type?
ok, v10 send later.
.

Reply via email to