mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-06 14:39:42 +00:00
tc: use named initializer for default mqprio options
Use C99 initializer Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
893deac4c4
commit
c4fc474b88
@ -34,9 +34,11 @@ static int mqprio_parse_opt(struct qdisc_util *qu, int argc,
|
|||||||
{
|
{
|
||||||
int idx;
|
int idx;
|
||||||
struct tc_mqprio_qopt opt = {
|
struct tc_mqprio_qopt opt = {
|
||||||
8,
|
.num_tc = 8,
|
||||||
{0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 1, 1, 3, 3, 3, 3},
|
.prio_tc_map = { 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 1, 1, 3, 3, 3, 3 },
|
||||||
1,
|
.hw = 1,
|
||||||
|
.count = { },
|
||||||
|
.offset = { },
|
||||||
};
|
};
|
||||||
|
|
||||||
while (argc > 0) {
|
while (argc > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user