Displaying 20 results from an estimated 37 matches for "netdev_dbg".
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...; @@ -5929,6 +5929,12 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,
> features &= ~NETIF_F_ALL_TSO;
> }
>
> + /* UFO requires that SG is present as well */
> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> + features &= ~NETIF_F_ALL_UFO;
> + }
> +
> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> !(features & NETIF_F_IP_CSUM)) {
> netdev_dbg(dev, "Dro...
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...; @@ -5929,6 +5929,12 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,
> features &= ~NETIF_F_ALL_TSO;
> }
>
> + /* UFO requires that SG is present as well */
> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> + features &= ~NETIF_F_ALL_UFO;
> + }
> +
> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> !(features & NETIF_F_IP_CSUM)) {
> netdev_dbg(dev, "Dro...
2013 Feb 06
0
[PATCH 1/4] xen/netback: shutdown the ring if it contains garbage.
...fit in the ring). If the ring
contains garbage then previously is was possible to loop over this
insane number, getting an error each time and therefore not generating
any more pending requests and therefore not exiting the loop in
xen_netbk_tx_build_gops for an externded period.
Also turn various netdev_dbg calls which no precipitate a fatal error
into netdev_err, they are rate limited because the device is shutdown
afterwards.
This fixes at least one known DoS/softlockup of the backend domain.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad....
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...core/dev.c
+++ b/net/core/dev.c
@@ -5929,6 +5929,12 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,
features &= ~NETIF_F_ALL_TSO;
}
+ /* UFO requires that SG is present as well */
+ if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
+ netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
+ features &= ~NETIF_F_ALL_UFO;
+ }
+
if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
!(features & NETIF_F_IP_CSUM)) {
netdev_dbg(dev, "Dropping TSO features since no CS...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...core/dev.c
+++ b/net/core/dev.c
@@ -5929,6 +5929,12 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,
features &= ~NETIF_F_ALL_TSO;
}
+ /* UFO requires that SG is present as well */
+ if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
+ netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
+ features &= ~NETIF_F_ALL_UFO;
+ }
+
if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
!(features & NETIF_F_IP_CSUM)) {
netdev_dbg(dev, "Dropping TSO features since no CS...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...ev_fix_features(struct net_device *dev,
> >> features &= ~NETIF_F_ALL_TSO;
> >> }
> >>
> >> + /* UFO requires that SG is present as well */
> >> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> >> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> >> + features &= ~NETIF_F_ALL_UFO;
> >> + }
> >> +
> >> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> >> !(features & NETIF_F_...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...ev_fix_features(struct net_device *dev,
> >> features &= ~NETIF_F_ALL_TSO;
> >> }
> >>
> >> + /* UFO requires that SG is present as well */
> >> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> >> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> >> + features &= ~NETIF_F_ALL_UFO;
> >> + }
> >> +
> >> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> >> !(features & NETIF_F_...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...static netdev_features_t netdev_fix_features(struct net_device *dev,
>> features &= ~NETIF_F_ALL_TSO;
>> }
>>
>> + /* UFO requires that SG is present as well */
>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
>> + features &= ~NETIF_F_ALL_UFO;
>> + }
>> +
>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
>> !(features & NETIF_F_IP_CSUM)) {
>> n...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...static netdev_features_t netdev_fix_features(struct net_device *dev,
>> features &= ~NETIF_F_ALL_TSO;
>> }
>>
>> + /* UFO requires that SG is present as well */
>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
>> + features &= ~NETIF_F_ALL_UFO;
>> + }
>> +
>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
>> !(features & NETIF_F_IP_CSUM)) {
>> n...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
...ruct net_device *dev,
>>>> features &= ~NETIF_F_ALL_TSO;
>>>> }
>>>>
>>>> + /* UFO requires that SG is present as well */
>>>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
>>>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
>>>> + features &= ~NETIF_F_ALL_UFO;
>>>> + }
>>>> +
>>>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
>>>> !(features...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
...ruct net_device *dev,
>>>> features &= ~NETIF_F_ALL_TSO;
>>>> }
>>>>
>>>> + /* UFO requires that SG is present as well */
>>>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
>>>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
>>>> + features &= ~NETIF_F_ALL_UFO;
>>>> + }
>>>> +
>>>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
>>>> !(features...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...;>>> features &= ~NETIF_F_ALL_TSO;
> >>>> }
> >>>>
> >>>> + /* UFO requires that SG is present as well */
> >>>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> >>>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> >>>> + features &= ~NETIF_F_ALL_UFO;
> >>>> + }
> >>>> +
> >>>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> >>...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...;>>> features &= ~NETIF_F_ALL_TSO;
> >>>> }
> >>>>
> >>>> + /* UFO requires that SG is present as well */
> >>>> + if ((features & NETIF_F_ALL_UFO) && !(features & NETIF_F_SG)) {
> >>>> + netdev_dbg(dev, "Dropping UFO features since no SG feature.\n");
> >>>> + features &= ~NETIF_F_ALL_UFO;
> >>>> + }
> >>>> +
> >>>> if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
> >>...
2014 Dec 17
20
[PATCH 00/10] Split UFO into v4 and v6 versions.
UFO support in the kernel applies to both IPv4 and IPv6 protocols
with the same device feature. However some devices may not be able
to support one of the offloads. For this we split the UFO offload
feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and
this series introduces NETIF_F_UFO6.
As a result of this work, we can now re-enable NETIF_F_UFO on
virtio_net devices and restore
2014 Dec 17
20
[PATCH 00/10] Split UFO into v4 and v6 versions.
UFO support in the kernel applies to both IPv4 and IPv6 protocols
with the same device feature. However some devices may not be able
to support one of the offloads. For this we split the UFO offload
feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and
this series introduces NETIF_F_UFO6.
As a result of this work, we can now re-enable NETIF_F_UFO on
virtio_net devices and restore
2013 Jan 04
31
xennet: skb rides the rocket: 20 slots
Hi Ian,
Today i fired up an old VM with a bittorrent client, trying to download some torrents.
I seem to be hitting the unlikely case of "xennet: skb rides the rocket: xx slots" and this results in some dropped packets in domU, I don''t see any warnings in dom0.
I have added some extra info, but i don''t have enough knowledge if this could/should be prevented from
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...uct net_device *dev,
[...]
> + /* UFO also needs checksumming */
> + if ((features & NETIF_F_UFO) && !(features & NETIF_F_GEN_CSUM) &&
> + !(features & NETIF_F_IP_CSUM)) {
You can use !(features & NETIF_F_V4_CSUM) instead of the last two terms.
> + netdev_dbg(dev,
> + "Dropping NETIF_F_UFO since no checksum offload features.\n");
> + features &= ~NETIF_F_UFO;
> + }
> + if ((features & NETIF_F_UFO6) && !(features & NETIF_F_GEN_CSUM) &&
> + !(features & NETIF_F_IPV6_CSUM)) {
[...]
Simila...
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...uct net_device *dev,
[...]
> + /* UFO also needs checksumming */
> + if ((features & NETIF_F_UFO) && !(features & NETIF_F_GEN_CSUM) &&
> + !(features & NETIF_F_IP_CSUM)) {
You can use !(features & NETIF_F_V4_CSUM) instead of the last two terms.
> + netdev_dbg(dev,
> + "Dropping NETIF_F_UFO since no checksum offload features.\n");
> + features &= ~NETIF_F_UFO;
> + }
> + if ((features & NETIF_F_UFO6) && !(features & NETIF_F_GEN_CSUM) &&
> + !(features & NETIF_F_IPV6_CSUM)) {
[...]
Simila...
2016 Jan 30
1
bonding (IEEE 802.3ad) not working with qemu/virtio
On 01/30/2016 07:59 AM, David Miller wrote:
> From: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
> Date: Fri, 29 Jan 2016 22:48:26 +0100
>
>> On 01/29/2016 10:45 PM, Jay Vosburgh wrote:
>>> Nikolay Aleksandrov <nikolay at cumulusnetworks.com> wrote:
>>>
>>>> On 01/25/2016 05:24 PM, Bj?rnar Ness wrote:
>>>>> As subject
2016 Jan 30
1
bonding (IEEE 802.3ad) not working with qemu/virtio
On 01/30/2016 07:59 AM, David Miller wrote:
> From: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
> Date: Fri, 29 Jan 2016 22:48:26 +0100
>
>> On 01/29/2016 10:45 PM, Jay Vosburgh wrote:
>>> Nikolay Aleksandrov <nikolay at cumulusnetworks.com> wrote:
>>>
>>>> On 01/25/2016 05:24 PM, Bj?rnar Ness wrote:
>>>>> As subject