login
Header Space

 
 

linux-netdev mailing list

FromSubjectsort iconDate
David Miller
[GIT]: IPV6 build fix.
Linus, please pull to get this fix for a build regression. Thanks! The following changes since commit 159131149c2f56c1da5ae5e23ab9d5acef4916d1: Lachlan Andrew (1): tcp: Overflow bug in Vegas are available in the git repository at: master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git master Pavel Emelyanov (1): ipv6: Compilation fix for compat MCAST_MSFILTER sockopts. net/ipv6/ipv6_sockglue.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)...
Apr 30, 5:51 pm 2008
Ben Hutchings
[PATCH 0/2] Disable forwarding of LRO skbs
Large Receive Offload (LRO) destroys packet headers that should be preserved when forwarding. Currently it also triggers a BUG() or WARN() in skb_gso_segment(). We should disable it wherever forwarding is enabled, and discard LRO skbs with a warning if it is turned back on. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. --
Apr 30, 5:48 pm 2008
Ben Hutchings
Re: [PATCH 2/2] Disable forwarding of LRO skbs
Add dev_disable_lro() function. Change br_add_if() and all functions that enable IPv4 and IPv6 forwarding to call dev_disable_lro() on the affected devices. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 7c1d446..d7e8f1f 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -866,6 +866,7 @@ extern struct net_device *__dev_get_by_name(struct net *net, const char *name); extern int dev_a...
Apr 30, 5:54 pm 2008
Ben Hutchings
Re: [PATCH 1/2] Disable forwarding of LRO skbs
Add skb_warn_if_lro() to test whether an skb was received with LRO and warn if so. Change br_forward(), ip_forward() and ip6_forward() to call skb_warn_if_lro() and discard the skb if it returns true. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 11fd9f2..18644cd 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1701,6 +1701,8 @@ static inline int skb_is_gso_v6(const struct sk_buff *skb) re...
Apr 30, 5:51 pm 2008
David Miller
Re: [PATCH 0/2] Disable forwarding of LRO skbs
From: Ben Hutchings <bhutchings@solarflare.com> Thanks for reposting your work, I'll take a closer look at these two patches later today. --
Apr 30, 5:58 pm 2008
Michael Chan
[PATCH 5/6] [BNX2]: Update RV2P firmware for 5709.
[BNX2]: Update RV2P firmware for 5709. The new RV2P firmware fixes 2 issues: 1. The jumbo rx buffer page size is now configurable and set to the proper PAGE_SIZE. Before, it was assumed to be always 4K. 2. Driver sometimes would crash when receiving jumbo packets mixed with firmware management packets. This was caused by the old firmware DMA'ing to the wrong address. Signed-off-by: Michael Chan <mchan@broadcom.com> --- drivers/net/bnx2.c | 6 + drivers/net/bnx2_fw2.h | 502...
Apr 30, 6:52 pm 2008
Michael Chan
[PATCH 6/6] [BNX2]: Update version to 1.7.5.
[BNX2]: Update version to 1.7.5. Signed-off-by: Michael Chan <mchan@broadcom.com> --- drivers/net/bnx2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 90621c7..252797f 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -56,8 +56,8 @@ #define DRV_MODULE_NAME "bnx2" #define PFX DRV_MODULE_NAME ": " -#define DRV_MODULE_VERSION "1.7.4" -#define DRV_MODULE_RELDATE "February 18, 2008" +#define DRV_MO...
Apr 30, 6:52 pm 2008
Michael Chan
[PATCH 4/6] [BNX2]: Zero out context memory for 5709.
[BNX2]: Zero out context memory for 5709. We should zero out the context memory for 5709 before each reset. When we resume after suspend for example, the memory may not be zero and the chip may not function correctly. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> --- drivers/net/bnx2.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index b5560a9..d3d3342 10064...
Apr 30, 6:51 pm 2008
Michael Chan
[PATCH 3/6] [BNX2]: Fix register test on 5709.
[BNX2]: Fix register test on 5709. The register BNX2_CTX_STATUS (0x1004) should be skipped on 5709 as it contains reserved bits. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> --- drivers/net/bnx2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 9c6f21f..b5560a9 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -4914,7 +4914,7 @@ bnx2_test_registe...
Apr 30, 6:51 pm 2008
Michael Chan
[PATCH 2/6] [BNX2]: Fix remote PHY initial link state.
[BNX2]: Fix remote PHY initial link state. On some remote PHY blade systems, the driver receives no initial link interrupt. As a result, the GMII/MII MAC mode does not get setup properly. To fix this problem, we add an initial poll of the link state after chip reset. With this change, the setting of the initial carrier state in the init code can be eliminated. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> --- drivers/net/bnx2.c...
Apr 30, 6:51 pm 2008
Michael Chan
[PATCH 1/6][BNX2]: Refine remote PHY locking.
[BNX2]: Refine remote PHY locking. bnx2_set_remote_link() should be called under bp->phy_lock to protect against concurrent polling and interrupt calls. This change is needed by the next patch which will add one initial poll of the remote PHY link status. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> --- drivers/net/bnx2.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/bnx2.c b/...
Apr 30, 6:50 pm 2008
Daniel Lezcano
[net-2.6 patch 1/2][NETNS] fix device renaming for sysfs
When a netdev is moved across namespaces with the 'dev_change_net_namespace' function, the 'device_rename' function is used to fixup kobject and refresh the sysfs tree. The device_rename function will call kobject_rename and this one will check if there is an object with the same name and this is the case because we are renaming the object with the same name. The use of 'device_rename' seems for me wrong because we usually don't rename it but just move it across namespaces. As we just want to do a...
Apr 30, 5:31 pm 2008
Daniel Lezcano
[net-2.6 patch 2/2][NETNS] Fix reassembly timer to use the r...
This trivial fix retrieves the network namespace from frag queue and use it to get the network device in the right namespace. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- net/ipv6/reassembly.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: net-2.6/net/ipv6/reassembly.c =================================================================== --- net-2.6.orig/net/ipv6/reassembly.c +++ net-2.6/net/ipv6/reassembly.c @@ -197,6 +197,7 @@ static void ip6_frag_expire(u...
Apr 30, 5:31 pm 2008
Daniel Lezcano
[net-2.6 patch 0/2][NETNS] netns fixes
The two following patches fix bugs related to the network namespace. The first one fixes a sysfs issue (when using the sysfs per namespace), and the second one fixes the frag timer for ipv6 to use the right network namespace. -- --
Apr 30, 5:31 pm 2008
Greg KH
2.6.25-git16 fails with "undefined reference to `compat_mc_g...
Don't know if you have seen this or not, but 2.6.25-gi16 seems to fail with: net/built-in.o: In function `ipv6_getsockopt': (.text+0x6829c): undefined reference to `compat_mc_getsockopt' I've attached my .config below if that helps any. thanks, greg k-h
Apr 30, 4:46 pm 2008
David Miller
Re: 2.6.25-git16 fails with "undefined reference to `compat_...
From: Greg KH <greg@kroah.com> Known problem and there is a fix pending, sit tight. --
Apr 30, 5:49 pm 2008
Greg KH
Re: 2.6.25-git16 fails with "undefined reference to `compat_...
Great, thanks for letting me know and sending the patch to Linus, I appreciate it. greg k-h --
Apr 30, 6:03 pm 2008
Oliver Hartkopp
Re: 2.6.25-git16 fails with "undefined reference to `compat_...
Hi Greg, this issue has been already identified and fixed by Pavel Emelyanov: http://marc.info/?l=linux-netdev&m=120956601217678&w=2 I also had this problem and his fix worked fine for me. Regards, Oliver --
Apr 30, 5:11 pm 2008
Bernard Pidoux
[PATCH] Wrong list_lock argument in rose_node seqops
In rose_node_start() as well as in rose_node_stop() __acquires() and spin_lock_bh() were wrongly passing rose_neigh_list_lock instead of rose_node_list_lock arguments. Signed-off-by: Bernard Pidoux <f6bvp@amsat.org> --- net/rose/rose_route.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 5053a53..bd59387 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c @@ -1066,12 +1066,12 @@ out: #ifdef...
Apr 30, 4:08 pm 2008
Bruce Robson
[PATCH] drivers/net EtherExpress 16 : IPv6 not working with...
From: Bruce Robson <bns_robson@hotmail.com> Corrects loading of multi-cast addresses. Thereby allowing IPv6 neighbour discovery to work. Signed-off-by: Bruce Robson <bns_robson@hotmail.com> --- The driver sources file eexpress.c contains an approximately 30 line function eexp_setup_filter used when loading multicast addresses. There were 3 problems in this function 1) It wrote the number of multicast addresses to the card instead of the number of bytes in the multicast addr...
Apr 30, 2:39 pm 2008
Ramachandra K
[PATCH 00/13] QLogic Virtual NIC (VNIC) Driver
Roland, This is the QLogic Virtual NIC driver patch series which has been tested against your for-2.6.26 and for-2.6.27 branches. We intended these patches to make it to the 2.6.26 kernel, but if it is too late for the 2.6.26 merge window please consider them for 2.6.27. This patch series adds the QLogic Virtual NIC (VNIC) driver which works in conjunction with the the QLogic Ethernet Virtual I/O Controller (EVIC) hardware. The VNIC driver along with the QLogic EVIC's two 10 Gigabit ethernet port...
Apr 30, 1:15 pm 2008
Roland Dreier
Re: [PATCH 00/13] QLogic Virtual NIC (VNIC) Driver
> This is the QLogic Virtual NIC driver patch series which has been tested > against your for-2.6.26 and for-2.6.27 branches. We intended these patches to > make it to the 2.6.26 kernel, but if it is too late for the 2.6.26 merge window > please consider them for 2.6.27. Yes, *WAY* too late for 2.6.26, given that today is the last day of the merge window, and that things that get merged need to be ready before the merge window opens. > The driver compiles cleanly with sparse e...
Apr 30, 6:25 pm 2008
Ramachandra K
[PATCH 04/13] QLogic VNIC: Implementation of Control path of...
From: Poornima Kamath <poornima.kamath@qlogic.com> This patch adds the files that define the control packet formats and implements various control messages that are exchanged as part of the communication protocol with the EVIC/VEx. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_control.c | 2288 ++++++++++++++++++++ drivers/infiniband/ulp/qlgc_vnic/vnic_c...
Apr 30, 1:17 pm 2008
Ramachandra K
[PATCH 05/13] QLogic VNIC: Implementation of Data path of co...
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> This patch implements the actual data transfer part of the communication protocol with the EVIC/VEx. RDMA of ethernet packets is implemented in here. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_data.c | 1473 +++++++++++++++++++++++ drivers/infiniband/ulp/qlgc_vnic/vnic_data.h | 206 +++ drivers/i...
Apr 30, 1:18 pm 2008
Ramachandra K
[PATCH 01/13] QLogic VNIC: Driver - netdev implementation
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> QLogic Virtual NIC Driver. This patch implements netdev registration, netdev functions and state maintenance of the QLogic Virtual NIC corresponding to the various events associated with the QLogic Ethernet Virtual I/O Controller (EVIC/VEx) connection. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_main.c |...
Apr 30, 1:16 pm 2008
Ramachandra K
[PATCH 03/13] QLogic VNIC: Implementation of communication p...
From: Poornima Kamath <poornima.kamath@qlogic.com> Implementation of the statemachine for the protocol used while communicating with the EVIC. The patch also implements the viport abstraction which represents the virtual ethernet port on EVIC. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_viport.c | 1233 ++++++++++++++++++++++++ drivers/infiniband/ulp/qlg...
Apr 30, 1:17 pm 2008
Ramachandra K
[PATCH 06/13] QLogic VNIC: IB core stack interaction
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> The patch implements the interaction of the QLogic VNIC driver with the underlying core infiniband stack. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_ib.c | 1046 ++++++++++++++++++++++++++++ drivers/infiniband/ulp/qlgc_vnic/vnic_ib.h | 206 ++++++ 2 files changed, 1252 insertions(+), 0 deletions(-) cr...
Apr 30, 1:18 pm 2008
Ramachandra K
[PATCH 07/13] QLogic VNIC: Handling configurable parameters ...
From: Poornima Kamath <poornima.kamath@qlogic.com> This patch adds the files that handle various configurable parameters of the VNIC driver ---- configuration of virtual NIC, control, data connections to the EVIC and general IB connection parameters. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_config.c | 380 ++++++++++++++++++++++++ drivers/infiniband/...
Apr 30, 1:19 pm 2008
Ramachandra K
[PATCH 08/13] QLogic VNIC: sysfs interface implementation fo...
From: Amar Mudrankit <amar.mudrankit@qlogic.com> The sysfs interface for the QLogic VNIC driver is implemented through this patch. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_sys.c | 1127 +++++++++++++++++++++++++++ drivers/infiniband/ulp/qlgc_vnic/vnic_sys.h | 62 + 2 files changed, 1189 insertions(+), 0 deletions(-) create mode 100644 drivers/inf...
Apr 30, 1:19 pm 2008
Ramachandra K
[PATCH 10/13] QLogic VNIC: Driver Statistics collection
From: Amar Mudrankit <amar.mudrankit@qlogic.com> Collection of statistics about QLogic VNIC interfaces is implemented in this patch. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_stats.c | 234 ++++++++++++ drivers/infiniband/ulp/qlgc_vnic/vnic_stats.h | 497 +++++++++++++++++++++++++ 2 files changed, 731 insertions(+), 0 deletions(-) create mode 1006...
Apr 30, 1:20 pm 2008
Ramachandra K
[PATCH 09/13] QLogic VNIC: IB Multicast for Ethernet broadca...
From: Usha Srinivasan <usha.srinivasan@qlogic.com> Implementation of ethernet broadcasting and multicasting for QLogic VNIC interface by making use of underlying IB multicasting. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_multicast.c | 332 +++++++++++++++++++++ drivers/infiniband/ulp/ql...
Apr 30, 1:20 pm 2008
Ramachandra K
[PATCH 02/13] QLogic VNIC: Netpath - abstraction of connecti...
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> This patch implements the netpath layer of QLogic VNIC. Netpath is an abstraction of a connection to EVIC. It primarily includes the implementation which maintains the timers to monitor the status of the connection to EVIC/VEx. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_netpath.c | 112 +++++++++++++++...
Apr 30, 1:16 pm 2008
Ramachandra K
[PATCH 13/13] QLogic VNIC: Modifications to IB Kconfig and M...
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> This patch modifies the toplevel Infiniband Kconfig and Makefile to include QLogic VNIC as new ULP. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/Kconfig | 2 ++ drivers/infiniband/Makefile | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig i...
Apr 30, 1:22 pm 2008
Ramachandra K
[PATCH 12/13] QLogic VNIC: Driver Kconfig and Makefile.
From: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Kconfig and Makefile for the QLogic VNIC driver. Signed-off-by: Poornima Kamath <poornima.kamath@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/Kconfig | 28 ++++++++++++++++++++++++++++ drivers/infiniband/ulp/qlgc_vnic/Makefile | 13 +++++++++++++ 2 files changed, 41 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/ulp/qlgc_vnic/Kconf...
Apr 30, 1:21 pm 2008
Ramachandra K
[PATCH 11/13] QLogic VNIC: Driver utility file - implements ...
From: Poornima Kamath <poornima.kamath@qlogic.com> This patch adds the driver utility file which mainly contains utility macros for debugging of QLogic VNIC driver. Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com> Signed-off-by: Amar Mudrankit <amar.mudrankit@qlogic.com> --- drivers/infiniband/ulp/qlgc_vnic/vnic_util.h | 251 ++++++++++++++++++++++++++ 1 files changed, 251 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/ulp/qlgc_vnic/vn...
Apr 30, 1:21 pm 2008
gao changli
[PATCH] unify the macro get_u16 in the file tulip.h
Unify the macro get_u16 with le16_to_cpu. Signed-off-by: Changli Gao <xiaosuo@gmail.com> --- tulip.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --- linux/drivers/net/tulip/tulip.h 2008-04-30 23:25:24.000000000 +0800 +++ linux-new/drivers/net/tulip/tulip.h 2008-04-30 23:28:04.000000000 +0800 @@ -299,11 +299,7 @@ #define RUN_AT(x) (jiffies + (x)) -#if defined(__i386__) /* AKA get_unaligned() */ -#define get_u16(ptr) (*(u16 *)(ptr)) -#else -#define get_u...
Apr 30, 1:41 pm 2008
Marco Berizzi
Re: 2.6.25 crash: EIP: [<c02e2f14>] xfrm_output_resume...
I have removed these modules from the two boxes that are crashing: sch_sfq sch_htb cls_fw I will wait to see if they are crashing again without these modules loaded. --
Apr 30, 11:38 am 2008
Herbert Xu
Re: 2.6.25 crash: EIP: [<c02e2f14>] xfrm_output_resume...
Could you please take a better shot of this crash the next time it happens? As it is the right-hand-side of the code section is missing which makes it hard to determine where exactly it crashed. Alternatively send me your xfrm_output.o file (or vmlinux). 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 --
Apr 30, 11:15 am 2008
Johannes Berg
[RFC/RFT 4/4] mac80211: use multi-queue master netdevice
This patch updates mac80211 and drivers to be multi-queue aware and use that instead of the internal queue mapping. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> --- This is just ground-work. We'll be able to play with Qos much more now. drivers/net/wireless/ath5k/base.c | 2 - drivers/net/wireless/b43/dma.c | 7 ++- drivers/net/wireless/b43/pio.c | 8 ++-- drivers/net/wireless/b43legacy/dma.c | 2 - drivers/net/wireless/i...
Apr 30, 8:40 am 2008
Waskiewicz Jr, Peter P
RE: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
I would suggest that you enable the netdev feature flag for NETIF_F_MULTI_QUEUE on devices when you create them. That way you can have things like ieee80211_start_queue() key on that instead of a compile-time option, in case wireless devices come along that won't support multiple queues, if that's possible. So something like this: +void ieee80211_start_queue(struct ieee80211_hw *hw, int queue) +{ + struct ieee80211_local *local = hw_to_local(hw); + if (netif_is_multiqueue(local->mdev) { + ...
Apr 30, 3:39 pm 2008
Johannes Berg
RE: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
Ah. I thought that then I'd just create a device with alloc_mq with a Hah, indeed, I don't currently set it at all. Yes, I guess I should do johannes
Apr 30, 4:07 pm 2008
Ivo van Doorn
Re: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
Hi, ieee80211_stop_queue(rt2x00dev->hw, qid); The result of skb_get_queue_mapping(skb) was already stored in the 'qid' variable at the start of the function. And since this is a 1-1 mapping Thanks, Ivo --
Apr 30, 10:37 am 2008
Johannes Berg
Re: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
nstances. Heh, good point, changed that. Will probably generate the same code since get_queue_mapping is a static inline, but hey, much nicer to read that way :) johannes
Apr 30, 10:45 am 2008
Johannes Berg
Re: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
Turns out there was something missing (last hunk of this updated version) from the rt2x00 part of the patch that I accidentally didn't quilt edit, here's an updated version if anybody wants to test on rt2x00 hw. johannes Subject: mac80211: use multi-queue master netdevice This patch updates mac80211 and drivers to be multi-queue aware and use that instead of the internal queue mapping. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> --- This is just ground-work. We'll be abl...
Apr 30, 11:00 am 2008
Ivo van Doorn
Re: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
Hi, Don't want to spoil the fun, but the following part doesn't compile when CONFIG_MAC80211_QOS is not set. Ivo --
Apr 30, 11:34 am 2008
Johannes Berg
Re: [RFC/RFT 4/4] mac80211: use multi-queue master netdevice
Oh! I hadn't tried that yet, thanks. I had tried not configuring it and tested the Kconfig for it, but evidently not compiling. johannes
Apr 30, 11:38 am 2008
Johannes Berg
[RFC/RFT 3/4] mac80211: use GSO for fragmentation
This patch makes mac80211 use the GSO infrastructure for segmentation, but not really all of it because we do not register a protocol handler (nor can do that easily since a lot of functions need to be done before segmentation and another bunch afterwards, and we need to keep rcu- protected structures for both.) Hence, the way it works is that if a packet is to be fragmented then we call dev_skb_segment() on it and get a fragment list in skb->next. We then go to pass this fragment list to the dr...
Apr 30, 8:40 am 2008
Johannes Berg
[RFC/RFT 2/4] GSO: generalize for mac80211
This patch adds a new function dev_skb_segment() that generalises the existing dev_gso_segment() by allowing to give a segmentation function. mac80211 will use that function using the segmentation function skb_segment(). This patch also changes dev_gso_skb_destructor() to be safe when the skb no longer has any segments, this will happen when mac80211 has internally passed off all the fragments to the driver instead of asking dev_hard_start_xmit() to do it (which protects against this by resetting ...
Apr 30, 8:40 am 2008
Johannes Berg
[RFC/RFT 1/4] mac80211: use rate index in TX control
This patch modifies struct ieee80211_tx_control to give band info and the rate index (instead of rate pointers) to drivers. This mostly serves to reduce the TX control structure size to make it fit into skb->cb so that the fragmentation code can put it there and we can think about passing it to drivers that way in the future. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> --- drivers/net/wireless/adm8211.c | 6 - drivers/net/wireless/at76_usb.c | ...
Apr 30, 8:40 am 2008
Johannes Berg
[RFC/RFT 0/4] mac80211 QoS-related enhancements
Note: This patch series requires a number of other patches, notably Ivo's rt2x00 update and Ivo's mac80211 patch "mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf" Any testing of this series is welcome, even just the first patch by itself (especially with drivers other than b43), it doesn't make sense to test with patch 2 and not 3 though, so if you're going to test one by one treat 2/3 as a set. This series of patches reworks mac80211 step-by-step to use more generic ...
Apr 30, 8:40 am 2008
previous daytodaynext day
April 29, 2008April 30, 2008May 31, 2008
speck-geostationary