Revision tags: v3.6-rc1 |
|
#
8ff5105a |
| 27-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
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_mappin
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>
show more ...
|
#
a86fc6b7 |
| 27-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: add per port priority option
Allow userspace to set port priority.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
69821638 |
| 27-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: add signed 32-bit team option type
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
3324d024 |
| 23-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: init error value to 0 in team_netpoll_setup()
This will ensure correct value is returned in case the port list is empty.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Reported-by: Eric Dumazet
team: init error value to 0 in team_netpoll_setup()
This will ensure correct value is returned in case the port list is empty.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Reported-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
Revision tags: v3.5 |
|
#
6c85f2bd |
| 19-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: add multiqueue support
Largely copied from bonding code.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
dc905951 |
| 18-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: refine IFF_XMIT_DST_RELEASE capability
Cloned patch of Eric Dumazet for bonding.
Some workloads greatly benefit of IFF_XMIT_DST_RELEASE capability on output net device, avoiding dirtying dst
team: refine IFF_XMIT_DST_RELEASE capability
Cloned patch of Eric Dumazet for bonding.
Some workloads greatly benefit of IFF_XMIT_DST_RELEASE capability on output net device, avoiding dirtying dst refcount.
team currently disables IFF_XMIT_DST_RELEASE unconditionally.
If all ports have the IFF_XMIT_DST_RELEASE bit set, then team dev can also have it in its priv_flags.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
bd2d0837 |
| 17-Jul-2012 |
Jiri Pirko <jiri@resnulli.us> |
team: add netpoll support
It's done in very similar way this is done in bonding and bridge.
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
Revision tags: v3.5-rc7 |
|
#
68c45042 |
| 11-Jul-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: make team_port_enabled() and team_port_txable() static inline
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
6e88e135 |
| 11-Jul-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: use function team_port_txable() for determing enabled and up port
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
Revision tags: v3.5-rc6, v3.5-rc5 |
|
#
5a1d1c8c |
| 29-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: use IFF_LIVE_ADDR_CHANGE priv_flag
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
58050fce |
| 27-Jun-2012 |
Thomas Graf <tgraf@suug.ch> |
net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new()
Using NLMSG_GOODSIZE results in multiple pages being used as nlmsg_new() will automatically add the size of the netlink header to the payl
net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new()
Using NLMSG_GOODSIZE results in multiple pages being used as nlmsg_new() will automatically add the size of the netlink header to the payload thus exceeding the page limit.
NLMSG_DEFAULT_SIZE takes this into account.
Signed-off-by: Thomas Graf <tgraf@suug.ch> Cc: Jiri Pirko <jpirko@redhat.com> Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Sergey Lapin <slapin@ossfans.org> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org> Cc: Samuel Ortiz <sameo@linux.intel.com> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
52a4fd77 |
| 26-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: do not allow to map disabled ports
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
122bb046 |
| 26-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: fix team_adjust_ops with regard to enabled ports
team_adjust_ops should check for enabled ports, not all ports. This may lead to division by zero. This patch fixes this.
Signed-off-by: Jiri P
team: fix team_adjust_ops with regard to enabled ports
team_adjust_ops should check for enabled ports, not all ports. This may lead to division by zero. This patch fixes this.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
Revision tags: v3.5-rc4 |
|
#
2fcdb2c9 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: allow to send multiple set events in one message
When multiple sets are done, event message is generated for each. This patch accumulates these messages into one.
Signed-off-by: Jiri Pirko <j
team: allow to send multiple set events in one message
When multiple sets are done, event message is generated for each. This patch accumulates these messages into one.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
35b384bd |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: ensure correct order of netlink messages delivery
currently, when port is created and per-port options are present, there options are sent to userspace with ifindex of port which userspace doe
team: ensure correct order of netlink messages delivery
currently, when port is created and per-port options are present, there options are sent to userspace with ifindex of port which userspace does not know about. Port add message goes right after.
This patch corrects message ordering so userspace would not be confused.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
9b00cf2d |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: implement multipart netlink messages for options transfers
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
4bccfd17 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: add port_[enabled/disabled] mode callbacks
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
f88725ff |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: pass NULL to __team_option_inst_add() instead of 0
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
01048d9a |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: allow to specify one option instance to be send to userspace
No need to walk through option instance list and look for ->changed == true when called knows exactly what one option instance chan
team: allow to specify one option instance to be send to userspace
No need to walk through option instance list and look for ->changed == true when called knows exactly what one option instance changed.
Also use lists to pass option instances needed to be present in netlink message.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
3221c646 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: fix error path in team_nl_fill_port_list_get()
genlmsg_cancel() needs to be called in case nest fails
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davem
team: fix error path in team_nl_fill_port_list_get()
genlmsg_cancel() needs to be called in case nest fails
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
75db986a |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: fix error path in team_nl_fill_options_get()
genlmsg_cancel() needs to be called in case nest fails
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemlo
team: fix error path in team_nl_fill_options_get()
genlmsg_cancel() needs to be called in case nest fails
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
0f1aad2b |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: allow async option changes
This patch adds two exported functions. One allows to mark option instance as changed and the second processes change check and does transfer of changed options to u
team: allow async option changes
This patch adds two exported functions. One allows to mark option instance as changed and the second processes change check and does transfer of changed options to userspace.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
85d59a87 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: push array_index and port into separate structure
Introduce struct team_option_inst_info and push option instance info there. It can be then easily passed to gsetter context and used for featu
team: push array_index and port into separate structure
Introduce struct team_option_inst_info and push option instance info there. It can be then easily passed to gsetter context and used for feature async option changes.
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
0d572e45 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: comments: s/net\/drivers\/team/drivers\/net\/team/
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
b1303326 |
| 19-Jun-2012 |
Jiri Pirko <jpirko@redhat.com> |
team: introduce array options
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|