like Open VSwitch and libreswitch, and
>vendor implementations like Arista EOS, seem to disable collecting +
>distributing to when doing similar port disabling/detaching/removing change.
>With this patch kernel implementation would behave the same way and ensure
>partner doesn't consider
(figure 5-15) to exit C_D state and
go to ATTACHED state (disabling Coll/Dist).
But, either way, as this is a hint to get the link partner to
stop using the port, this looks reasonable to me.
Acked-by: Jay Vosburgh
-J
>Signed-off-by: Toni Peltonen
>---
> drivers/net/bonding
rams.ad_actor_system),
>- >params.ad_actor_system))
>+ ETH_ALEN, >params.ad_actor_system))
> goto nla_put_failure;
> }
> if (!bond_3ad_get_active_agg_info(bond, )) {
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
Chas Williams <3ch...@gmail.com> wrote:
>On 10/25/2018 05:59 PM, Jay Vosburgh wrote:
>> Chas Williams <3ch...@gmail.com> wrote:
>>
>>> netif_is_lag_port should be used to identify link aggregation ports.
>>> For this to work, we need to r
AVE)
>+ if (netif_is_lag_port(dev) || dev->flags & IFF_SLAVE)
Note that netvsc_vf_join() also uses IFF_SLAVE in order skip
IPv6 addrconf for netvsc devices; I don't believe its usage will pass
netif_is_lag_port(). It looks like the above will work, but your commit
message mentions eql as the reason for retaining the IFF_SLAVE test, and
eql isn't the only user of IFF_SLAVE in this manner.
-J
> break;
>
> if (idev && idev->cnf.disable_ipv6)
>--
>2.14.4
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
is for bonding, not team; otherwise LGTM.
Acked-by: Jay Vosburgh
-J
>Signed-off-by: Eric Dumazet
>Cc: Jay Vosburgh
>Cc: Veaceslav Falico
>Cc: Andy Gospodarek
>---
> drivers/net/bonding/bond_main.c | 11 ++-
> 1 file changed, 2 insertions(+), 9 deletions(-)
struct sk_buff *nskb = skb_clone(skb, GFP_ATOMIC);
>+
>+ if (nskb) {
>+ nskb->dev = bond->dev;
>+ netif_rx(nskb);
>+ }
> return RX_HANDLER_PASS;
>+ }
> if (bond_should_deliver_exact_match(skb, slave, bond))
> return RX_HANDLER_EXACT;
>
>--
>2.18.0.203.gfac676dfb9-goog
---
-Jay Vosburgh, jay.vosbu...@canonical.com
Mahesh Bandewar (महेश बंडेवार) wrote:
>On Thu, Jul 12, 2018 at 11:03 AM, Jay Vosburgh
> wrote:
>> Michal Soltys wrote:
>>
>>>On 07/12/2018 04:51 PM, Jay Vosburgh wrote:
>>>> Mahesh Bandewar (महेश बंडेवार) wrote:
>>>>
>>>>> On We
Michal Soltys wrote:
>On 07/12/2018 04:51 PM, Jay Vosburgh wrote:
>> Mahesh Bandewar (महेश बंडेवार) wrote:
>>
>>> On Wed, Jul 11, 2018 at 3:23 PM, Michal Soltys wrote:
>>>>
>>>> Hi,
>>>>
>>>> As weird as that sounds,
02:18 2017 -0700
bonding: deliver link-local packets with skb->dev set to link that packets
arrived on
Michal, are you able to revert this patch and test?
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ptions.c
>b/drivers/net/bonding/bond_options.c
>index 8a945c9341d6..dba6cef05134 100644
>--- a/drivers/net/bonding/bond_options.c
>+++ b/drivers/net/bonding/bond_options.c
>@@ -164,9 +164,10 @@ static const struct bond_opt_value
>bond_primary_reselect_tbl[] = {
> };
>
>
_primary_reselect_tbl[] = {
> };
>
> static const struct bond_opt_value bond_use_carrier_tbl[] = {
>- { "off", 0, 0},
>- { "on", 1, BOND_VALFLAG_DEFAULT},
>- { NULL, -1, 0}
>+ { "off", 0, 0},
>+ { "on", 1, BOND_VALFLAG_DEFAULT},
>+ { "both", 2, 0},
>+ { NULL, -1, 0}
> };
>
> static const struct bond_opt_value bond_all_slaves_active_tbl[] = {
>--
>2.17.0
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
Debabrata Banerjee wrote:
>The rx load balancing provided by balance-alb is not mutually
>exclusive with using hashing for tx selection, and should provide a decent
>speed increase because this eliminates spinlocks and cache contention.
>
>Signed-off-by: Debabrata Banerjee
Banerjee, Debabrata <dbane...@akamai.com> wrote:
>> From: Jay Vosburgh [mailto:jay.vosbu...@canonical.com]
>> Debabrata Banerjee <dbane...@akamai.com> wrote:
>
>> >- if
>> (!ether_addr
Debabrata Banerjee wrote:
>Replace homegrown mac addr checks with faster defs from etherdevice.h
>
>Signed-off-by: Debabrata Banerjee
>---
> drivers/net/bonding/bond_alb.c | 28 +---
> 1 file changed, 9 insertions(+), 19
uot; VIRTIO_NET_F_STATUS
cases, and then the existing call to netif_carrier_on for the "without"
case will cause an operstate transition.
Cc: "Michael S. Tsirkin" <m...@redhat.com>
Cc: Jason Wang <jasow...@redhat.com>
Cc: Ben Hutchings <b...@decaden
Michael S. Tsirkin <m...@redhat.com> wrote:
>On Thu, Mar 22, 2018 at 12:02:10PM +0000, Jay Vosburgh wrote:
>> Michael S. Tsirkin <m...@redhat.com> wrote:
>>
>> >On Thu, Mar 22, 2018 at 09:05:52AM +, Jay Vosburgh wrote:
>> >> Th
Michael S. Tsirkin <m...@redhat.com> wrote:
>On Thu, Mar 22, 2018 at 09:05:52AM +0000, Jay Vosburgh wrote:
>> The operstate update logic will leave an interface in the
>> default UNKNOWN operstate if the interface carrier state never changes
>> from the d
Fixes: 167c25e4c550 ("virtio-net: init link state correctly")
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
I considered resolving this by changing linkwatch_init_dev to
unconditionally call rfc2863_policy, as that would always set operstate
for all int
ally link up.
The remedy for this is to initialize new_link_state on each entry
to bond_miimon_inspect, as is already done with new_link.
Reported-by: Alex Sidorenko <alexandre.sidore...@hpe.com>
Reviewed-by: Jarod Wilson <ja...@redhat.com>
Signed-off-by: Jay Vosburgh <jay.vo
Jarod Wilson <ja...@redhat.com> wrote:
>On 2017-11-02 9:11 PM, Jay Vosburgh wrote:
[...]
>> diff --git a/drivers/net/bonding/bond_main.c
>> b/drivers/net/bonding/bond_main.c
>> index 18b58e1376f1..6f89f9981a6c 100644
>> --- a/drivers/net/bonding/bond_ma
>bond_alb_handle_active_change
>Oct 31 09:09:25 SYDC1LNX kernel: bond0: bond_set_carrier: turning carrier on
>Oct 31 09:09:25 SYDC1LNX kernel: bond0: first active interface up!
>
>Oct 31 09:09:26 SYDC1LNX kernel: bond0: bond_mii_monitor: ens3f0 current link
>state: 2
>
Alex Sidorenko <alexandre.sidore...@hpe.com> wrote:
>On 11/02/2017 12:51 AM, Jay Vosburgh wrote:
>> Jarod Wilson <ja...@redhat.com> wrote:
>>
>>> On 2017-11-01 8:35 PM, Jay Vosburgh wrote:
>>>> Jay Vosburgh <jay.vosbu...@canonical.com> wrote:
Jarod Wilson <ja...@redhat.com> wrote:
>On 2017-11-01 8:35 PM, Jay Vosburgh wrote:
>> Jay Vosburgh <jay.vosbu...@canonical.com> wrote:
>>
>>> Alex Sidorenko <alexandre.sidore...@hpe.com> wrote:
>>>
>>>> The problem has been
Jay Vosburgh <jay.vosbu...@canonical.com> wrote:
>Alex Sidorenko <alexandre.sidore...@hpe.com> wrote:
>
>>The problem has been found while trying to deploy RHEL7 on HPE Synergy
>>platform, it is seen both in customer's environment and in HPE test lab.
>>
sure where this is, but presuming that this is in the BOND_LINK_FAIL
case of the switch, it looks like both BOND_LINK_FAIL and BOND_LINK_BACK
will have the issue that if the link recovers or fails, respectively,
within the delay window (for down/updelay > 0) it won't set a
slave->new_link.
Looks like this got lost somewhere along the line, as originally
the transition back to UP (or DOWN) happened immediately, and that has
been lost somewhere.
I'll have to dig out when that broke, but I'll see about a test
patch this afternoon.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
hat absolutely
should just work. I don't think bonding cares (or should care) about
(a) - (c) for this use.
Your point (b) suggests that there are use cases other than the
above; I'm unfamiliar with any use other than wifi + ethernet, can you
elaborate?
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
pointer null");
>return ERROR_CODE
>}
In general, yes, but in this case, the condition should be
impossible to hit, so BUG_ON seems appropriate.
If bond_slave_get_rtnl/rcu() returns NULL for an actual bonding
slave, other code paths (bond_fill_slave_info, bond_handle_frame) will
likely crash before getting to this one.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
as there doesn't appear to be any way
to get into bond_option_active_slave_set for a slave prior to
bond_enslave registering the rx_handler for that slave, as these
operations are mutexed by RTNL.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
if (new_active == old_active) {
> /* do nothing */
>--
>2.7.4
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
bond->params.arp_interval = 0;
>> /* set miimon to default value */
>> bond->params.miimon = BOND_DEFAULT_MIIMON;
>> -netdev_info(bond->dev, "Setting MII monitoring interval to
>> %d\n",
>> +netdev_dbg(bond->dev, "Setting MII monitoring interval to %d\n",
>> bond->params.miimon);
>
>etc...
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
/drivers/net/bonding/bond_main.c
>@@ -2614,8 +2614,7 @@ static void bond_loadbalance_arp_mon(struct
>work_struct *work)
>rcu_read_unlock();
>
>if (do_failover || slave_state_changed) {
>- if (!rtnl_trylock())
>- goto re_arm;
>+ rtnl_lock();
>
>if (slave_state_changed) {
>bond_slave_state_change(bond);
>
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
rt P <n...@physik.uzh.ch>
>Fixes: 54ef31371407 ("[PATCH] bonding: Handle large hard_header_len")
>Fixes: fc791b633515 ("IB/ipoib: move back IB LL address into the hard header")
>Signed-off-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>
>Signed-off-by
skb->dev is changed to bonding-master. This
>patch changes this behavior for link-local packets by not changing
>the skb->dev to the bonding-master and maintaining it as it is,
>i.e. the link on which the packet arrived.
Minor nit: "looses" should be "lose
Mahesh Bandewar (महेश बंडेवार) wrote:
>On Fri, Apr 14, 2017 at 12:30 PM, Jay Vosburgh
><jay.vosbu...@canonical.com> wrote:
>>
>>
>> Chonggang Li <chonggan...@google.com> wrote:
>>
>> >Previously link-local packets excluding LACP (which are ha
not _EXACT, the packet will go
through the ptype_base packet handlers, so is the comment strictly
correct?
-J
> if (bond_should_deliver_exact_match(skb, slave, bond))
> return RX_HANDLER_EXACT;
>
>--
>2.12.2.762.g0e3151a226-goog
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ddr in its
format string. Perhaps that format would be a better choice than %pM
for this case?
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
he unimplemented "port-moved" state
>from the LACP state machine. This state is defined but never set so
>removing from the state machine logic makes code little cleaner.
>
>(d) Reduce scope of some global variables to local.
For all patches in the series:
Sign
bond_dev->max_mtu = ETH_MAX_MTU;
> bond_dev->netdev_ops = _netdev_ops;
> bond_dev->ethtool_ops = _ethtool_ops;
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
switch three drivers (sky2, atp and
>smc91c92_cs) which actually read and write it to use their own private
>copy in netdev_priv.
>
>Compile-tested with allyesconfig and allmodconfig on x86 and arm.
Reviewed-by: Jay Vosburgh <jay.vosbu...@canonical.com>
s = bond_ethtool_get_settings,
> .get_link = ethtool_op_get_link,
>+ .get_link_ksettings = bond_ethtool_get_link_ksettings,
> };
>
> static const struct net_device_ops bond_netdev_ops = {
>--
>1.7.4.4
---
-Jay Vosburgh, jay.vosbu...@canonical.com
gt;+ pr_info("%s is being deleted...\n", ifname);
>+ unregister_netdevice(bond_dev);
>+ } else {
>+ pr_err("unable to delete non-existent %s\n", ifname);
>+ res = -ENODEV;
>+ }
>+ rtnl_unlock();
> } else
> goto err_no_cmd;
>
>@@ -139,7 +170,7 @@ static ssize_t bonding_store_bonds(struct class *cls,
> return res;
>
> err_no_cmd:
>- pr_err("no command found in bonding_masters - use +ifname or
>-ifname\n");
>+ pr_err("no command found in bonding_masters - use +ifname or -ifname or
>?-ifname\n");
> return -EPERM;
> }
>
>--
>1.8.3.1
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ac ||
>+ BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)) {
> /* Set slave to master's mac address. The application already
>* set the master's mac address to that of the first slave
>*/
>--
>2.1.4
>
---
-Jay Vosburgh, jay.vosbu...@canonical.com
Ding Tianhong <dingtianh...@huawei.com> wrote:
>On 2016/8/10 7:51, Jay Vosburgh wrote:
>> Jörn Engel <jo...@purestorage.com> wrote:
>>
>>> On Tue, Aug 09, 2016 at 12:06:36PM -0700, David Miller wrote:
>>>>> On Tue, Aug 09, 2016 at 09:28:
nclude/net/bonding.h
index 6360c259da6d..ec3442b3aa83 100644
--- a/include/net/bonding.h
+++ b/include/net/bonding.h
@@ -420,6 +420,7 @@ static inline bool bond_slave_can_tx(struct slave *slave)
#define BOND_FOM_NONE 0
#define BOND_FOM_ACTIVE1
#define BOND_FOM_FOLLOW2
+#define BOND_FOM_KEEPMAC 3
#define BOND_ARP_TARGETS_ANY 0
#define BOND_ARP_TARGETS_ALL 1
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
silently loses
packets.
My tentative suggestion is that we extened fail_over_mac to
cover additional modes, as a sort of "I really know what I'm doing"
flag, and allow the enslavement to succeed when it is set. This would
require setting an additional bonding option for this situation, b
ying to copy 20 bytes (IPoIB) device address
>to a sockaddr struct that has only 16 bytes of storage.
>
>Signed-off-by: Mark Bloch <ma...@mellanox.com>
>Signed-off-by: Or Gerlitz <ogerl...@mellanox.com>
>Signed-off-by: Saeed Mahameed <sae...@mellanox.com>
Sign
elds back to the ARPHRD_ETHER related values, then we could
have an invalid dereference on the header_ops pointer if something
unloads the IB module.
-J
>> +goto err_undo_flags;
>> +}
>> +
>> +if (!slave_ops->ndo_set_mac_address ||
>> +
,
> arp->mac_dst);
Regardless of the description above, this test is insuring that
the code doesn't use the broadcast MAC address for the client. Changing
it seems like a bad thing to do, as it would cause traffic for the
client to be sent to the ethernet broadcast addres
Veli-Matti Lintu <veli-matti.li...@opinsys.fi> wrote:
>2016-07-06 0:20 GMT+03:00 Jay Vosburgh <jay.vosbu...@canonical.com>:
>> Veli-Matti Lintu <veli-matti.li...@opinsys.fi> wrote:
>>
>>>2016-06-30 14:15 GMT+03:00 Veli-Matti Lintu <veli-matti.li...@opi
Veli-Matti Lintu <veli-matti.li...@opinsys.fi> wrote:
>2016-06-30 14:15 GMT+03:00 Veli-Matti Lintu <veli-matti.li...@opinsys.fi>:
>> 2016-06-29 18:59 GMT+03:00 Jay Vosburgh <jay.vosbu...@canonical.com>:
>>> Veli-Matti Lintu <veli-matti.li...@opinsys.fi>
is not available in this mode.
>
>Is there a way to enable ARP monitor somehow?
No, there isn't. ARP monitor is not available in 802.3ad mode.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
links than
>the new aggregator.
This shouldn't happen. If the active aggregator is just as good
as some other aggregator choice, it should stay with the current active.
I suspect that both of these are edge cases arising from the
aggregators now including link down ports,
insure the correct aggregator is
active.
Reported-by: Veli-Matti Lintu <veli-matti.li...@opinsys.fi>
Fixes: 7bb11dc9f59d ("bonding: unify all places where actor-oper key needs to
be updated.")
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
drivers/net/bonding
if (active->num_of_ports < bond->params.min_links) {
+ if (__agg_active_ports(active) < bond->params.min_links) {
if (netif_carrier_ok(bond->dev)) {
netif_carrier_off(bond->dev);
goto out;
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
t;sm_vars &= ~AD_PORT_SELECTED;
}
netdev_dbg(slave->bond->dev, "Port %d changed link status to %s\n",
port->actor_port_number,
I'll test this locally and will submit a formal patch with an
update to bonding.txt tomorrow (if it works).
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
esting on a Cisco switch,
but I have an HP 2530 now; I'll test it later today or tomorrow and see
if it behaves properly, and whether your proposed patch is needed.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
zhuyj <zyjzyj2...@gmail.com> wrote:
>On 02/25/2016 09:33 PM, Jay Vosburgh wrote:
>> zhuyj <zyjzyj2...@gmail.com> wrote:
>> [...]
>>> I delved into the source code and Emil's tests. I think that the problem
>>> that this patch expects to fix occurs
inding a link state change. The performance impact
here should be minimal.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
.@intel.com>
>> Cc: Veaceslav Falico <vfal...@gmail.com>
>> Cc: dingtianhong <dingtianh...@huawei.com>
>> Fixes: 876254ae2758 ("bonding: don't call update_speed_duplex() under
>> spinlocks")
>> Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com&
, either, so
propagation to VLANs was not a consideration.
In your "real" SR-IOV sitation, is there something that
necessitates the use of fail_over_mac=active (I don't recall that SR-IOV
itself prohibits a VF from changing its MAC address), or is this being
done for other reasons?
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
es: 876254ae2758 ("bonding: don't call update_speed_duplex() under
spinlocks")
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
v2: Correct Veaceslav's email address
Note: The "Fixes" commit is the commit that makes this operation safe
again, not the commit
es: 876254ae2758 ("bonding: don't call update_speed_duplex() under
spinlocks")
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
Note: The "Fixes" commit is the commit that makes this operation safe
again, not the commit that originally introduced the race. I d
t;>
>> Fixes: aeea64ac717a ("bonding: don't trust arp requests unless active slave
>> really works")
>> Cc: Veaceslav Falico <vfal...@gmail.com>
>> Cc: Andy Gospodarek <go...@cumulusnetworks.com>
>> Signed-off-by: Jay Vosburgh <jay.vosbu...@cano
Jay Vosburgh <jay.vosbu...@canonical.com> wrote:
[...]
> Thinking about the trace again... Emil: what happens in the
>trace before this? Is there ever a call to the ixgbe_get_settings?
>Does a NETDEV_UP or NETDEV_CHANGE event ever hit the bond_netdev_event
>function?
. Once it settles down with carrier
up then the speed and duplex should be valid.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ion?
Could you describe your test that reproduces this? I'd like to
see if I can set it up locally.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ve receives the ARP reply.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
BOND_LINK_UP,
BOND_SLAVE_NOTIFY_NOW);
slave->last_link_up = jiffies;
This will make bonding recheck the link state and update the
speed and duplex after it acquires RTNL to commit a link change. This
probably still h
Nikolay Aleksandrov <niko...@cumulusnetworks.com> wrote:
>On 02/03/2016 08:05 PM, Jay Vosburgh wrote:
>> Nikolay Aleksandrov <ra...@blackwall.org> wrote:
>>
>>> From: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
>>>
>>> Curren
yet (applied to bond device when first slave shows up, and to
>slaves at 3ad bind time). After this patch changes are applied immediately
>and the new values can be used/seen after the bond's upped so it's not
>necessary anymore to release all and enslave again to see the changes.
>
>C
s unless active slave
really works")
Cc: Veaceslav Falico <vfal...@gmail.com>
Cc: Andy Gospodarek <go...@cumulusnetworks.com>
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
v2: more detail in log and comment; no code change.
drivers/net/bonding/bond_main.c |
oes?
Creating a magic whitelist of devices deep inside the 802.3ad
implementation seems less desirable.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
ly for validation
on any slave if there is a current ARP slave and it has recently sent an
ARP probe.
Fixes: aeea64ac717a ("bonding: don't trust arp requests unless active slave
really works")
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
---
drivers/net/bonding/bond_main.
zhuyj <zyjzyj2...@gmail.com> wrote:
>On 01/26/2016 08:43 AM, Jay Vosburgh wrote:
>> <zyjzyj2...@gmail.com> wrote:
>>
>>> From: Zhu Yanjun <zyjzyj2...@gmail.com>
>>>
>>> Bonding will utilize notifier callbacks to detect slave
>>&
nding.
>
>Because of link flap from the slave interface, if the notifier
>is NETDEV_UP while the actual link state is down, it is not
>necessary to continue.
>
>Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
I haven't signed off on this patch.
I've ju
C: "David S. Miller" <da...@davemloft.net>
>CC: Eric Dumazet <eduma...@google.com>
>CC: Jiri Pirko <j...@mellanox.com>
>CC: Daniel Borkmann <dan...@iogearbox.net>
>CC: Tom Herbert <t...@herbertland.com>
>CC: Jay Vosburgh <j.vosbu...@gmail.
rina Dubroca <s...@queasysnail.net>'s suggestions
from yesterday.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
}
>+ }
Also, as a functional note on this patch, the above looks like
it will spam the log repeatedly every miimon interval for as long as the
"carrier up but no speed/duplex" situation persists.
-J
> switch (slave->link)
check_dev_link(struct bonding *bond,
> if (!reporting && !netif_running(slave_dev))
> return 0;
>
>+ /* Check the speed and duplex of the slave device in 802.3ad mode. */
>+ if ((BOND_MODE(bond) == BOND_MODE_8023AD) &&
>+ !__check_speed_dupl
tem will
panic when the work function is called.
This panic is resolved by calling dev_close on the bond itself
prior to calling ether_setup.
Cc: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
Signed-off-by: Jay Vosburgh <jay.vosbu...@canonical.com>
Fixes: 7d5cd2ce5292 (&quo
= BOND_FOM_ACTIVE ||
- BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) {
+ if (bond->params.fail_over_mac != BOND_FOM_ACTIVE) {
/* restore original ("permanent") mac address */
ether_addr_copy(addr.sa_data, slave->perm_hwaddr);
addr.sa_
and this fails (because there is no ndo_set_mac).
>Is there anything I can do to try and sort this regression out, with you?
As I said, I do not believe this is a regression.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line &quo
IPv6 addrconf on IFF_SLAVE devices was disabled for bonding
slaves in commit c2edacf80e15 because it caused issues with snooping
switches.
This is also referenced in
https://bugzilla.redhat.com/show_bug.cgi?id=236750
Won't re-enabling autoconf on IFF_SLAVE devices cause that issu
I also wonder if the fail_over_mac option would affect this
behavior, as it would cause the slaves to keep their MAC address for the
duration, so the switch would not see the MAC move from port to port.
Another thought would be to have the curr_arp_slave cycle
through the slaves in r
Uwe Koziolek <uwe.kozio...@redknee.com> wrote:
>On Tue, Sep 01, 2015 at 05:41 PM +0200, Andy Gospodarek wrote:
>> On Mon, Aug 17, 2015 at 10:51:27PM +0200, Uwe Koziolek wrote:
>>> On Mon, Aug 17, 2015 at 09:14PM +0200, Jay Vosburgh wrote:
>>>> Uwe Kozio
and destroy logic.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
no chance to solve the problem. The num_grat_arp is
only used, if a different slave is going active.
But in our case, the bonding slaves are not going into the state active
for a longer time.
[jarod: manufacturing of changelog]
CC: Jay Vosburgh j.vosbu...@gmail.com
CC: Veaceslav Falico vfal
-by: Florian Westphal f...@strlen.de
Signed-off-by: David S. Miller da...@davemloft.net
[jay.vosburgh: backported to 3.14. ]
Signed-off-by: Jay Vosburgh jay.vosbu...@canonical.com
---
net/ipv4/af_inet.c | 2 +-
net/ipv4/gre_offload.c | 2 +-
net/ipv4/udp.c | 2 +-
net/ipv6/ip6_offload.c
(bond_dev, slave_dev);
else {
ether_setup(bond_dev);
+ bond_dev-flags |= IFF_MASTER;
bond_dev-priv_flags = ~IFF_TX_SKB_SHARING;
}
--
1.9.3
---
-Jay
.
Strictly speaking, with the first place applied the panic is
avoided (as the NULL return does not occur), but including the second
patch may still be prudent.
Thanks,
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line
David Miller da...@davemloft.net wrote:
From: Jay Vosburgh jay.vosbu...@canonical.com
Date: Tue, 07 Jul 2015 17:38:50 -0700
Please consider commit
When you ask me to consider commits for -stable you have to tell
me what -stable releases you want me to submit them for.
Currently I am only
GMAIL ranamazh...@gmail.com wrote:
Hi Jay,
On Friday 03 July 2015 02:12 AM, Jay Vosburgh wrote:
[ added netdev to cc ]
Mazhar Rana ranamazh...@gmail.com wrote:
When primary_reselect is set to failure, primary interface should
not become active until current active slave is up
(bond, slave, iter) {
if (slave-link == BOND_LINK_UP)
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
Ajith Adapa adapa.aj...@gmail.com wrote:
On 26 June 2015 at 07:45, Jay Vosburgh jay.vosbu...@canonical.com wrote:
echo 'module bonding =p' /sys/kernel/debug/dynamic_debug/control
Hi,
thanks for the reply.
I tried this out a bit here, and could reproduce the problem on
3.13
aggregator.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
in the kernel source
code.
It is also not feasible to add pointers in the kernel source
code to out-of-tree patches; sorry.
-J
---
-Jay Vosburgh, jay.vosbu...@canonical.com
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to majord
are you getting?
-J
---
-Jay Vosburgh, IBM Linux Technology Center, [EMAIL PROTECTED]
Signed-off-by: Stephen Hemminger [EMAIL PROTECTED]
---
Patch against current 2.6.25 version.
--- a/drivers/net/bonding/bond_alb.c 2008-02-18 20:58:53.0 -0800
+++ b/drivers/net/bonding
Andrew Morton [EMAIL PROTECTED] wrote:
Problem Description: Kernel oops whenever bonding driver with max_bonds=2
(or
2) is loaded ...
I believe this is fixed by the following (from linux-2.6):
From: Jay Vosburgh [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 18:07:45 -0800
Subject
Siim Põder [EMAIL PROTECTED] wrote:
Jay Vosburgh wrote:
Benny Amorsen [EMAIL PROTECTED] wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=430391
I know what this is, I'll fix it.
do you know when this happend, so we would know which kernel is ok to
use (not to start trying blindly
1 - 100 of 338 matches
Mail list logo