On Thu, Jan 18, 2024 at 01:45:54PM +0000, Bruce Richardson wrote: > Some small rewording changes to the doxygen comments on struct > rte_event_dev_info. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > --- > lib/eventdev/rte_eventdev.c | 2 +- > lib/eventdev/rte_eventdev.h | 46 ++++++++++++++++++++----------------- > 2 files changed, 26 insertions(+), 22 deletions(-) > > diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c > index 94628a66ef..9bf7c7be89 100644 > --- a/lib/eventdev/rte_eventdev.c > +++ b/lib/eventdev/rte_eventdev.c > @@ -83,7 +83,7 @@ rte_event_dev_socket_id(uint8_t dev_id) > > rte_eventdev_trace_socket_id(dev_id, dev, dev->data->socket_id); > > - return dev->data->socket_id; > + return dev->data->socket_id < 0 ? 0 : dev->data->socket_id; > }
Apologies, this is a stray change that I thought I had rolled back, but somehow made it into the commit! Please ignore when reviewing. > <snip>