[dpdk-dev,v4,2/3] doc: change type of return value of adding MAC addr
Checks
Commit Message
Add following lines in section of API change in release note.
If a MAC address fails to be added without this change, it is still stored
and may be regarded as a valid one. This may lead to errors in application.
The type of return value of eth_mac_addr_add_t in rte_ethdev.h is changed.
Any specific NIC also follows this change.
Signed-off-by: Wei Dai <wei.dai@intel.com>
---
doc/guides/rel_notes/release_17_05.rst | 7 +++++++
1 file changed, 7 insertions(+)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Dai
> Sent: Thursday, April 13, 2017 9:21 AM
> To: thomas.monjalon@6wind.com; harish.patil@cavium.com;
> rasesh.mody@cavium.com; stephen.hurd@broadcom.com;
> ajit.khaparde@broadcom.com; Lu, Wenzhuo <wenzhuo.lu@intel.com>; Zhang,
> Helin <helin.zhang@intel.com>; Ananyev, Konstantin
> <konstantin.ananyev@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Chen, Jing D <jing.d.chen@intel.com>; adrien.mazarguil@6wind.com;
> nelio.laranjeiro@6wind.com; Richardson, Bruce
> <bruce.richardson@intel.com>; yuanhan.liu@linux.intel.com;
> maxime.coquelin@redhat.com
> Cc: dev@dpdk.org; Dai, Wei <wei.dai@intel.com>
> Subject: [dpdk-dev] [PATCH v4 2/3] doc: change type of return value of
> adding MAC addr
>
> Add following lines in section of API change in release note.
>
> If a MAC address fails to be added without this change, it is still stored
> and may be regarded as a valid one. This may lead to errors in
> application.
> The type of return value of eth_mac_addr_add_t in rte_ethdev.h is changed.
> Any specific NIC also follows this change.
>
> Signed-off-by: Wei Dai <wei.dai@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
@@ -438,6 +438,13 @@ ABI Changes
* The ``rte_cryptodev_info.sym`` structure has new field ``max_nb_sessions_per_qp``
to support drivers which may support limited number of sessions per queue_pair.
+* **Return if the MAC address is added successfully or not.**
+
+ If a MAC address fails to be added without this change, it is still stored
+ and may be regarded as a valid one. This may lead to errors in application.
+ The type of return value of eth_mac_addr_add_t in rte_ethdev.h is changed.
+ Any specific NIC also follows this change.
+
Removed Items
-------------