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: [email protected]Signed-off-by: Michael Santana <[email protected]>Acked-by: Bruce Richardson <[email protected]>Acked-by: Anatoly Burakov <[email protected]>
show more ...
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 <[email protected]>
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 <[email protected]>Acked-by: Adrien Mazarguil <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>
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 <[email protected]>