diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-07-27 10:28:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-04 07:40:12 +0400 |
commit | 8ff5105a2b9dd0ba596719b165c1827d101e5f1a (patch) | |
tree | 6d9ddf4e40cea45eefb14dd680c0f14b7db78eb8 /include/linux/if_team.h | |
parent | a86fc6b7d603992070c04bd7a8c217d55688b077 (diff) | |
download | linux-8ff5105a2b9dd0ba596719b165c1827d101e5f1a.tar.xz |
team: add support for queue override by setting queue_id for port
Similar to what bonding has. This allows to set queue_id for port so
this port will be used when skb with matching skb->queue_mapping is
going to be transmitted.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index 06495b3e7a99..33fcc20b5881 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h @@ -68,6 +68,8 @@ struct team_port { #endif s32 priority; /* lower number ~ higher priority */ + u16 queue_id; + struct list_head qom_list; /* node in queue override mapping list */ long mode_priv[0]; }; @@ -200,6 +202,8 @@ struct team { const struct team_mode *mode; struct team_mode_ops ops; + bool queue_override_enabled; + struct list_head *qom_lists; /* array of queue override mapping lists */ long mode_priv[TEAM_MODE_PRIV_LONGS]; }; |