| From | Subject | Date |
|---|---|---|
| Thierry Reding | [PATCH v3] net: Add support for the OpenCores 10/100 Mbp ...
This patch adds a platform device driver that supports the OpenCores 10/100
Mbps Ethernet MAC.
The driver expects three resources: one IORESOURCE_MEM resource defines the
memory region for the core's memory-mapped registers while a second
IORESOURCE_MEM resource defines the network packet buffer space. The third
resource, of type IORESOURCE_IRQ, associates an interrupt with the driver.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Florian Fainelli ...
| Mar 26, 12:42 am 2009 |
| Joakim Tjernlund | Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to ...
yes, or scan the RX queues in prio order. However ATM there is only
one queue so it won't be a problem until one extends the driver with
several queues.
Thanks,
Jocke
--
| Mar 26, 9:55 am 2009 |
| Joakim Tjernlund | [PATCH] ucc_geth: Rework the TX logic.
The line:
if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0))
break;
in ucc_geth_tx() didn not make sense to me. Rework & cleanup
this logic to something understandable.
---
Reworked the patch according to Antons comments.
drivers/net/ucc_geth.c | 66 +++++++++++++++++++++++++++--------------------
1 files changed, 38 insertions(+), 28 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 7fc91aa..465de3a 100644
--- ...
| Mar 26, 10:44 am 2009 |
| Joakim Tjernlund | Re: [PATCH] ucc_geth: Rework the TX logic.
Exactly, I did look at using struct qe_bd *bd, but that will
affect lots of stuff. Reading the status and len in one go is
Good, I have more coming but it touches the same code so I really want
to sort out this one first.
Jocke
--
| Mar 26, 11:26 am 2009 |
| Joakim Tjernlund | [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI ...
Also set NAPI weight to 64 as this is a common value.
This will make the system alot more responsive while
ping flooding the ucc_geth ethernet interaface.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
drivers/net/ucc_geth.c | 32 ++++++++++++--------------------
drivers/net/ucc_geth.h | 1 -
2 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 097aed8..7fc91aa 100644
--- ...
| Mar 26, 5:54 am 2009 |
| Joakim Tjernlund | Re: [PATCH 2/2] ucc_geth: Rework the TX logic.
I have spent some time on it and didn't see how to do it. I don't think
the current method hides any bugs. I have used this method on 8xx for
many years and it works well.
Actually the current method might work without the
spin_lock_irq(&ugeth->lock)/spin_unlock_irq(&ugeth->lock)
in ucc_geth_start_xmit(). I can't break it, can you?
Jocke
--
| Mar 26, 11:20 am 2009 |
| Joakim Tjernlund | Re: [PATCH 2/2] ucc_geth: Rework the TX logic.
Yes, I know. I did it this way because I something broke under stress
when ugeth->confBd[txQ] instead. The ucc_geth_tx() and
ucc_geth_start_xmit()
Sure, done.
--
| Mar 26, 9:43 am 2009 |
| Joakim Tjernlund | [PATCH 2/2] ucc_geth: Rework the TX logic.
The line:
if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0))
break;
in ucc_geth_tx() didn not make sense to me. Rework & cleanup
this logic to something understandable.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
drivers/net/ucc_geth.c | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 7fc91aa..b6ebefd 100644
--- ...
| Mar 26, 5:54 am 2009 |
| Matt Domsch | Re: Network Device Naming mechanism and policy
Your wish is my command. DMTF SMBIOS 2.6 specification
http://www.dmtf.org/standards/smbios/ contains changes which provide
this for PCI devices.
Specifically, Type 9 ("System Slots") was extended to include the PCI
domain/bus/device/function for each slot. Type 10 ("On Board Devices
Information") could not be extended, thus it was deprecated, and new
Type 41 ("Onboard Devices Extended Information") was created to be
extensible and now includes PCI domain/bus/device/function
information. ...
| Mar 26, 9:39 am 2009 |
| Adam Richter | Re: 2.6.29 forcedeth hang W/O NAPI enabled
It works so far, doing "ping -f" for more than five minutes while I
browse the web, but bear in mind that I was not able to reproduce the
problem earlier with FORCEDETH_NAPI on demand. I only saw an ethernet lock up with NAPI enabled once (with the original 2.6.29 code). I
will let you know if the lockup occurs with your code.
Just to be clear which version I am now testing, I have attached a
copy of process_backlog() from my net/core/dev.c.
Adam
static int process_backlog(struct ...
| Mar 26, 4:29 pm 2009 |
| Adam Richter | 2.6.29 forcedeth hang W/O NAPI enabled
In addition to seeing the problem with CONFIG_FORCEDETH_NAPI disabled,
I have now reproduced the problem with that configuration option enabled. So, NAPI might not be the problem at all.
Adam Richter
--
| Mar 25, 5:06 pm 2009 |
| Adam Richter | Re: 2.6.29 forcedeth hang W/O NAPI enabled
Hello David,
The patch you forwarded to me seems to work. Thank you for bringing it
to my attention.
In particular linux-2.6.29 with your patch applied with CONFIG_FORCEDETH_NAPI disabled has been doing "ping -f" on the same
local computer I was tested with before for more than 5 minutes with
no problem. I am able to surf the web and compose this email in the
meantime. In the past, "ping -f" with NAPI disabled would produce the problem within about 30 seconds (with NAPI enabled, it did ...
| Mar 25, 6:20 pm 2009 |
| Adam Richter | Re: 2.6.29 forcedeth hang W/O NAPI enabled
OK. I tried your patch. It seems fine. I was able to do "ping -f" for five minutes with no problems, and surf the web during that time.
I preserving the rest of your message below, just to be clear about which patch I tested.
--
| Mar 25, 10:24 pm 2009 |
| Andrew Morton | Re: [Bugme-new] [Bug 12946] New: nfs-root fails with com ...
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
Uwe Bugla also has fingered this commit (in his inimitable way) for
causing networking to break.
--
| Mar 26, 7:53 am 2009 |
| Alan Cox | [PATCH] appletalk: this warning can go I think
Its past 2.2 ...
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk?>
---
net/appletalk/ddp.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 5abce07..3104be8 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -1571,14 +1571,10 @@ static int atalk_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr
usat->sat_family != AF_APPLETALK)
return -EINVAL;
- /* netatalk doesn't ...
| Mar 26, 1:49 pm 2009 |
| Alan Cox | [PATCH] af_rose/x25: Sanity check the maximum user frame size
Otherwise we can wrap the sizes and end up sending garbage.
Closes #10423
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
net/netrom/af_netrom.c | 6 +++++-
net/rose/af_rose.c | 4 ++++
net/x25/af_x25.c | 6 ++++++
3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
index e9c05b8..29953b0 100644
--- a/net/netrom/af_netrom.c
+++ b/net/netrom/af_netrom.c
@@ -1082,7 +1082,11 @@ static int ...
| Mar 26, 2:58 pm 2009 |
| Alexander Duyck | Re: [net-next PATCH v3] igbvf: add new driver to support ...
That isn't what I mean. The code he is referring to exists nowhere in
the igbvf driver. I suppose I can edit the igbvf commit comments so
that they don't mention the sysfs entry, but the code is in the igb
driver.
Also I just want to clarify. It isn't fair to compare igbvf to
macvlan. A better comparison would be virtio since it is meant to run
on a guest, not on the hypervisor/DOM0 OS. I have also been looking
all over for an example that is even close to what we are looking for
and ...
| Mar 25, 8:27 pm 2009 |
| Alexander Duyck | Re: [net-next PATCH v3] igbvf: add new driver to support ...
Thanks for allowing me more time, but the issue isn't the igbvf driver.
The part that Stephen is referencing will be an issue in the igb
driver. That is why I pointed him to
http://patchwork.ozlabs.org/patch/23471/ since it is the part that
contains the code that he has issues with.
Since the issue isn't the igbvf driver there is no reason for it to be
held up. If you want to revert the offending patch feel free to and
what I will do is send a patch out that just statically set the ...
| Mar 25, 5:54 pm 2009 |
| Anton Vorontsov | Re: [PATCH] ucc_geth: Rework the TX logic.
Spaces around "+"...
Also, now it's obvious that we're just reading status or buf.
So instead of these inlines we could use struct qe_bd as described
in asm/qe.h.
I.e.
struct qe_bd *bd = ...;
in_be32(&bd->buf);
in_be16(&bd->status);
Oh, wait. We can't, ucc_geth assumes status is u32, which includes
the length field, i.e. ucc_fast.h defines:
The cleanup work surely desires a separate patch, so bd2buf and
bd2status are OK, for now.
I'll test the patch as soon as I'll get ...
| Mar 26, 11:03 am 2009 |
| Anton Vorontsov | Re: [PATCH 2/2] ucc_geth: Rework the TX logic.
Hi Joakim,
camelCase should not be used in Linux.
Surely, the driver is full of camelCases... though, it should be
fixed, not encouraged further.
And btw, there is even Hungarian notation in the driver. :-(
bd == ugeth->confBd[txQ]
and
!in_be32((u32 __iomem *)(bd+4))
Are not equivalent wrt. speed. MMIO accessors should be rather
slow comparing to normal memory.
We should really do some performance tests (using gbit links).
I'll try to help you with the tests, but it might take ...
| Mar 26, 6:39 am 2009 |
| Anton Vorontsov | Re: [PATCH 2/2] ucc_geth: Rework the TX logic.
On Thu, Mar 26, 2009 at 05:43:25PM +0100, Joakim Tjernlund wrote:
Would be great if you could investigate it more. Maybe there is
a serious bug somewhere, or maybe you're introducing another
(yet hidden) bug...
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
| Mar 26, 11:05 am 2009 |
| Mr. Berkley Shands | net/core/dev.c patch 2.6.29 works
the Herbert Xu patch to dev.c works well. (2nd patch sent out for this bug)
I'm back in business. thank you.
berkley
--
// E. F. Berkley Shands, MSc//
** Exegy Inc.**
349 Marshall Road, Suite 100
St. Louis , MO 63119
Direct: (314) 218-3600 X450
Cell: (314) 303-2546
Office: (314) 218-3600
Fax: (314) 218-3601
The Usual Disclaimer follows...
This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging ...
| Mar 26, 6:56 am 2009 |
| Chuck Ebbert | [patch] xfrm: spin_lock() should be spin_unlock() in xfr ...
xfrm: spin_lock() should be spin_unlock() in xfrm_state.c
spin_lock() should be spin_unlock() in xfrm_state_walk_done().
caused by:
commit 12a169e7d8f4b1c95252d8b04ed0f1033ed7cfe2
"ipsec: Put dumpers on the dump list"
Reported-by: Marc Milgram <mmilgram@redhat.com>
Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
---
--- linux-2.6.29.noarch.orig/net/xfrm/xfrm_state.c
+++ linux-2.6.29.noarch/net/xfrm/xfrm_state.c
@@ -1615,7 +1615,7 @@ void xfrm_state_walk_done(struct xfrm_st
...
| Mar 26, 3:58 pm 2009 |
| Eric Dumazet | Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to ...
Not related to your patch, but seeing above code, I can understand
you might have a problem in flood situation : Only first queue(s) are
depleted, and last one cannot be because howmany >= budget.
This driver might have to remember last queue it handled at previous
call ucc_geth_poll(), so that all rxqueues have same probability to be scanned.
j = ug->lastslot;
for (i = 0; ug_info->numQueuesRx; i++) {
if (++j >= ug_info->numQueuesRx)
j = 0;
howmany += ucc_geth_rx(ugeth, j, budget - ...
| Mar 26, 7:15 am 2009 |
| Eric Dumazet | [RFC] niu: RX queues should rotate if budget exhausted
I dont have NIU hardware but it seems this driver could suffer from
starvation of high numbered RX queues under flood. I suspect other
multiqueue drivers might have same problem.
With a standard budget of 64, we can consume all credit when handling
first queue(s), and last queues might discard packets.
Solve this by rotating the starting point, so that we garantee to scan at
least one new queue at each niu_poll_core() invocation, even under stress.
Also, change logic calling ...
| Mar 26, 11:26 am 2009 |
| David Miller | Re: [PATCH] net: fix unaligned memory accesses in ASIX
From: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
The unpacker is taking a set of packet(s) in a USB buffer
and copying them into SKB's right? That code should be where
the offset is checked in the child driver, and adjustments
made as-needed.
This code seems to call the downstream driver callback after
the damage is done. I think it needs to ask the driver to
look for and indicate the offset before the building of the
SKB is performed.
--
| Mar 26, 2:00 am 2009 |
| David Miller | Re: 2.6.29 forcedeth hang W/O NAPI enabled
From: Adam Richter <adam_richter2004@yahoo.com>
Adam, first of all, you don't need to subscribe then unsubscribe
from this mailing list just to post your report. I just saw you
do that.
We're not nazis and you can post to this mailing list without being a
member. :-)
Second of all, please look at my reply to your original report,
there is a patch there for you to test.
--
| Mar 25, 5:08 pm 2009 |
| David Miller | Re: [GIT]: Networking for 2.6.30
From: David Miller <davem@davemloft.net>
Just FYI, I've just pushed a merge of the changes you pulled in today
Thanks!
--
| Mar 26, 3:25 pm 2009 |
| David Miller | Re: [net-next PATCH 2/3] e1000: cleanup clean_tx_irq rou ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:02 am 2009 |
| David Miller | Re: gianfar: reallocate skb when headroom is not enough ...
Applied, thanks!
--
| Mar 25, 5:21 pm 2009 |
| David Miller | Re: [PATCH 3/3] netfilter: fix nf_logger name in ebt_ulog.
From: Eric Leblond <eric@inl.fr>
Applied.
--
| Mar 26, 1:04 am 2009 |
| David Miller | Re: [net-next PATCH v3] igbvf: add new driver to support ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
I disagree, I think both cases should be fixed.
Just because we do something already never means that it's
ok to proliferate the mistake further.
--
| Mar 25, 8:12 pm 2009 |
| David Miller | Re: [PATCH] bonding: select current active slave when en ...
From: Jiri Pirko <jpirko@redhat.com>
Looks good, applied, thanks!
--
| Mar 25, 5:24 pm 2009 |
| David Miller | Re: [PATCH] bonding: allow bond in mode balance-alb to w ...
From: Jiri Pirko <jpirko@redhat.com>
I'll let you guys discuss this some more.
It looks like we could have some more tweaks before this patch is
finalized.
--
| Mar 25, 5:24 pm 2009 |
| David Miller | Re: [PATCH 1/2] r6040: Fix second PHY address
From: Florian Fainelli <florian@openwrt.org>
Applied.
--
| Mar 25, 5:19 pm 2009 |
| David Miller | Re: [net-next PATCH 1/4] e1000e: commonize tx cleanup ro ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:12 am 2009 |
| David Miller | Re: 2.6.29 forcedeth hang W/O NAPI enabled
From: Adam Richter <adam_richter2004@yahoo.com>
We're pretty sure we know exactly what commit causes this.
Can you try playing with a patch Jarek P. just posted in
the thread where this bug is being discussed? (Subject:
Revert "gro: Fix legacy path napi_complete crash"):
diff --git a/net/core/dev.c b/net/core/dev.c
index e3fe5c7..cf53c24 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2589,7 +2589,11 @@ static int process_backlog(struct napi_struct *napi, int quota)
skb = ...
| Mar 25, 5:05 pm 2009 |
| David Miller | Re: [net-next PATCH] ixgbe: Allow Priority Flow Control ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:14 am 2009 |
| David Miller | Re: 2.6.29 forcedeth hang W/O NAPI enabled
From: Adam Richter <adam_richter2004@yahoo.com>
Thanks for testing.
--
| Mar 25, 8:14 pm 2009 |
| David Miller | Re: [net-next PATCH v3] igbvf: add new driver to support ...
From: Roland Dreier <rdreier@cisco.com>
I am saying I made a mistake when merging that.
Can we continue forward now?
Thanks.
--
| Mar 25, 8:33 pm 2009 |
| David Miller | Re: [PATCH 2/3] netfilter: fix warning in ebt_ulog init ...
From: Eric Leblond <eric@inl.fr>
Applied.
--
| Mar 26, 1:04 am 2009 |
| David Miller | Re: [PATCH net-2.6 ] core: remove unneeded include in ne ...
From: Rami Rosen <ramirose@gmail.com>
Applied.
--
| Mar 26, 1:12 am 2009 |
| David Miller | Re: [PATCH 2/2] Bump release date to 25Mar2009 and versi ...
From: Florian Fainelli <florian@openwrt.org>
Also applied, thanks.
--
| Mar 25, 5:19 pm 2009 |
| David Miller | [GIT]: Networking for 2.6.30
DQpUaGVzZSBhcmUgdGhlIG5ldHdvcmtpbmcgdXBkYXRlcyBmb3IgMi42LjMwDQoNClRoZSBzYWZl
c3QgZml4IGZvciB0aGUgR1JPIHN0aW5rZXIgSW5nbyBhbmQgb3RoZXJzIHJhbiBpbnRvDQppcyBo
ZXJlIGFzIHdlbGwsIGFuZCBJIHdpbGwgcHVzaCB0aGF0IHRvIC1zdGFibGUgb25jZSBpdA0KaGl0
cyB5b3VyIHRyZWUuDQoNClNvbWUgbm90YWJsZSBpdGVtczoNCg0KMSkgTG90cyBvZiBuZXRfZGV2
aWNlX29wcyBjb252ZXJzaW9ucywgd2UgYXJlIGNsb3NlIHRvIGJlaW5nDQogICB3aGVyZSB3ZSBj
YW4gcmVtb3ZlIHRoZSBjb21wYXRpYmlsaXR5IGNvZGUuICBUaGVyZSBhcmUgc29tZQ0KICAgcGxh
dGZvcm0gc3BlY2lmaWMgbmV0d29yayBkcml2ZXJz ...
| Mar 26, 2:07 am 2009 |
| David Miller | Re: RDMA/nes: Fix mis-merge
From: Roland Dreier <rdreier@cisco.com>
Looks good, Linus please apply:
--
| Mar 26, 4:31 pm 2009 |
| David Miller | Re: [GIT]: Networking for 2.6.30
From: Linus Torvalds <torvalds@linux-foundation.org>
Will do.
--
| Mar 26, 4:00 pm 2009 |
| David Miller | Re: [PATCH] bridge: bad error handling when adding inval ...
From: Stephen Hemminger <shemminger@vyatta.com>
Applied, thanks.
--
| Mar 25, 9:01 pm 2009 |
| David Miller | Re: [net-next PATCH v3] igbvf: add new driver to support ...
From: Alexander Duyck <alexander.duyck@gmail.com>
I know it's in the igb driver, I fully understand that.
And I'm saying it was a mistake to merge that, it slipped past
me in my review of that change, and we need to move forward
and get rid of this thing.
--
| Mar 25, 8:34 pm 2009 |
| David Miller | Re: [net-next PATCH 2/4] e1000e: fix loss of multicast packets
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:12 am 2009 |
| David Miller | Re: [PATCH] net: fix unaligned memory accesses in ASIX
From: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
It's a u32 whether you like it or not. Please don't
change away from fixed sized types.
Also isn't there a way we can prefixed what this packet
offset is going to be? If so, we can adjust the skb_reserve()
call the generic USB net code uses.
Thanks.
--
| Mar 26, 1:08 am 2009 |
| David Miller | Re: [net-next PATCH 3/3] e1000: fix close race with interrupt
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:02 am 2009 |
| David Miller | Re: [PATCH v2] net: Add support for the OpenCores 10/100 ...
From: Thierry Reding <thierry.reding@avionic-design.de>
I have some issues with the CONFIG_MII tests.
It seems better to just "select MII" in the Kconfig entry for this
driver. So could you please do that instead? I don't see how this
chip could possible work and obtain a link without the MII interface
being setup properly.
Besides, the ifdefs are ugly :-)
Other than this, the driver looks great. Please fix up this MII
issue and I will add the driver to my tree.
Thanks!
--
| Mar 25, 5:18 pm 2009 |
| David Miller | Re: [net-next PATCH 3/4] e1000e: fix close interrupt race
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:12 am 2009 |
| David Miller | Re: [PATCH 1/3] netfilter: fix warning about invalid con ...
From: Eric Leblond <eric@inl.fr>
Applied.
--
| Mar 26, 1:03 am 2009 |
| David Miller | Re: [PATCH v3] net: Add support for the OpenCores 10/100 ...
From: David Miller <davem@davemloft.net>
Actually the problem is that you're using deprecated interfaces which
have been removed in net-next-2.6, please use napi_*() instead of
netif_rx_*().
| Mar 26, 12:58 am 2009 |
| David Miller | Re: [net-next PATCH 4/4] e1000e: update version number
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:12 am 2009 |
| David Miller | Re: [PATCH v3] net: Add support for the OpenCores 10/100 ...
From: Thierry Reding <thierry.reding@avionic-design.de>
This doesn't build:
drivers/net/ethoc.c: In function ‘ethoc_interrupt’:
drivers/net/ethoc.c:510: error: implicit declaration of function ‘netif_rx_schedule_prep’
drivers/net/ethoc.c:511: error: implicit declaration of function ‘__netif_rx_schedule’
drivers/net/ethoc.c: In function ‘ethoc_poll’:
drivers/net/ethoc.c:550: error: implicit declaration of function ‘netif_rx_complete’
You are missing some header includes.
| Mar 26, 12:55 am 2009 |
| David Miller | Re: [net-next PATCH 1/3] e1000: fix tx hang detect logic ...
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied.
--
| Mar 26, 1:01 am 2009 |
| David Miller | Re: [net-next PATCH v3] igbvf: add new driver to support ...
From: Yu Zhao <yu.zhao@intel.com>
We have a generic link creation mechanism in rtnl_link so I think
this claim wrt. SR-IOV is false.
Believe it or not, somebody took the time to make a generic mechanism
for things many virtual network device drivers have to do, and
igb/igbvf can use it too.
--
| Mar 25, 8:16 pm 2009 |
| Dan Williams | Re: Network Device Naming mechanism and policy
USB devices do have a serial number field in the descriptors, but that
only sometimes gets populated with sensible values. More often than not
it's just zeros. But worth checking if the MAC isn't set yet.
Dan
--
| Mar 26, 1:17 pm 2009 |
| Dan Williams | Re: Network Device Naming mechanism and policy
nm-applet could support some sort of "named" adapters, though I'd rather
have this done with udev rules (or something like that) so that the
NIC's common name would be consistent in both the CLI and in the GUI.
The only reason nm-applet does what it does now (pulling VID/PID and
dropping stupid words like "Corporation") is so the user has *some* clue
what NIC they are about to touch; using "eth0" and "eth1" and "eth2"
isn't very helpful. But the distinction between "Intel Gigabit
Ethernet" ...
| Mar 26, 1:16 pm 2009 |
| Eric Leblond | [PATCH 2/3] netfilter: fix warning in ebt_ulog init function.
The ebt_ulog module does not follow the fixed convention about function
return. Loading the module is triggering the following message:
sys_init_module: 'ebt_ulog'->init suspiciously returned 1, it should follow 0/-E convention
sys_init_module: loading module anyway...
Pid: 2334, comm: modprobe Not tainted 2.6.29-rc5edenwall0-00883-g199e57b #146
Call Trace:
[<c0441b81>] ? printk+0xf/0x16
[<c02311af>] sys_init_module+0x107/0x186
[<c0202cfa>] syscall_call+0x7/0xb
The following patch fixes ...
| Mar 26, 12:59 am 2009 |
| Eric Leblond | [PATCH 1/3] netfilter: fix warning about invalid const usage
This patch fixes the declaration of the logger structure in ebt_log
and ebt_ulog: I forgot to remove the const option from their declaration
in the commit ca735b3aaa945626ba65a3e51145bfe4ecd9e222 ("netfilter:
use a linked list of loggers").
Pointed-out-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Leblond <eric@inl.fr>
---
net/bridge/netfilter/ebt_log.c | 2 +-
net/bridge/netfilter/ebt_ulog.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git ...
| Mar 26, 12:59 am 2009 |
| Eric Leblond | [PATCH 3/3] netfilter: fix nf_logger name in ebt_ulog.
This patch renames the ebt_ulog nf_logger from "ulog" to "ebt_ulog" to
be in sync with other modules naming. As this name was currently only
used for informational purpose, the renaming should be harmless.
Signed-off-by: Eric Leblond <eric@inl.fr>
---
net/bridge/netfilter/ebt_ulog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c
index ac6fa43..133eeae 100644
--- ...
| Mar 26, 12:59 am 2009 |
| Eric Leblond | Re: linux-next: net tree build warnings
Hi Stephen,
og_unregister' discards qualifiers from pointer target type
Thanks a lot for pointing this. I stupidely forgot to build this module
during my testing.
I've made the necessary modifications and a patch fixing this will
follow this mail.
Doing some testing of the ebt_ulog module, I've found some problems. One
of them was the following messages:
sys_init_module: 'ebt_ulog'->init suspiciously returned 1, it should
follow 0/-E convention
sys_init_module: loading module ...
| Mar 26, 12:50 am 2009 |
| Jay Vosburgh | Re: [PATCH] bonding: allow bond in mode balance-alb to w ...
Jiri: not trying to be pushy, but you didn't address the above
question about the VLAN path, and I just want to make sure that you saw
it (it was at the bottom of a long email, so I fear you may not have
seen it).
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
--
| Mar 25, 5:34 pm 2009 |
| Cyrill Gorcunov | Re: [RFC v2 5/7] net: netfilter conntrack - add per-net ...
ok, I'm almost sending them (last compile test on every patch,
please give me a few minutes)
Cyrill
--
| Mar 26, 8:51 am 2009 |
| Cyrill Gorcunov | Re: [RFC v2 5/7] net: netfilter conntrack - add per-net ...
Yes, no problem, wait a bit please.
Btw, I think the bestest way (and surely more clean)
would be to use some new form of the sysctl templates.
But I didn't find such a form of writting which would
sutisfy me. Since you said those enums are written in
stone it's safe to use iterative fasion indeed but
as I see you found them not that "pretty" too :)
On the other hand -- if per-net initialization is not
that critical in speed (ie some speed could be sacrificed
for the code clarity -- I ...
| Mar 26, 8:37 am 2009 |
| Herbert Xu | Re: TX time stamping
That could be awkward. What if the second or subsequent instance
I was thinking of the sender keeping hold of the sent skb and
Could you give the main usage scenarios for timestamps, including
what the user-space app does with the info?
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Mar 26, 7:48 am 2009 |
| Herbert Xu | Re: 2.6.29 forcedeth hang W/O NAPI enabled
Thanks for testing! Since you also have a forcedeth card, could
you try rebuilding your kernel with FORCEDETH_NAPI enabled and
Yep it's the right one.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Mar 25, 11:58 pm 2009 |
| Herbert Xu | Re: 2.6.29 forcedeth hang W/O NAPI enabled
Hi Adam:
Any chance you can test this patch instead of the previous one?
net: Fix netpoll lockup in legacy receive path
When I fixed the GRO crash in the legacy receive path I used
napi_complete to replace __napi_complete. Unfortunately they're
not the same when NETPOLL is enabled, which may result in us
not calling __napi_complete at all.
What's more, we really do need to keep the __napi_complete call
within the IRQ-off section since in theory an IRQ can occur in
between and fill up ...
| Mar 25, 8:36 pm 2009 |
| Jeff Kirsher | [net-next PATCH 1/4] e1000e: commonize tx cleanup routin ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This change updates the e1000e tx cleanup routine to more closely match
what already exists in igb and e1000.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/e1000e/netdev.c | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 15424ba..1797412 ...
| Mar 26, 1:05 am 2009 |
| Jeff Kirsher | [net-next PATCH 3/4] e1000e: fix close interrupt race
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
As noticed by Alan Cox, it is possible for e1000e to exit its interrupt
handler or NAPI with interrupts enabled even when the driver is unloading or
being configured administratively down.
fix related to fix for: http://bugzilla.kernel.org/show_bug.cgi?id=12876
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Mar 26, 1:05 am 2009 |
| Jeff Kirsher | [net-next PATCH] ixgbe: Allow Priority Flow Control sett ...
From: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
When changing DCB parameters, ixgbe needs to have the MAC reset. The way
the flow control code is setup today, PFC will be disabled on a reset.
This patch adds a new flow control type for PFC, and then has the netlink
layer take care of toggling which type of flow control to enable.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
...
| Mar 26, 1:10 am 2009 |
| Jeff Kirsher | [net-next PATCH 2/4] e1000e: fix loss of multicast packets
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
e1000e (and e1000, igb, ixgbe, ixgb) all do a series of operations each
time a multicast address is added. The flow goes something like
1) stack adds one multicast address
2) stack passes whole current list of unicast and multicast addresses to
driver
3) driver clears entire list in hardware
4) driver programs each multicast address using iomem in a loop
This was causing multicast packets to be lost during the ...
| Mar 26, 1:05 am 2009 |
| Jeff Kirsher | [net-next PATCH 1/3] e1000: fix tx hang detect logic and ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch changes the dma mapping to better support
skb_dma_map/skb_dma_unmap and addresses and redefines the tx hang logic to
be based off of time stamp instead of if the dma field is populated
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/e1000/e1000_main.c | 55 ++++++++++++++++++++++------------------
1 files changed, 30 insertions(+), 25 ...
| Mar 26, 12:58 am 2009 |
| Jeff Kirsher | [net-next PATCH 2/3] e1000: cleanup clean_tx_irq routine ...
From: Alexander Duyck <alexander.h.duyck@intel.com>
The tx cleanup routine was stopping after 64 packets and this was causing
issues resulting in the ring not being completely cleaned.
This change updates the driver to clean the entire ring and if it doesn't
it then will retry on the next pass.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/e1000/e1000_main.c | 21 +++++++++------------
1 files ...
| Mar 26, 12:59 am 2009 |
| Jeff Kirsher | [net-next PATCH 3/3] e1000: fix close race with interrupt
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
this is in regards to
http://bugzilla.kernel.org/show_bug.cgi?id=12876
where it appears that e1000 can leave its interrupt enabled after
exiting the driver. Fix the bug by making the interrupt enable
paths more aware of the driver exiting.
Thanks to Alan Cox for the poke and initial investigation.
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher ...
| Mar 26, 12:59 am 2009 |
| Jeff Kirsher | [net-next PATCH 4/4] e1000e: update version number
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/e1000e/netdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index b4ae046..bfb2d6c 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -48,7 +48,7 @@
#include "e1000.h"
-#define ...
| Mar 26, 1:06 am 2009 |
| Jesper Nilsson | ipv6: Plug sk_buff leak in ipv6_rcv (net/ipv6/ip6_input.c)
Hi,
Commit 778d80be52699596bf70e0eb0761cf5e1e46088d
(ipv6: Add disable_ipv6 sysctl to disable IPv6 operaion on specific interface)
seems to have introduced a leak of sk_buff's for ipv6 traffic,
at least in some configurations where idev is NULL, or when ipv6
is disabled via sysctl.
The problem is that if the first condition of the if-statement
returns non-NULL, it returns an skb with only one reference,
and when the other conditions apply, execution jumps to the "out"
label, which does not ...
| Mar 26, 5:38 am 2009 |
| Jesper Krogh | niu driver - Transmit timed out - 2.6.29
Ok. I was just so happy .. (See "Status update on Sun Neptune 10Gbit
driver earlier).
But then it "blew up" again:
Mar 26 13:25:49 hest kernel: [25335.505049] ------------[ cut here
]------------
Mar 26 13:25:49 hest kernel: [25335.505055] WARNING: at
net/sched/sch_generic.c:226 dev_watchdog+0x1fd/0x210()
Mar 26 13:25:49 hest kernel: [25335.505057] Hardware name: Sun Fire X4600 M2
Mar 26 13:25:49 hest kernel: [25335.505059] NETDEV WATCHDOG: eth4 (niu):
transmit timed out
Mar 26 ...
| Mar 26, 5:44 am 2009 |
| Jiri Pirko | [PATCH] bonding: allow bond in mode balance-alb to work ...
(resend, updated changelog, hook moved into skb_bond_should_drop,
skb_bond_should_drop ifdefed)
Hi all.
The problem is described in following bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=487763
Basically here's what's going on. In every mode, bonding interface uses the same
mac address for all enslaved devices (except fail_over_mac). Only balance-alb
will simultaneously use multiple MAC addresses across different slaves. When you
put this kind of bond device into a bridge it will ...
| Mar 26, 8:52 am 2009 |
| Jiri Pirko | Re: [PATCH] bonding: allow bond in mode balance-alb to w ...
Don't worry :) I did not forget about this - just needed a bit time to
investigate...
Yeah, this look's like a problem. In __vlan_hwaccel_rx there is following line:
skb->dev = vlan_group_get_device(grp, vlan_tci & VLAN_VID_MASK);
This rewrites the dev so latter on when netif_receive_skb is called the hook
will be not called (because dev->master will not be set).
Ok I will put the hook inside the skb_bond_should_drop() - it seems like a
correct solution...
--
| Mar 26, 4:12 am 2009 |
| Patrick McHardy | Re: [RFC v2 5/7] net: netfilter conntrack - add per-net ...
I just like the code structure with all definitions and initializations
at the top better. But that obviously isn't possible with network
For now lets just get this stuff in since I think its about the last
bits for full netfilter namespace support. I'll happily take further
cleanups of course, but I don't think its worth delaying this any
longer.
--
| Mar 26, 8:46 am 2009 |
| Patrick McHardy | netlink 05/12: add nla_policy_len()
commit e487eb99cf9381a4f8254fa01747a85818da612b
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 18:26:30 2009 +0100
netlink: add nla_policy_len()
It calculates the max. length of a Netlink policy, which is usefull
for allocating Netlink buffers roughly the size of the actual
message.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
diff --git a/include/net/netlink.h ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 06/12: limit the length of the helper name
commit af9d32ad6718b9a80fa89f557cc1fbb63a93ec15
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 18:44:01 2009 +0100
netfilter: limit the length of the helper name
This is necessary in order to have an upper bound for Netlink
message calculation, which is not a problem at all, as there
are no helpers with a longer name.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Patrick McHardy ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 10/12: nf_conntrack: add generic function to g ...
commit 5c0de29d06318ec8f6e3ba0d17d62529dbbdc1e8
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 21:52:17 2009 +0100
netfilter: nf_conntrack: add generic function to get len of generic policy
Usefull for all protocols which do not add additional data, such
as GRE or UDPlite.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
diff --git ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: [patch 1/1] ctnetlink: compute generic part of event ...
Applied, thanks Holger.
--
| Mar 26, 5:38 am 2009 |
| Patrick McHardy | ctnetlink 12/12: compute generic part of event more acurately
commit d271e8bd8c60ce059ee36d836ba063cfc61c3e21
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Thu Mar 26 13:37:14 2009 +0100
ctnetlink: compute generic part of event more acurately
On a box with most of the optional Netfilter switches turned off some
of the NLAs are never send, e. g. secmark, mark or the conntrack
byte/packet counters. As a worst case scenario this may possibly
still lead to ctnetlink skbs being reallocated in netlink_trim()
...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: Passive OS fingerprint xtables match.
Please get rid of the connector remains.
The decision whether to still merge it in this window is up to Dave.
I already have some late-comers queued up that I hope to still get
in and I don't want to unnecessarily decrease my chances :)
--
| Mar 26, 7:18 am 2009 |
| Patrick McHardy | netfilter 11/12: nf_conntrack: calculate per-protocol nl ...
commit a400c30edb1958ceb53c4b8ce78989189b36df47
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 21:53:39 2009 +0100
netfilter: nf_conntrack: calculate per-protocol nlattr size
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
index 8b681f2..7d2ead7 100644
--- ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 08/12: nf_conntrack: use SLAB_DESTROY_BY_RCU a ...
commit ea781f197d6a835cbb93a0bf88ee1696296ed8aa
Author: Eric Dumazet <dada1@cosmosbay.com>
Date: Wed Mar 25 21:05:46 2009 +0100
netfilter: nf_conntrack: use SLAB_DESTROY_BY_RCU and get rid of call_rcu()
Use "hlist_nulls" infrastructure we added in 2.6.29 for RCUification of UDP & TCP.
This permits an easy conversion from call_rcu() based hash lists to a
SLAB_DESTROY_BY_RCU one.
Avoiding call_rcu() delay at nf_conn freeing time has numerous gains.
...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 00/12: Netfilter fixes/2.6.30 update part II
Hi Dave,
following are a few late netfilter patches and fixes for 2.6.30, containing:
- Eric's patch to use SLAB_DESTROY_BY_RCU in conntrack, which reduces
the conntrack size and avoids temporarily exceeding the configured
maximum amount of entries before the RCU threshold kicks in.
- another patch from Eric to factorize the optimized ifname comparisons
- a fix from Eric to use hlist_add_head_rcu in nf_conntrack_set_hashsize()
to avoid a race condition
- a number of patches from ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: Passive OS fingerprint xtables match.
nfnetlink also supports notifications. Please get rid of this,
it should be no problem to resurrect the necessary parts later
Will do.
--
| Mar 26, 8:08 am 2009 |
| Patrick McHardy | netfilter 04/12: ctnetlink: add callbacks to the per-pro ...
commit d0dba7255b541f1651a88e75ebdb20dd45509c2f
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 18:24:48 2009 +0100
netfilter: ctnetlink: add callbacks to the per-proto nlattrs
There is added a single callback for the l3 proto helper. The two
callbacks for the l4 protos are necessary because of the general
structure of a ctnetlink event, which is in short:
CTA_TUPLE_ORIG
<l3/l4-proto-attributes>
CTA_TUPLE_REPLY
...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: Passive OS fingerprint xtables match.
Thanks. I'll wait for Dave's decision before applying it.
--
| Mar 26, 8:47 am 2009 |
| Patrick McHardy | netfilter 03/12: factorize ifname_compare()
commit b8dfe498775de912116f275680ddb57c8799d9ef
Author: Eric Dumazet <dada1@cosmosbay.com>
Date: Wed Mar 25 17:31:52 2009 +0100
netfilter: factorize ifname_compare()
We use same not trivial helper function in four places. We can factorize it.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index e8e08d0..72918b7 100644
--- ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 01/12: fix xt_LED build failure
commit a9a9adfe2f99ddadfb574a098392a007970a1577
Author: Patrick McHardy <kaber@trash.net>
Date: Wed Mar 25 17:21:34 2009 +0100
netfilter: fix xt_LED build failure
net/netfilter/xt_LED.c:40: error: field netfilter_led_trigger has incomplete type
net/netfilter/xt_LED.c: In function led_timeout_callback:
net/netfilter/xt_LED.c:78: warning: unused variable ledinternal
net/netfilter/xt_LED.c: In function led_tg_check:
net/netfilter/xt_LED.c:102: error: implicit ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 07/12: {ip,ip6,arp}_tables: fix incorrect loop ...
commit 1f9352ae2253a97b07b34dcf16ffa3b4ca12c558
Author: Patrick McHardy <kaber@trash.net>
Date: Wed Mar 25 19:26:35 2009 +0100
netfilter: {ip,ip6,arp}_tables: fix incorrect loop detection
Commit e1b4b9f ([NETFILTER]: {ip,ip6,arp}_tables: fix exponential worst-case
search for loops) introduced a regression in the loop detection algorithm,
causing sporadic incorrectly detected loops.
When a chain has already been visited during the check, it is treated as
...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | netfilter 02/12: nf_conntrack: use hlist_add_head_rcu() ...
commit 78f3648601fdc7a8166748bbd6d0555a88efa24a
Author: Eric Dumazet <dada1@cosmosbay.com>
Date: Wed Mar 25 17:24:34 2009 +0100
netfilter: nf_conntrack: use hlist_add_head_rcu() in nf_conntrack_set_hashsize()
Using hlist_add_head() in nf_conntrack_set_hashsize() is quite dangerous.
Without any barrier, one CPU could see a loop while doing its lookup.
Its true new table cannot be seen by another cpu, but previous table is still
readable.
Signed-off-by: Eric ...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: [RFC v2 5/7] net: netfilter conntrack - add per-net ...
I guess this isn't going to get any prettier :) Could you please
send me the latest version of the missing patches against the current
nf-next tree?
--
| Mar 26, 8:13 am 2009 |
| Patrick McHardy | netfilter 09/12: ctnetlink: allocate right-sized ctnetlink skb
commit 2732c4e45bb67006fdc9ae6669be866762711ab5
Author: Holger Eitzenberger <holger@eitzenberger.org>
Date: Wed Mar 25 21:50:59 2009 +0100
netfilter: ctnetlink: allocate right-sized ctnetlink skb
Try to allocate a Netlink skb roughly the size of the actual
message, with the help from the l3 and l4 protocol helpers.
This is all to prevent a reallocation in netlink_trim() later.
The overhead of allocating the right-sized skb is rather small, with
...
| Mar 26, 12:02 pm 2009 |
| Patrick McHardy | Re: [net-next PATCH v3] igbvf: add new driver to support ...
So what are these missing features in the existing interfaces?
--
| Mar 26, 6:05 am 2009 |
| Patrick McHardy | Re: linux-next: net tree build warnings
Same here, I seem to have accidentally disabled bridging in my test
builds, sorry.
--
| Mar 26, 6:17 am 2009 |
| Lorenzo Allegrucci | Re: [GIT]: Networking for 2.6.30
Hi David, I know that I should ask to the ath5k developers but..
when we'll have a fully working ath5k driver for AP mode?
I think this would a very nice feature to have and quite urgent
to definitely migrate from the old madwifi drivers.
--
| Mar 26, 2:41 am 2009 |
| Marcel Holtmann | Creating an Ethernet subtype setting
Hi guys,
so we have more and more subsystem that expose themselves as Ethernet
networking devices and it really becomes hard to identify them in an
easy way. For example WiFi has been an Ethernet device since a long time
now and distinguishing between Ethernet and WiFi is not that hard since
we have the good old WEXT ioctls to identify WiFi devices. However with
WiMAX, Bluetooth, GSM/CDMA modems and even Ethernet bridge devices, it
would be nice to have an easy way to identify them. Since it ...
| Mar 26, 5:41 am 2009 |
| Patrick Ohly | Re: TX time stamping
The sender must be prepared for packet loss anyway (for example, during
stress tests I have seen that packets were dropped between socket layer
and device driver).
Getting a TX time stamp only for some, but not all expected interfaces,
or getting some results much later isn't that different.
After a certain timeout the sender must assume that the packet was lost
and resend. An unexpected response for a packet that was supposed to be
The sender is in user space, at least in the case of ...
| Mar 26, 8:30 am 2009 |
| Giuseppe CAVALLARO | [PATCH] net: fix unaligned memory accesses in ASIX
Move in memory all the frames with an incorrect alignment.
This is to prevent unaligned memory accesses into the upper layers.
Note 1: this is a penalty for some architecture like SH.
Note 2: indeed, this patch restores an old one posted three years ago
(http://marc.info/?l=linux-usb-devel&m=116578791817830&w=2).
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
---
drivers/net/usb/asix.c | 42 ++++++++++++++++++++++++------------------
1 files changed, 24 insertions(+), 18 ...
| Mar 25, 11:52 pm 2009 |
| Giuseppe CAVALLARO | Re: [PATCH] net: fix unaligned memory accesses in ASIX
I understand your point of view.
In any case, at first glance, I understand that the urb->transfer_buffer
directly points to the preallocated skb data.
These are filled by the HWs. I mean, the buffers are treated by the HW.
So I guess, the meaning of the rx_fixup functions is just to solve this
kind of situations.
In fact, each usb net driver has an own fixup code according to their HW
specifications.
Peppe
--
| Mar 26, 3:01 am 2009 |
| Giuseppe CAVALLARO | Re: [PATCH] net: fix unaligned memory accesses in ASIX
This was my first test. I had tried to change/adjust headroom but no
success.
Unfortunately, unaligned memory accesses seems to depend on the Asix HW
that packs several incoming frames.
So when these frames are 'unpacked' within the fix-up function, and
pushed to the upper layer, they can have a wrong alignment, indeed.
When no frame is packed all works fine and the IP never works with
unaligned addresses.
I think, the skb_reserve could actually help us, if this last scenario
generated ...
| Mar 26, 1:40 am 2009 |
| Marco Berizzi | Re: network traffic stop with 2.6.29 after ftp put
ok, I have reverted the GRO and I have not
got the problem.
Thanks.
--
| Mar 26, 1:52 am 2009 |
| Rami Rosen | [PATCH net-2.6 ] core: remove unneeded include in net/co ...
Hi,
This patch removes an unneeded include in net/core/utils.c.
Regards,
Rami Rosen
Signed-off-by: Rami Rosen <ramirose@gmail.com>
| Mar 26, 1:10 am 2009 |
| Randy Dunlap | Re: linux-next: Tree for March 26 (benet)
on i386 build:
drivers/built-in.o: In function `be_worker':
be_main.c:(.text+0x827c7): undefined reference to `__udivdi3'
be_main.c:(.text+0x8286c): undefined reference to `__udivdi3'
Probably one of the called functions (that contains
division) is inlined.
--
~Randy
--
| Mar 26, 8:46 am 2009 |
| Randy Dunlap | Re: [PATCH] benet: use do_div() for 64 bit divide
Acked-by: Randy Dunlap <randy.dunlap@oracle.com> # and Tested-by: (built)
--
~Randy
--
| Mar 26, 1:10 pm 2009 |
| Roland Dreier | Re: [net-next PATCH v3] igbvf: add new driver to support ...
> > Since the issue isn't the igbvf driver there is no reason for it to
> > be held up.
>
> I disagree, I think both cases should be fixed.
>
> Just because we do something already never means that it's
> ok to proliferate the mistake further.
The igbvf driver doesn't proliferate any mistake. The num_vfs sysfs
attribute that everyone finds so objectionable is in the igb driver, and
if you follow the patchwork URL that was provided, you would see that
you applied the patch adding it ...
| Mar 25, 8:21 pm 2009 |
| Roland Dreier | RDMA/nes: Fix mis-merge
When net-next and infiniband were merged upstream, each branch deleted
one of a pair of adjacent lines from nes_nic.c, but when Linus fixed the
conflict up, he brought back both of the lines. Fix up to the intended
final tree state.
---
> Well, I merged infiniband, and that caused more conflicts. I fixed them
> up, but people need to double-check my fixes.
Looks like you mismerged one file -- each side deleted one line right
next to each other, but your merge left both lines in. I think ...
| Mar 26, 4:25 pm 2009 |
| Roland Dreier | Re: RDMA/nes: Fix mis-merge
> Btw, as far as I can tell, that function had never been tested with any
> polling. It had a line like
>
> netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128);
>
> but that line was _before_ 'nesvnic' was actually initialized (well, it
> had been initialized to NULL, so it passed in some NULL-pointer-offset to
> that function).
Yes, looks like the bug was introduced by d0929553 ("infiniband: convert
nes driver to net_device_ops"). And unfortunately the ...
| Mar 26, 4:53 pm 2009 |
| Roland Dreier | Re: RDMA/nes: Fix mis-merge
> Can I get a sign-off from Roland too?
Duh, not my day...
Signed-off-by: Roland Dreier <rolandd@cisco.com>
--
| Mar 26, 4:48 pm 2009 |
| Stephen Rothwell | Re: linux-next: net tree build warnings
Hi Eric,
Thanks.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Mar 26, 3:01 pm 2009 |
| Stephen Rothwell | linux-next: net tree build warnings
Hi Dave,
Today's linux-next build (x86_64 allmodconfig) produced these warnings:
net/bridge/netfilter/ebt_log.c: In function 'ebt_log_init':
net/bridge/netfilter/ebt_log.c:230: warning: passing argument 2 of 'nf_log_=
register' discards qualifiers from pointer target type
net/bridge/netfilter/ebt_log.c: In function 'ebt_log_fini':
net/bridge/netfilter/ebt_log.c:236: warning: passing argument 1 of 'nf_log_=
unregister' discards qualifiers from pointer target ...
| Mar 25, 11:37 pm 2009 |
| Stephen Hemminger | [PATCH] gianfar: fix headroom expansion code
The code that was added to increase headroom was wrong.
It doesn't handle the case where gfar_add_fcb() changes the skb.
Better to do check at start of transmit (outside of lock), where
error handling is better anyway.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/net/gianfar.c 2009-03-26 09:14:39.273669929 -0700
+++ b/drivers/net/gianfar.c 2009-03-26 09:22:46.477545004 -0700
@@ -1239,19 +1239,9 @@ static int gfar_enet_open(struct net_dev
return err;
}
...
| Mar 26, 10:08 am 2009 |
| Stephen Hemminger | [PATCH] bridge: bad error handling when adding invalid e ...
This fixes an crash when empty bond device is added to a bridge.
If an interface with invalid ethernet address (all zero) is added
to a bridge, then bridge code detects it when setting up the forward
databas entry. But the error unwind is broken, the bridge port object
can get freed twice: once when ref count went to zeo, and once by kfree.
Since object is never really accessible, just free it.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
Patch against 2.6.29, but same code ...
| Mar 25, 8:57 pm 2009 |
| Stephen Hemminger | [PATCH] benet: use do_div() for 64 bit divide
The benet driver is doing a 64 bit divide, which is not supported in Linux kernel
on 32 bit architectures. The correct way to do this is to use do_div().
Compile tested on i386 only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/net/benet/be_main.c 2009-03-25 15:31:35.000000000 -0700
+++ b/drivers/net/benet/be_main.c 2009-03-26 12:28:21.645388379 -0700
@@ -16,6 +16,7 @@
*/
#include "be.h"
+#include <asm/div64.h>
MODULE_VERSION(DRV_VER);
...
| Mar 26, 12:30 pm 2009 |
| Steve Glendinning | [PATCH] smsc911x: enforce read-after-write timing restri ...
The LAN911x datasheet specifies a minimum delay of 45ns between a write
of E2P_DATA and any read. This patch adds a single dummy read of
BYTE_TEST to enforce this timing constraint.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
---
drivers/net/smsc911x.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index ad3cbc9..af8f60c 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ ...
| Mar 26, 10:14 am 2009 |
| Thierry Reding | Re: [PATCH v3] net: Add support for the OpenCores 10/100 ...
Oh, okay. I've only been building against the vanilla tree. I'll grab a copy
of net-next-2.6 and fix the driver up against that. Thanks,
Thierry
--
| Mar 26, 1:09 am 2009 |
| Thierry Reding | [PATCH v4] net: Add support for the OpenCores 10/100 Mbp ...
This patch adds a platform device driver that supports the OpenCores 10/100
Mbps Ethernet MAC.
The driver expects three resources: one IORESOURCE_MEM resource defines the
memory region for the core's memory-mapped registers while a second
IORESOURCE_MEM resource defines the network packet buffer space. The third
resource, of type IORESOURCE_IRQ, associates an interrupt with the driver.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Florian Fainelli ...
| Mar 26, 3:16 am 2009 |
| Linus Torvalds | Re: RDMA/nes: Fix mis-merge
Btw, as far as I can tell, that function had never been tested with any
polling. It had a line like
netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128);
but that line was _before_ 'nesvnic' was actually initialized (well, it
had been initialized to NULL, so it passed in some NULL-pointer-offset to
that function).
I moved that initialization up in the merge, but I obviously didn't test
anything. So I'd suggest somebody actually test this case, because it
clearly must ...
| Mar 26, 4:41 pm 2009 |
| Linus Torvalds | Re: [GIT]: Networking for 2.6.30
Well, I merged infiniband, and that caused more conflicts. I fixed them
up, but people need to double-check my fixes.
Linus
--
| Mar 26, 3:56 pm 2009 |
| Linus Torvalds | Re: RDMA/nes: Fix mis-merge
Can I get a sign-off from Roland too?
Linus
--
| Mar 26, 4:38 pm 2009 |
| Varun Chandramohan | Re: [ANNOUNCE] iproute2 v2.6.29
Hi Stephen,
I noticed that you have missed out on 2 patches i
submitted. Incase it slipped through can you please look into it?
http://patchwork.ozlabs.org/patch/24337/
http://patchwork.ozlabs.org/patch/24338/
Regards,
Varun
--
| Mar 26, 3:01 am 2009 |
| Yevgeny Petrilin | [PATCH 2/6] mlx4_en: Separating default QP in RSS context
The default QP number in RSS is no longer part of the RSS table.
We want to separate TCP streams from other streams because we
want to handle them differently. Changed the RSS mask to perform
the hashing on TCP packets only and to send all the others to the
default ring.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/mlx4/en_main.c | 2 +-
drivers/net/mlx4/en_params.c | 2 +-
drivers/net/mlx4/en_rx.c | 4 ++--
drivers/net/mlx4/mlx4_en.h | 4 ...
| Mar 26, 6:49 am 2009 |
| Yevgeny Petrilin | PATCH 4/6] mlx4_en: Shift completion vector index betwee ...
For both ports UDP traffic is steered to RX ring 0.
If both the ports attached RX ring 0 to the same completion
vector, all UDP traffic for both ports will be handled by the
same core. Making the shift would prevent this situation.
Dual port UDP Bandwidth was increased by ~70%.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/mlx4/en_cq.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/mlx4/en_cq.c ...
| Mar 26, 6:57 am 2009 |
| Yevgeny Petrilin | [PATCH 3/6] mlx4_en: Linear skb support for RX side.
Allowing using linear skbs instead skb frags for certain rings.
Working with linear skbs shows better performance when working with
non TCP traffic (LRO shows better performance with skb frags).
Rss allows us to separate TCP from non TCP traffic and send the packets
to different rings.
Then, every ring that receives TCP traffic is assigned to work with skb frags,
while the ring that receives non TCP traffic works with linear skbs.
This change improves RX Bandwidth for small UDP messages (under ...
| Mar 26, 6:56 am 2009 |
| Yevgeny Petrilin | [PATCH 1/6] mlx4_en: Move to SW counters for total bytes ...
The per ring counters are implemented in SW. Now moving to have the total
counters as the sum of all rings. This way the numbers will always be consistent
and we no longer depend on HW buffer size limitations for those counters
that can be insufficient in some cases.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/mlx4/en_port.c | 45 ++++++++++++-------------------------------
1 files changed, 13 insertions(+), 32 deletions(-)
diff --git ...
| Mar 26, 6:40 am 2009 |
| Yevgeny Petrilin | [PATCH 5/6] mlx4_en: Assign dummy event handler for TX queue
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/mlx4/en_resources.c | 6 ++++++
drivers/net/mlx4/en_rx.c | 6 ------
drivers/net/mlx4/en_tx.c | 1 +
drivers/net/mlx4/mlx4_en.h | 1 +
4 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/mlx4/en_resources.c b/drivers/net/mlx4/en_resources.c
index a054520..65ca706 100644
--- a/drivers/net/mlx4/en_resources.c
+++ b/drivers/net/mlx4/en_resources.c
@@ -94,3 +94,9 ...
| Mar 26, 6:58 am 2009 |
| Yevgeny Petrilin | [PATCH 6/6] mlx4_en: use NETIF_F_IP_CSUM | NETIF_F_IPV6_ ...
The former usage was to set the NETIF_F_HW_CSUM flag which is not used
in get_tx_csum. It caused Ethtool to show tx checksum as "on" even
though it was turned off in previous operation.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/mlx4/en_netdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c
index f52e897..0909a0c 100644
--- a/drivers/net/mlx4/en_netdev.c
+++ ...
| Mar 26, 6:59 am 2009 |
| Yu Zhao | Re: [net-next PATCH v3] igbvf: add new driver to support ...
We do have some powerful tools for network device configuration, but they
still can't cover the multi queue and SR-IOV NICs (also David Woodhouse's
Solos DSL, etc.) configuration requirement. Unless someone improves the
existing tools to support configuring these new hardware features, people
would keep trying to use the sysfs which is the easiest way so far.
Thanks,
Yu
--
| Mar 25, 7:33 pm 2009 |
| Evgeniy Polyakov | Re: Passive OS fingerprint xtables match.
I left that chunk to the case when we will want to send notifications to
the userspace, right now we do not , so it is commented. And yes, names
were not changed :)
If Dave will refuse to pull it, please queue it into the netfilter tree
for the next merge window update, since I will miss it almost for sure.
--
Evgeniy Polyakov
--
| Mar 26, 7:59 am 2009 |
| Evgeniy Polyakov | Passive OS fingerprint xtables match.
Hi.
Passive OS fingerprinting netfilter module allows to passively detect
remote OS and perform various netfilter actions based on that knowledge.
This module compares some data (WS, MSS, options and it's order, ttl, df
and others) from packets with SYN bit set with dynamically loaded OS
fingerprints.
Fingerprint matching rules can be downloaded from OpenBSD source tree
and loaded via netfilter netlink subsystem into the kernel via special
util found in archive.
Archive contains library ...
| Mar 26, 7:14 am 2009 |
| Evgeniy Polyakov | Re: Passive OS fingerprint xtables match.
Ok, patch below does not contain it.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h
index 7d8e045..71babbd 100644
--- a/include/linux/netfilter/nfnetlink.h
+++ b/include/linux/netfilter/nfnetlink.h
@@ -46,7 +46,8 @@ struct nfgenmsg {
#define NFNL_SUBSYS_CTNETLINK_EXP 2
#define NFNL_SUBSYS_QUEUE 3
#define NFNL_SUBSYS_ULOG 4
-#define NFNL_SUBSYS_COUNT 5
+#define NFNL_SUBSYS_OSF 5
+#define ...
| Mar 26, 8:41 am 2009 |
| previous day | today | next day |
|---|---|---|
| March 25, 2009 | March 26, 2009 | March 27, 2009 |
