MINOR: quic: rename frontend sock-per-conn setting

On frontend side, a quic_conn can have a dedicated FD or use the
listener one. These different modes can be activated via a global QUIC
tune setting.

This patch adjusts the option. First, it is renamed to the more
meaningful name 'tune.quic.fe.sock-per-conn'. Also, arguments are now
either 'default-on' or 'force-off'. The objective is to better highlight
reliationship with 'quic-socket' bind option.

The older option is deprecated and will be removed in 3.5.
This commit is contained in:
Amaury Denoyelle
2025-08-05 14:02:44 +02:00
parent a14c6cee17
commit 5bc659a4a2
6 changed files with 109 additions and 71 deletions

View File

@@ -16,8 +16,7 @@
#define QUIC_TUNE_FE_LISTEN_OFF 0x00000001
#define QUIC_TUNE_SOCK_PER_CONN 0x00000004
#define QUIC_TUNE_FE_SOCK_PER_CONN 0x00000002
#define QUIC_TUNE_FB_TX_PACING 0x00000001
#define QUIC_TUNE_FB_TX_UDP_GSO 0x00000002
@@ -43,7 +42,6 @@ struct quic_tune {
} be;
uint64_t mem_tx_max;
uint options;
};
#endif /* USE_QUIC */