-----Original Message----- > Date: Tue, 14 Nov 2017 16:44:10 -0600 > From: Gage Eads <[email protected]> > To: [email protected] > CC: [email protected], [email protected], > [email protected], [email protected], [email protected], > [email protected], [email protected] > Subject: [PATCH] eventdev: set rte errno in port link/unlink functions > X-Mailer: git-send-email 2.7.4 > > The return value for rte_event_port_{link, unlink}() is defined as the > "number of {links, unlinks} actually established." However, the eventdev > layer's error checking returns negative error values. This commit aligns > the eventdev code with the API definition by having it set rte_errno and > return 0 if it detects an error. > > Fixes: 4f0804bbdfb9 ("eventdev: implement the northbound APIs") > > Signed-off-by: Gage Eads <[email protected]>
Acked-by: Jerin Jacob <[email protected]>

