examples: move alignment attribute on types for MSVCMove location of __rte_aligned(a) to new conventional location. The newplacement between {struct,union} and the tag allows the desiredalignment
examples: move alignment attribute on types for MSVCMove location of __rte_aligned(a) to new conventional location. The newplacement between {struct,union} and the tag allows the desiredalignment to be imparted on the type regardless of the toolchain beingused for both C and C++. Additionally, it avoids confusion by Doxygenwhen generating documentation.Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>Reviewed-by: Morten Brørup <mb@smartsharesystems.com>Acked-by: Morten Brørup <mb@smartsharesystems.com>Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
fix off-by-one errors in snprintfsnprintf guarantees to always correctly place a null terminatorin the buffer string. So manually placing a null terminatorin a buffer right after a call to snprin
fix off-by-one errors in snprintfsnprintf guarantees to always correctly place a null terminatorin the buffer string. So manually placing a null terminatorin a buffer right after a call to snprintf is redundant code.Additionally, there is no need to use 'sizeof(buffer) - 1' in snprintf as thismeans we are not using the last character in the buffer. 'sizeof(buffer)' isenough.Cc: stable@dpdk.orgSigned-off-by: Michael Santana <msantana@redhat.com>Acked-by: Bruce Richardson <bruce.richardson@intel.com>Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
examples: use SPDX tag for Intel copyright filesReplace the BSD license header with the SPDX tag for fileswith only an Intel copyright on them.Signed-off-by: Bruce Richardson <bruce.richardson@i
examples: use SPDX tag for Intel copyright filesReplace the BSD license header with the SPDX tag for fileswith only an Intel copyright on them.Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
ethdev: increase port id rangeExtend port_id definition from uint8_t to uint16_t in lib and driversdata structures, specifically rte_eth_dev_data. Modify the APIs,drivers and app using port_id at
ethdev: increase port id rangeExtend port_id definition from uint8_t to uint16_t in lib and driversdata structures, specifically rte_eth_dev_data. Modify the APIs,drivers and app using port_id at the same time.Fix some checkpatch issues from the original code and remove someunnecessary cast operations.release_17_11 and deprecation docs have been updated in this patch.Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/server_node_efd: renamed from flow_distributorTo avoid confusion with distributor app, this commitrenames the flow-distributor sample app to server_node_efd,since it shows how to use the
examples/server_node_efd: renamed from flow_distributorTo avoid confusion with distributor app, this commitrenames the flow-distributor sample app to server_node_efd,since it shows how to use the EFD library and it is basedon a server/nodes model.Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>