ethdev: improve API comment for MAC address addition
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 6 Aug 2020 17:19:46 +0000 (10:19 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 7 Aug 2020 11:02:10 +0000 (13:02 +0200)
The comment used the term whitelist and was awkardly written.
Replace it with simpler direct description of adding a new address.
No code or API changes for this.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_ethdev/rte_ethdev.h

index d29930f..70295d7 100644 (file)
@@ -3379,8 +3379,7 @@ int rte_eth_dev_priority_flow_ctrl_set(uint16_t port_id,
                                struct rte_eth_pfc_conf *pfc_conf);
 
 /**
- * Add a MAC address to an internal array of addresses used to enable whitelist
- * filtering to accept packets only if the destination MAC address matches.
+ * Add a MAC address to the set used for filtering incoming packets.
  *
  * @param port_id
  *   The port identifier of the Ethernet device.