Skip to content

Commit 5ff00bb

Browse files
shemmingerdavid-marchand
authored andcommitted
ipc: increase file descriptor maximum number
The TAP and XDP driver both are limited to only 8 queues because of the small limit imposed by EAL. Increase the limit now, since this release allows changing ABI. Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Chengwen Feng <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
1 parent 3e49a10 commit 5ff00bb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/guides/rel_notes/release_24_11.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ ABI Changes
127127
Also, make sure to start the actual text at the margin.
128128
=======================================================
129129
130+
* eal: The maximum number of file descriptors that can be passed to a secondary process
131+
has been increased from 8 to 253 (which is the maximum possible with Unix domain socket).
132+
This allows for more queues when using software devices such as TAP and XDP.
133+
130134

131135
Known Issues
132136
------------

lib/eal/include/rte_eal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ int rte_eal_primary_proc_alive(const char *config_file_path);
155155
*/
156156
bool rte_mp_disable(void);
157157

158-
#define RTE_MP_MAX_FD_NUM 8 /* The max amount of fds */
158+
#define RTE_MP_MAX_FD_NUM 253 /* The max amount of fds (see SCM_MAX_FD) */
159159
#define RTE_MP_MAX_NAME_LEN 64 /* The max length of action name */
160160
#define RTE_MP_MAX_PARAM_LEN 256 /* The max length of param */
161161
struct rte_mp_msg {

0 commit comments

Comments
 (0)