| From | Subject | Date |
|---|---|---|
| Inaky Perez-Gonzalez | [PATCH] wimax: fix oops in wimax_dev_get_by_genl_info() ...
When a non-wimax interface is looked up by the stack, a bad pointer is
returned when the looked-up interface is not found in the list (of
registered WiMAX interfaces). This causes an oops in the caller when
trying to use the pointer.
Fix by properly setting the pointer to NULL if we don't exit from the
list_for_each() with a found entry.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
---
net/wimax/id-table.c | 9 +++++----
1 files changed, 5 insertions(+), 4 ...
| Feb 12, 4:04 pm 2009 |
| Hannes Eder | [PATCH] drivers/isdn/mISDN: fix sparse warnings: make sy ...
Fix this sparse warnings:
drivers/isdn/mISDN/clock.c:44:1: warning: symbol 'iclock_lock' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:45:9: warning: symbol 'iclock_count' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:46:17: warning: symbol 'iclock_tv' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:47:9: warning: symbol 'iclock_tv_valid' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:48:20: warning: symbol ...
| Feb 12, 12:32 pm 2009 |
| Hannes Eder | [PATCH] drivers/isdn/hardware/mISDN: fix sparse warnings ...
Fix this sparse warnings:
drivers/isdn/hardware/mISDN/hfcpci.c:59:19: warning: symbol 'hfc_tl' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcpci.c:60:9: warning: symbol 'hfc_jiffies' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.h:201:6: warning: symbol 'conf_str' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.h:319:12: warning: symbol 'HFC_TE_LAYER1_STATES' was not declared. Should it be static?
...
| Feb 12, 12:28 pm 2009 |
| Eilon Greenstein | [PATCH 19/41]bnx2x: Using the HW 5th lane
Subject: [PATCH 19/41]bnx2x: Using the HW 5th lane
This 1G interface (on top of the 4 lanes 10G interface) requires additional
setting to work in CL45
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_link.c | 35 +++++++++++++++++++++++++++++------
drivers/net/bnx2x_reg.h | 4 ++++
2 files changed, 33 insertions(+), 6 deletions(-)
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 39/41]bnx2x: Comments and prints
Subject: [PATCH 39/41]bnx2x: Comments and prints
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_fw_defs.h | 9 ++--
drivers/net/bnx2x_hsi.h | 2 +-
drivers/net/bnx2x_init.h | 94 +++++++++++++++++++++---------------------
drivers/net/bnx2x_link.c | 5 +-
drivers/net/bnx2x_main.c | 43 ++++++++++----------
5 files changed, 78 insertions(+), 75 deletions(-)
diff --git a/drivers/net/bnx2x_fw_defs.h b/drivers/net/bnx2x_fw_defs.h
index ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 08/41]bnx2x: Moving skb_record_rx_queue
Subject: [PATCH 08/41]bnx2x: Moving skb_record_rx_queue
Should be called for all incoming packets and not just for GRO packets
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 19865d5..891a3fb 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -1336,7 +1336,6 @@ static void bnx2x_tpa_stop(struct bnx2x *bp, ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 16/41]bnx2x: Supporting BCM8481 PHY
Subject: [PATCH 16/41]bnx2x: Supporting BCM8481 PHY
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_link.c | 95 +++++++++++++++++++++++++++++++++++++++++++++-
drivers/net/bnx2x_main.c | 17 ++++++++
2 files changed, 110 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 55f50c7..bed11b9 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 40/41]bnx2x: Clean-up
Subject: [PATCH 40/41]bnx2x: Clean-up
Whitespaces, empty lines, 80 columns, indentations and removing redundant
parenthesis
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 2 +-
drivers/net/bnx2x_fw_defs.h | 54 ++++++++++++++++++++-----------------------
drivers/net/bnx2x_hsi.h | 4 ---
drivers/net/bnx2x_link.c | 7 +----
drivers/net/bnx2x_link.h | 3 +-
drivers/net/bnx2x_main.c | 35 ++++++++++++++++++---------
6 ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 36/41]bnx2x: Driver dump
Subject: [PATCH 36/41]bnx2x: Driver dump
Re-arrange the driver debug print to support the Tx multi-queue and add support
for debug prints at the end of the ring (when start<end)
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 97 ++++++++++++++++++++++++++++------------------
1 files changed, 59 insertions(+), 38 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 26451f6..78f628a 100644
--- ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 35/41]bnx2x: Removing unused struct
Subject: [PATCH 35/41]bnx2x: Removing unused struct
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_hsi.h | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index c779999..51c5fe1 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -2238,16 +2238,6 @@ union eth_ramrod_data {
/*
- * Rx Last BD in ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | Re: [PATCH 27/41]bnx2x: smp_mb and not just smp_rmb
Sorry about that, I got lazy at this part.
Since bnx2x_tx_int is also writing, the smb_rmb should be replaced with
Hmmm... It seems so... I will have to run it on few different systems in
the lab to make sure - if I won't run into any problems I will send a
new patch on top of this one with the removal of this alleged redundant
smb_mb.
--
| Feb 12, 1:45 pm 2009 |
| Ben Hutchings | Re: [PATCH 27/41]bnx2x: smp_mb and not just smp_rmb
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 12, 12:21 pm 2009 |
| Eilon Greenstein | [PATCH 27/41]bnx2x: smp_mb and not just smp_rmb
Subject: [PATCH 27/41]bnx2x: smp_mb and not just smp_rmb
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 6bd9219..2e95799 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7173,7 +7173,7 @@ static int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode)
struct bnx2x_fastpath *fp = &bp->fp[i];
...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 22/41]bnx2x: Pre emphasis configuration
Subject: [PATCH 22/41]bnx2x: Pre emphasis configuration
Supporting non-default pre-emphasis settings for the internal and some external
PHYs
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_hsi.h | 45 +++++-----------
drivers/net/bnx2x_link.c | 130 ++++++++++++++++++++++++++++++++++-----------
drivers/net/bnx2x_link.h | 4 +-
drivers/net/bnx2x_main.c | 31 +++++++++--
drivers/net/bnx2x_reg.h | 36 ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 11/41]bnx2x: Removing the board type
Subject: [PATCH 11/41]bnx2x: Removing the board type
There are too many different board types and this field is not scalable.
Removing it and making decisions according to other fields
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 1 -
drivers/net/bnx2x_hsi.h | 34 +++++++---------------------------
drivers/net/bnx2x_main.c | 20 +++++++-------------
3 files changed, 14 insertions(+), 41 deletions(-)
diff --git a/drivers/net/bnx2x.h ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 15/41]bnx2x: PHY lock list
Subject: [PATCH 15/41]bnx2x: PHY lock list
Some dual port PHY require HW lock since they are used by both interfaces
(different driver instances). Since this list is getting longer, update a
parameter at load time instead of calculating it on runtime
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 1 +
drivers/net/bnx2x_main.c | 20 ++++++++++----------
drivers/net/bnx2x_reg.h | 2 +-
3 files changed, 12 insertions(+), 11 deletions(-)
diff ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 14/41]bnx2x: Supporting BCM8726 PHY
Subject: [PATCH 14/41]bnx2x: Supporting BCM8726 PHY
Also adding the ability to recognize the optic module and disable it if it is
not authorized for safety reasons - since this feature might upset some users
which are willing to take the risk, it is optional and can be disabled by
setting an nvram bit (or a trivial driver patch to set this bit).
This dual port PHY requires special handling if the ports are swapped.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 09/41]bnx2x: BW shaper enhancements
Subject: [PATCH 09/41]bnx2x: BW shaper enhancements
Some of the configuration can be set when loading the device and shouldn't be
re-calculated after each link up indication since it is not dependent on the
link speed
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 3 +
drivers/net/bnx2x_hsi.h | 25 ++--
drivers/net/bnx2x_main.c | 314 ++++++++++++++++++++--------------------------
3 files changed, 153 insertions(+), 189 deletions(-)
diff --git ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 21/41]bnx2x: GMII not SGMII
Subject: [PATCH 21/41]bnx2x: GMII not SGMII
Fixing the function name
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_link.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 526072b..b61a7a2 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -1753,7 +1753,7 @@ static u8 bnx2x_link_settings_status(struct link_params *params,
return rc;
}
-static void ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 18/41]bnx2x: EMAC reset
Subject: [PATCH 18/41]bnx2x: EMAC reset
The NIG_ENABLE does not reset the emac. Replace it with explicit reset
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_link.c | 6 ++++--
drivers/net/bnx2x_reg.h | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index ffa412f..f4c699e 100644
--- a/drivers/net/bnx2x_link.c
+++ ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 10/41]bnx2x: Flow control enhancement
Subject: [PATCH 10/41]bnx2x: Flow control enhancement
Setting better HW thresholds and enabling FW capabilities for better
enforcement. Also set the HW to more efficiently use the internal buffers if
this is a single port design
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 2 +-
drivers/net/bnx2x_fw_defs.h | 5 ++
drivers/net/bnx2x_hsi.h | 35 ++++++++++++++++
drivers/net/bnx2x_main.c | 96 ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 41/41]bnx2x: Version
Subject: [PATCH 41/41]bnx2x: Version
And updating the year
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_fw_defs.h | 2 +-
drivers/net/bnx2x_hsi.h | 2 +-
drivers/net/bnx2x_init.h | 2 +-
drivers/net/bnx2x_link.h | 2 +-
drivers/net/bnx2x_main.c | 4 ++--
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/bnx2x_fw_defs.h b/drivers/net/bnx2x_fw_defs.h
index 05d695d..e2df238 100644
--- ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 38/41]bnx2x: Re-arrange module parameters
Subject: [PATCH 38/41]bnx2x: Re-arrange module parameters
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 3f84027..0d6015f 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -74,26 +74,26 @@ static int multi_mode = 1;
module_param(multi_mode, int, 0);
static int disable_tpa;
-static int ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 37/41]bnx2x: Moving includes
Subject: [PATCH 37/41]bnx2x: Moving includes
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 6 ++++++
drivers/net/bnx2x_link.c | 4 ----
drivers/net/bnx2x_main.c | 5 +----
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index bec5aff..5eb35a6 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -29,6 +29,12 @@
#define BNX2X_NEW_NAPI
+
+#include ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 34/41]bnx2x: Sparse endianity annotation
Subject: [PATCH 34/41]bnx2x: Sparse endianity annotation
Resolving the majority of the issues, but there are still some left for future
patches.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 22 +++---
drivers/net/bnx2x_hsi.h | 178 +++++++++++++++++++++++-----------------------
drivers/net/bnx2x_main.c | 63 ++++++++--------
3 files changed, 132 insertions(+), 131 deletions(-)
diff ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 33/41]bnx2x: Removing redundant macros
Subject: [PATCH 33/41]bnx2x: Removing redundant macros
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 10 --------
drivers/net/bnx2x_main.c | 52 +++++++++++++++++++++++-----------------------
2 files changed, 26 insertions(+), 36 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 88eeee9..e07d915 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -96,12 ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 32/41]bnx2x: Better struct naming
Subject: [PATCH 32/41]bnx2x: Better struct naming
This is the device info from the chip shared memory - rename to avoid confusion
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_hsi.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index 8452605..88b2aa3 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -488,7 +488,7 @@ struct port_feat_cfg { /* port 0: 0x454 ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 31/41]bnx2x: Loopback in diag mode
Subject: [PATCH 31/41]bnx2x: Loopback in diag mode
When loading in diag mode, set the device to loopback instead of normal link and
then changing it to loopback mode
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 8 +++---
drivers/net/bnx2x_main.c | 57 ++++++++++++++++++++++++++-------------------
2 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 891a58e..88eeee9 100644
--- ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 30/41]bnx2x: Optimize chip MPS configuration
Subject: [PATCH 30/41]bnx2x: Optimize chip MPS configuration
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_init.h | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h
index 021438f..6fcd1dc 100644
--- a/drivers/net/bnx2x_init.h
+++ b/drivers/net/bnx2x_init.h
@@ -655,17 +655,18 @@ static void bnx2x_init_pxp(struct bnx2x *bp)
REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x18 << ...
| Feb 12, 11:38 am 2009 |
| Eilon Greenstein | [PATCH 29/41]bnx2x: Memory clean up on failure
Subject: [PATCH 29/41]bnx2x: Memory clean up on failure
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_init.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h
index 961db49..021438f 100644
--- a/drivers/net/bnx2x_init.h
+++ b/drivers/net/bnx2x_init.h
@@ -274,6 +274,9 @@ static void bnx2x_init_wr_wb(struct bnx2x *bp, u32 addr, const u32 *data,
rc = bnx2x_gunzip(bp, (u8 *)data, ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 28/41]bnx2x: Using nvram default WoL config
Subject: [PATCH 28/41]bnx2x: Using nvram default WoL config
The driver default WoL setting is set to the nvram default value
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 2e95799..a14fe75 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -8027,6 +8027,12 @@ static void __devinit ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 26/41]bnx2x: Increasing FW timeout
Subject: [PATCH 26/41]bnx2x: Increasing FW timeout
When enabling many debug prints, it can take a while before processing an event.
To ease the debug process, allow bigger timeout before giving up
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 6c04539..6bd9219 100644
--- a/drivers/net/bnx2x_main.c
+++ ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 24/41]bnx2x: Manual setting for MRRS
Subject: [PATCH 24/41]bnx2x: Manual setting for MRRS
Allows better debug capabilities if the user wants to force an MRRS value
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 1 +
drivers/net/bnx2x_init.h | 7 ++++++-
drivers/net/bnx2x_main.c | 6 ++++++
3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 9834a86..891a58e 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 25/41]bnx2x: Returning EBUSY in debug mode as well
Subject: [PATCH 25/41]bnx2x: Returning EBUSY in debug mode as well
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 2e4d64d..6c04539 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7059,9 +7059,8 @@ static int bnx2x_stop_leading(struct bnx2x *bp)
*bp->dsb_sp_prod, dsb_sp_prod_idx);
#ifdef ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 23/41]bnx2x: Using registers name
Subject: [PATCH 23/41]bnx2x: Using registers name
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 9 ++++--
drivers/net/bnx2x_link.c | 71 +++++++++++++++++++++++----------------------
drivers/net/bnx2x_reg.h | 7 ++++
3 files changed, 49 insertions(+), 38 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 12d2d0b..9834a86 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -446,10 +446,13 @@ struct ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 20/41]bnx2x: Removing CL73 code
Subject: [PATCH 20/41]bnx2x: Removing CL73 code
This code is disabled, so removing it to avoid confusion
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_link.c | 111 ++++++++--------------------------------------
1 files changed, 19 insertions(+), 92 deletions(-)
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 2463de8..526072b 100644
--- a/drivers/net/bnx2x_link.c
+++ ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 17/41]bnx2x: Saving PHY FW version
Subject: [PATCH 17/41]bnx2x: Saving PHY FW version
Some PHYs (like the BCM8726) FW version cannot be read after activating the
PHY, so we need to save this information
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_hsi.h | 2 +
drivers/net/bnx2x_link.c | 180 +++++++++++++++++++++++-----------------------
2 files changed, 92 insertions(+), 90 deletions(-)
diff --git a/drivers/net/bnx2x_hsi.h ...
| Feb 12, 11:37 am 2009 |
| Eilon Greenstein | [PATCH 07/41]bnx2x: Per queue statistics
Subject: [PATCH 07/41]bnx2x: Per queue statistics
Re-ordering the statistics to enhance readability and adding per queue
statistics (available via ethtool -S)
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 67 +++-
drivers/net/bnx2x_fw_defs.h | 9 +
drivers/net/bnx2x_hsi.h | 37 ++-
drivers/net/bnx2x_main.c | 804 +++++++++++++++++++++++++++++--------------
4 files changed, 643 insertions(+), 274 deletions(-)
diff --git ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 05/41]bnx2x: Disabling interrupts after iSCSI-boot
Subject: [PATCH 05/41]bnx2x: Disabling interrupts after iSCSI-boot
Before initializing the chip after iSCSI boot, the interrupts of the function
that was used to boot must be disabled. That means that the driver needs to set
the chip as if it is the iSCSI PCI function - this bug is exposed only with MSI
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x_main.c | 61 ++++++++++++++++++++++++++++++++++++++++++++-
drivers/net/bnx2x_reg.h | 13 ++++++++++
2 files ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 13/41]bnx2x: GPIO accessories
Subject: [PATCH 13/41]bnx2x: GPIO accessories
A GPIO is used with the 8726 PHY. Adding the GPIO related functions in this
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 2 +
drivers/net/bnx2x_main.c | 80 ++++++++++++++++++++++++++++++++++++++++++++-
drivers/net/bnx2x_reg.h | 29 ++++++++++++++++
3 files changed, 109 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 2397a89..d66be72 100644
--- ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 12/41]bnx2x: Removing redundant device parameters
Subject: [PATCH 12/41]bnx2x: Removing redundant device parameters
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 5 -----
drivers/net/bnx2x_main.c | 19 +++++++++----------
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index a18ace0..2397a89 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -525,8 +525,6 @@ struct bnx2x_common {
u32 hw_config;
...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 02/41]bnx2x: Multi-queue
Subject: [PATCH 02/41]bnx2x: Multi-queue
Adding Tx multi-queue and enabling multi-queue by default
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 33 ++++--
drivers/net/bnx2x_fw_defs.h | 4 +
drivers/net/bnx2x_main.c | 254 ++++++++++++++++++++++++++-----------------
3 files changed, 178 insertions(+), 113 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index de094d4..7edad1f 100644
--- a/drivers/net/bnx2x.h
+++ ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 06/41]bnx2x: Removing microcode assertion check
Subject: [PATCH 06/41]bnx2x: Removing microcode assertion check
This check is unreliable since latest MC can issue warnings on rare occasions
which are not fatal errors
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 2 +-
drivers/net/bnx2x_main.c | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 89a72c8..cfbeabb 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 04/41]bnx2x: System-page alignment
Subject: [PATCH 04/41]bnx2x: System-page alignment
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 7 +++++--
drivers/net/bnx2x_main.c | 11 ++++-------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 153cc95..89a72c8 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -158,8 +158,6 @@ struct sw_rx_page {
#define SGE_PAGE_SHIFT PAGE_SHIFT
#define ...
| Feb 12, 11:36 am 2009 |
| Ben Hutchings | Re: [PATCH 03/41]bnx2x: MSI support
On Thu, 2009-02-12 at 20:36 +0200, Eilon Greenstein wrote:
This appears to be a capability offset, not a capability id! You might
[...]
Similarly for this.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 12, 11:52 am 2009 |
| Ben Hutchings | Re: [PATCH 03/41]bnx2x: MSI support
I agree, the run-time lookup is not really necessary. But please fix
the name.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Feb 12, 1:47 pm 2009 |
| Eilon Greenstein | Re: [PATCH 03/41]bnx2x: MSI support
On Thu, 2009-02-12 at 10:52 -0800, Ben Hutchings wrote:
Hi Ben!
It's always a pleasure to see how fast you respond. I really appreciate
You are right - those are the offset for this device. I find it easier to
debug when I have the offsets at hand without the need to parse the
capabilities linked list. Since the offsets will not change for this
generation of chips, I don't see the harm in providing the explicit
offsets. I assume that the driver will require major changes for a new
generation ...
| Feb 12, 1:37 pm 2009 |
| Eilon Greenstein | Re: [PATCH 03/41]bnx2x: MSI support
The name... Indeed it is misleading, I will fix it in the next patch (on top of this one)
--
| Feb 12, 1:55 pm 2009 |
| Eilon Greenstein | [PATCH 03/41]bnx2x: MSI support
Subject: [PATCH 03/41]bnx2x: MSI support
Enabling MSI on top of MSI-X and INTA. Also changing the module parameter to
allow choosing INTA or MSI even when MSI-X is available. The default status
block should not be reversed for endianity. Since MSI can issue
re-configuration, the interrupt disable function now requires mmiowb
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/bnx2x.h | 5 +-
drivers/net/bnx2x_hsi.h | 6 --
drivers/net/bnx2x_main.c | 155 ...
| Feb 12, 11:36 am 2009 |
| Eilon Greenstein | [PATCH 00/41]bnx2x: enhancements and clean up for net-next
Hi Dave,
Finally, an enhancement patch for the bnx2x. Due to many reasons (among
which FW stability and chasing some bugs) it took a while to stabilize
and the longer it took the longer the list got. So unfortunately, this
is a long list - hopefully for the last time. I realize that sending a
too many patches together is bad practice and I will do my best to avoid
it in the future.
The first patch is a new FW patch. It is way too big for the mailing
list, but I'm hoping you will get it ...
| Feb 12, 11:36 am 2009 |
| Evgeniy Polyakov | Re: Passive OS fingerprint xtables match (iptables part)
It does not since linux/types.h header is not included, but better use
Hmm...
$ grep xtables_strtoui -r /tmp/iptables-1.4.2
Well, having & clearly shows it is a pointer and not a value, especially
when it is not clear from the name what it should be.
--
Evgeniy Polyakov
--
| Feb 12, 12:18 pm 2009 |
| Jan Engelhardt | Re: Passive OS fingerprint xtables match (iptables part)
These should not done here.. it likely causes a "redefinition"
warning or compile error of sorts. Include <linux/types.h> if
The syntax should be [!] --genre string, that is what most
The & for function pointers is not needed (and actually makes
macro substituion break in some cases, just in case I need
an excuse)
--
| Feb 12, 11:26 am 2009 |
| Evgeniy Polyakov | Re: Passive OS fingerprint xtables match.
Hi.
They can be accessed via connector configuration, but it is stopped
above (and it waits for currently active users to run away);
and netfilter path, which should be prevented after match was also
unregistered above.
--
Evgeniy Polyakov
--
| Feb 12, 10:51 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 netlink connector into the kernel via special util found
in archive. It will also listen for events about ...
| Feb 12, 10:12 am 2009 |
| Paul E. McKenney | Re: Passive OS fingerprint xtables match.
I advocate using this to get more accurate censuses of machines
accessing given web servers, given the tendency of browsers to lie
about themselves in order to avoid being shut out of certain web sites.
One question about the module-unload sequence below.
Given a reasonable answer to that question, I am OK with this from
an RCU viewpoint.
For the above to be safe:
o Any remaining RCU callbacks cannot reference the list
(and your callbacks do in fact meet this constraint).
o Any ...
| Feb 12, 10:42 am 2009 |
| Jan Engelhardt | Re: Passive OS fingerprint xtables match.
Much of this I think should be upgraded to the xt_ prefixing
I do not think you need an entire u32 for loglevel and ttl.
Could there at least be some description as to what the
following fields are?
* @wc: wild card what(?)
Dave told me NIPQUAD is slated for ripout. Though, I have not
Do this function via
.proto = IPPROTO_TCP,
Why __devinit and __devexit, should not this be __init/__exit?
--
| Feb 12, 11:22 am 2009 |
| Paul E. McKenney | Re: Passive OS fingerprint xtables match.
The last one was. Your answer was that you prevented any concurrent
access, but I frankly don't understand the netfilter/connector code
well enough to do more than simply believe you.
--
| Feb 12, 1:41 pm 2009 |
| Jan Engelhardt | Re: Passive OS fingerprint xtables match (iptables part)
Usually it happens to be slurped in via <xtables.h> or so;
since many xt_foobar.h files use __u32 too and we do not have
It is going to be in 1.4.3, after whose release is the earliest point
ipt_osf (or xt_osf :) will probably find its way into the mainlines.
I think we're good - there is no & in any other extension.
--
| Feb 12, 1:19 pm 2009 |
| Jan Engelhardt | Re: Passive OS fingerprint xtables match.
Good to know. Please add this explanation as a comment
If GCC had a switch to compile with I16 or I64, I could test,
but it does not. 'long', as used in the netfilter includes,
already bit people in pre-2.6.19, and nowadays we have that compat
crap thing in place.. Just don't take any chance, and go the safe
net/netfilter/Kconfig: (e.g.)
config NETFILTER_XT_MATCH_COMMENT
tristate '"comment" match support'
depends on NETFILTER_ADVANCED
The underlying implementation ...
| Feb 12, 1:12 pm 2009 |
| Evgeniy Polyakov | Re: Passive OS fingerprint xtables match.
Hi Jan.
Thanks a lot for the review.
They are aligned to 8 bytes, although this is not strickly needed in
This is a weird wildcards implementation for the MSS value.
They can be pure wildcards and several subtypes which form the window
I would be very surprised if Linux will ever run on weird arch where int
I have no strong opinion if this should be bool or int, but logically it
Hmmm, why is this needed? We dereference linear kernel pointer at
It can be ...
| Feb 12, 11:57 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 10/10] igb: use timecompare to implement ...
Both TX and RX hardware time stamping are implemented. Due to
hardware limitations it is not possible to verify reliably which
packet was time stamped when multiple were pending for sending; this
could be solved by only allowing one packet marked for hardware time
stamping into the queue (not implemented yet).
RX time stamping relies on the flag in the packet descriptor which
marks packets that were time stamped. In "all packet" mode this flag
is not set. TODO: also support that mode (even ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 08/10] igb: access to NIC time
Adds the register definitions and code to read the time
register.
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
drivers/net/igb/e1000_regs.h | 28 +++++++++++
drivers/net/igb/igb.h | 4 ++
drivers/net/igb/igb_main.c | 111 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 143 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/e1000_regs.h b/drivers/net/igb/e1000_regs.h
index 5038b73..64d95cd ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 07/10] net: pass new SIOCSHWTSTAMP throu ...
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
fs/compat_ioctl.c | 6 ++++++
net/core/dev.c | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index c03c10d..ab7585a 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -522,6 +522,11 @@ static int dev_ifsioc(unsigned int fd, unsigned int cmd, unsigned long arg)
if (err)
return -EFAULT;
break;
+ case SIOCSHWTSTAMP:
+ if (copy_from_user(&ifr, ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 06/10] ip: support for TX timestamps on ...
Instructions for time stamping outgoing packets are take from the
socket layer and later copied into the new skb.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
Documentation/networking/timestamping.txt | 2 ++
include/net/ip.h | 1 +
net/can/raw.c | 3 +++
net/ipv4/icmp.c | 2 ++
net/ipv4/ip_output.c | 6 ++++++
net/ipv4/raw.c | 1 +
...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 04/10] net: infrastructure for hardware ...
The additional per-packet information (16 bytes for time stamps, 1
byte for flags) is stored for all packets in the skb_shared_info
struct. This implementation detail is hidden from users of that
information via skb_* accessor functions. A separate struct resp.
union is used for the additional information so that it can be
stored/copied easily outside of skb_shared_info.
Compared to previous implementations (reusing the tstamp field
depending on the context, optional additional structures) ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 09/10] igb: stub support for SIOCSHWTSTAMP
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
drivers/net/igb/igb_main.c | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 8b2ba42..90090bb 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -34,6 +34,7 @@
#include <linux/ipv6.h>
#include <net/checksum.h>
#include ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 05/10] net: socket infrastructure for SO ...
The overlap with the old SO_TIMESTAMP[NS] options is handled so
that time stamping in software (net_enable_timestamp()) is
enabled when SO_TIMESTAMP[NS] and/or SO_TIMESTAMPING_RX_SOFTWARE
is set. It's disabled if all of these are off.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
include/net/sock.h | 44 +++++++++++++++++++++++++--
net/compat.c | 19 +++++++----
net/core/sock.c | 81 ++++++++++++++++++++++++++++++++++++++++++-------
net/socket.c | 84 ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 01/10] clocksource: allow usage independ ...
So far struct clocksource acted as the interface between time/timekeeping.c
and hardware. This patch generalizes the concept so that a similar
interface can also be used in other contexts. For that it introduces
new structures and related functions *without* touching the existing
struct clocksource.
The reasons for adding these new structures to clocksource.[ch] are
* the APIs are clearly related
* struct clocksource could be cleaned up to use the new structs
* avoids proliferation of files ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 06/10] ip: support for TX timestamps on ...
Instructions for time stamping outgoing packets are take from the
socket layer and later copied into the new skb.
---
Documentation/networking/timestamping.txt | 2 ++
include/net/ip.h | 1 +
net/can/raw.c | 3 +++
net/ipv4/icmp.c | 2 ++
net/ipv4/ip_output.c | 6 ++++++
net/ipv4/raw.c | 1 +
net/ipv4/udp.c | 4 ++++
7 ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 0/10] hardware time stamping with new fi ...
Hello!
This revision of the patch series transports hardware time stamps from
the hardware into user space via additional fields in struct
skb_shared_info. It's based on net-next-2.6 as of this morning.
This is the solution that emerged from the discussion of the other
approaches suggested before (reuse tstamp, extend skbuff, optional
structs): it has the advantage of not touching skbuff and also has the
simplest implementation.
The clocksource and timecompare patches have been reviewed by ...
| Feb 12, 7:57 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 09/10] igb: stub support for SIOCSHWTSTAMP
Signed-off-by: John Ronciak <john.ronciak@intel.com>
---
drivers/net/igb/igb_main.c | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 8b2ba42..90090bb 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -34,6 +34,7 @@
#include <linux/ipv6.h>
#include <net/checksum.h>
#include <net/ip6_checksum.h>
+#include <linux/net_tstamp.h>
#include ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 01/10] clocksource: allow usage independ ...
So far struct clocksource acted as the interface between time/timekeeping.c
and hardware. This patch generalizes the concept so that a similar
interface can also be used in other contexts. For that it introduces
new structures and related functions *without* touching the existing
struct clocksource.
The reasons for adding these new structures to clocksource.[ch] are
* the APIs are clearly related
* struct clocksource could be cleaned up to use the new structs
* avoids proliferation of files ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 08/10] igb: access to NIC time
Adds the register definitions and code to read the time
register.
Signed-off-by: John Ronciak <john.ronciak@intel.com>
---
drivers/net/igb/e1000_regs.h | 28 +++++++++++
drivers/net/igb/igb.h | 4 ++
drivers/net/igb/igb_main.c | 111 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 143 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/e1000_regs.h b/drivers/net/igb/e1000_regs.h
index 5038b73..64d95cd 100644
--- a/drivers/net/igb/e1000_regs.h
+++ ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 04/10] net: infrastructure for hardware ...
The additional per-packet information (16 bytes for time stamps, 1
byte for flags) is stored for all packets in the skb_shared_info
struct. This implementation detail is hidden from users of that
information via skb_* accessor functions. A separate struct resp.
union is used for the additional information so that it can be
stored/copied easily outside of skb_shared_info.
Compared to previous implementations (reusing the tstamp field
depending on the context, optional additional structures) ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 05/10] net: socket infrastructure for SO ...
The overlap with the old SO_TIMESTAMP[NS] options is handled so
that time stamping in software (net_enable_timestamp()) is
enabled when SO_TIMESTAMP[NS] and/or SO_TIMESTAMPING_RX_SOFTWARE
is set. It's disabled if all of these are off.
---
include/net/sock.h | 44 +++++++++++++++++++++++++--
net/compat.c | 19 +++++++----
net/core/sock.c | 81 ++++++++++++++++++++++++++++++++++++++++++-------
net/socket.c | 84 +++++++++++++++++++++++++++++++++++++++------------
4 files ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 02/10] timecompare: generic infrastructu ...
Mapping from a struct timecounter to a time returned by functions like
ktime_get_real() is implemented. This is sufficient to use this code
in a network device driver which wants to support hardware time
stamping and transformation of hardware time stamps to system time.
The interface could have been made more versatile by not depending on
a time counter, but this wasn't done to avoid writing glue code
elsewhere.
The method implemented here is the one used and analyzed under the ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 02/10] timecompare: generic infrastructu ...
Mapping from a struct timecounter to a time returned by functions like
ktime_get_real() is implemented. This is sufficient to use this code
in a network device driver which wants to support hardware time
stamping and transformation of hardware time stamps to system time.
The interface could have been made more versatile by not depending on
a time counter, but this wasn't done to avoid writing glue code
elsewhere.
The method implemented here is the one used and analyzed under the ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 10/10] igb: use timecompare to implement ...
Both TX and RX hardware time stamping are implemented. Due to
hardware limitations it is not possible to verify reliably which
packet was time stamped when multiple were pending for sending; this
could be solved by only allowing one packet marked for hardware time
stamping into the queue (not implemented yet).
RX time stamping relies on the flag in the packet descriptor which
marks packets that were time stamped. In "all packet" mode this flag
is not set. TODO: also support that mode (even ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 03/10] net: new user space API for time ...
User space can request hardware and/or software time stamping.
Reporting of the result(s) via a new control message is enabled
separately for each field in the message because some of the
fields may require additional computation and thus cause overhead.
User space can tell the different kinds of time stamps apart
and choose what suits its needs.
When a TX timestamp operation is requested, the TX skb will be cloned
and the clone will be time stamped (in hardware or software) and added
to the ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 07/10] net: pass new SIOCSHWTSTAMP throu ...
---
fs/compat_ioctl.c | 6 ++++++
net/core/dev.c | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index c03c10d..ab7585a 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -522,6 +522,11 @@ static int dev_ifsioc(unsigned int fd, unsigned int cmd, unsigned long arg)
if (err)
return -EFAULT;
break;
+ case SIOCSHWTSTAMP:
+ if (copy_from_user(&ifr, uifr32, sizeof(*uifr32)))
+ return ...
| Feb 12, 8:00 am 2009 |
| Patrick Ohly | Re: [PATCH NET-NEXT 0/10] hardware time stamping with ne ...
[once more, with signed-off - sorry for the noise]
This revision of the patch series transports hardware time stamps from
the hardware into user space via additional fields in struct
skb_shared_info. It's based on net-next-2.6 as of this morning.
This is the solution that emerged from the discussion of the other
approaches suggested before (reuse tstamp, extend skbuff, optional
structs): it has the advantage of not touching skbuff and also has the
simplest implementation.
The clocksource ...
| Feb 12, 8:03 am 2009 |
| Patrick Ohly | [PATCH NET-NEXT 03/10] net: new user space API for time ...
User space can request hardware and/or software time stamping.
Reporting of the result(s) via a new control message is enabled
separately for each field in the message because some of the
fields may require additional computation and thus cause overhead.
User space can tell the different kinds of time stamps apart
and choose what suits its needs.
When a TX timestamp operation is requested, the TX skb will be cloned
and the clone will be time stamped (in hardware or software) and added
to the ...
| Feb 12, 8:03 am 2009 |
| Karl Hiramoto | problem with IPoA (CLIP), NAT, and VLANS
Hi all,
I have a scenario with CLIP IPoA(RFC1577) atm link over ADSL on the
WAN, 801.1q VLANs on the LAN, and NAT/MASQUERADE that does not work.
Network config:
Nat_host <--> router <---> server
a ping from the Nat_host reaches the server on the WAN fine, and the
ping comes back to the router, but the ping response never reaches the
Nat_Host. Using TRACE rules it seems the ICMP ping response gets lost
inside the router. I see the same behavior with TCP and ...
| Feb 12, 6:28 am 2009 |
| Clement LECIGNE | [PATCH] 4 bytes kernel memory disclosure in SO_BSDCOMPAT ...
Hi,
In function sock_getsockopt() located in net/core/sock.c, optval v.val
is not correctly initialized and directly returned in userland in case
we have SO_BSDCOMPAT option set.
This dummy code should trigger the bug:
int main(void)
{
unsigned char buf[4] = { 0, 0, 0, 0 };
int len;
int sock;
sock = socket(33, 2, 2);
getsockopt(sock, 1, SO_BSDCOMPAT, &buf, &len);
printf("%x%x%x%x\n", buf[0], buf[1], buf[2], buf[3]);
close(sock);
}
Here is a patch that fix this bug by ...
| Feb 12, 5:35 am 2009 |
| Sarah | Final Notification
Your email ID has been awarded £950,000,00 GBP in the Compaq PROMO,Reply us with your info: (jerry.smith11@btinternet.com)
Name:.............
Country:..........
Sex:..............
Addres:...........
Regards
Mrs Sarah Wood
--
| Feb 12, 5:03 am 2009 |
| Jeff Kirsher | [net-next PATCH] Remove mutex_trylock and associated WAR ...
From: Dave Graham <david.graham@intel.com>
Single-thread access must be ensured for ICH8 NVM and PHY operations.
This synchronization is provided by the nvm_mutex. To assist in
understanding the contexts from which this code could be reached,
a WARN was output if the mutex was not going to be immediately
acquirable (if !mutex_trylock()). The code has now been optimized,
and we have verified that the few remaining mutex contentions are
reasonable and non-blocking, and it is time to remove ...
| Feb 12, 2:53 am 2009 |
| Inaky Perez-Gonzalez | [GIT] pull request for v1.4 of the WiMAX linux-firmware tree
Hi David
Please pull
git://git.kernel.org/pub/scm/linux/kernel/git/inaky/linux-firmware-wimax.git
This adds v1.4 of the i2400m WiMAX firmware, which matches the user space code
release available in http://linuxwimax.org/Download.
The driver code slated for 2.6.29 works with both the v1.3 and v1.4 versions.
Thank you,
--
Inaky
--
| Feb 12, 1:29 am 2009 |
| Yang Hongyang | [PATCH]netxen:fix compile waring "
When compile the latest kernel on IA64 platform,I got a warning:
drivers/net/netxen/netxen_nic_main.c:203: warning: label ‘set_32_bit_mask’
defined but not used
We do not need label ‘set_32_bit_mask’ on IA64 platform,So move it to #else.
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
---
drivers/net/netxen/netxen_nic_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index ...
| Feb 12, 1:03 am 2009 |
| jie.yang | [PATCH] atl1c:Atheros L1C Gigabit Ethernet driver
From: Jie Yang <jie.yang@atheros.com>
Supporting AR8131, and AR8132.
Signed-off-by: Jie Yang <jie.yang@atheros.com>
---
Updated on David Miller's comments.
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 62bc022..cdb8c46 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2350,6 +2350,17 @@ config ATL1E
To compile this driver as a module, choose M here. The module
will be called atl1e.
+config ATL1C
+ tristate "Atheros L1C Gigabit Ethernet support ...
| Feb 12, 12:55 am 2009 |
| Patrick McHardy | netfilter 00/02: netfilter -stable fixes
These patches against the last -stable version fix two netfilter bugs:
- IPv6 conntrack incorrectly created inverted tuples for Node
Information Requests
- the sctp match doesn't work at all when matching on the entire
chunkmap
Please apply, thanks.
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 4 ++--
net/netfilter/xt_sctp.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Eric Leblond (1):
netfilter: fix tuple inversion for Node ...
| Feb 12, 12:07 am 2009 |
| Patrick McHardy | netfilter 01/02: fix tuple inversion for Node informatio ...
commit 796b5d184b4df1aae55894bf476959da83e25324
Author: Eric Leblond <eric@inl.fr>
Date: Thu Feb 12 08:00:35 2009 +0100
netfilter: fix tuple inversion for Node information request
Upstream commit: a51f42f3c
The patch fixes a typo in the inverse mapping of Node Information
request. Following draft-ietf-ipngwg-icmp-name-lookups-09, "Querier"
sends a type 139 (ICMPV6_NI_QUERY) packet to "Responder" which answer
with a type 140 (ICMPV6_NI_REPLY) packet.
...
| Feb 12, 12:07 am 2009 |
| Patrick McHardy | netfilter 02/02: xt_sctp: sctp chunk mapping doesn't work
commit f3568e644ddf628aab11ce2fc8341e4b12654e0f
Author: Qu Haoran <haoran.qu@6wind.com>
Date: Thu Feb 12 08:03:46 2009 +0100
netfilter: xt_sctp: sctp chunk mapping doesn't work
Upstream commit: d4e2675a
When user tries to map all chunks given in argument, kernel
works on a copy of the chunkmap, but at the end it doesn't
check the copy, but the orginal one.
Signed-off-by: Qu Haoran <haoran.qu@6wind.com>
Signed-off-by: Nicolas Dichtel ...
| Feb 12, 12:07 am 2009 |
| Harvey Harrison | [PATCH] net: replace __constant_{endian} uses in net headers
Base versions handle constant folding now. For headers exposed to
userspace, we must only expose the __ prefixed versions.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
include/linux/if_pppox.h | 20 ++++----
include/linux/if_tunnel.h | 16 +++---
include/linux/ncp_no.h | 26 +++++-----
include/linux/netdevice.h | 4 +-
include/linux/netfilter_bridge.h | 4 +-
include/linux/pim.h | 4 +-
include/linux/sctp.h ...
| Feb 11, 6:15 pm 2009 |
| David Miller | Re: [PATCH] Update jhash.h with the new version of Jenki ...
From: wli@movementarian.org
Then we can change the name, whatever...
But really, anyone truly interested will read the friggin' web site
where all the design documents and hash test results live.
--
| Feb 11, 5:29 pm 2009 |
| Jarek Poplawski | Re: [PATCH] Update jhash.h with the new version of Jenki ...
On 12-02-2009 01:41, Jan Engelhardt wrote:
Better be careful! History, like Greek myths, or even quite recent,
could be surprising...
Jarek P.
--
| Feb 12, 2:05 am 2009 |
| Jan Engelhardt | Re: [PATCH] Update jhash.h with the new version of Jenki ...
Why should we use deadbeef over golden_ratio anyway? It's just a
random constant. And I'd take the gold over beef anytime ;-)
--
| Feb 11, 5:41 pm 2009 |
| Jarek Poplawski | Re: [PATCH] Update jhash.h with the new version of Jenki ...
...But love over gold looks like safe bet! (love over beef too ;-)
Jarek P.
--
| Feb 12, 2:55 am 2009 |
| Marcel Holtmann | Re: [patch 2/2] bluetooth: CONFIG_DEBUG_LOCK_ALLOC ifdef ...
already part of my bluetooth-testing.git tree.
Regards
Marcel
--
| Feb 11, 6:52 pm 2009 |
| Andrew Morton | Re: [patch 2/2] bluetooth: CONFIG_DEBUG_LOCK_ALLOC ifdef ...
Well, I have no way of knowing this, because that tree is not
in linux-next.
Please get it added?
--
| Feb 11, 7:22 pm 2009 |
| Marcel Holtmann | Re: [patch 1/2] bluetooth/bt3c: eliminate a sparse warning
already part of my bluetooth-testing.git tree.
Regards
Marcel
--
| Feb 11, 6:52 pm 2009 |
| Alan Stern | Re: [BUG] SNAT sometimes allows packets to pass through ...
I tried adding a rule to log these unaccounted-for packets. Nothing
It does sound like the result of a bug. Do you have any pointers to
patches or locations to check in the source?
Alan Stern
--
| Feb 12, 8:11 am 2009 |
| Patrick McHardy | Re: [BUG] SNAT sometimes allows packets to pass through ...
If the connection has already timed out (from conntracks perspective),
it has lost its state. Unless connection pickup is enabled, the packet
will be marked as INVALID because it doesn't belong to a connection.
You can control dropping of these packets yourself by adding the
appropriate "-m state --state INVALID" rules. That said, there were
some bugs in the past few releases that caused some bad interaction
between TCP and TCP conntrack (not sure anymore which one of both was
to blame). Its ...
| Feb 11, 10:18 pm 2009 |
| Eric W. Biederman | Re: [PATCH] Update jhash.h with the new version of Jenki ...
0xdeadbeef is a really bad choice of an arbitrary value. It is
already used in multiple places. Only a few of which are currently
listed in linux/poison.h and if I happened to see that number in a
debug trace having to sort through all of the possible sources looks
like a major pain.
I don't really care what we call it but somehow 0xdeadbeef strikes me
as wrong and something that will make debugging harder.
Eric
--
| Feb 12, 12:58 pm 2009 |
| Patrick McHardy | Re: [PATCH] Update jhash.h with the new version of Jenki ...
include/linux/bitops.h includes multiple rot variants. rol32()
looks approriate.
--
| Feb 12, 2:16 am 2009 |
| Jozsef Kadlecsik | Re: [PATCH] Update jhash.h with the new version of Jenki ...
OK, here follows the patch with the arbitrary initial parameter renamed.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The current jhash.h implements the lookup2() hash function by Bob Jenkins.
However, lookup2() is outdated as Bob wrote a new hash function called
lookup3(). The new hash function
- mixes better than lookup2(): it passes the check that every input bit
changes every output bit 50% of the time, while lookup2() failed it.
- performs better: ...
| Feb 12, 2:11 am 2009 |
| Kyle Moffett | Re: [PATCH] Update jhash.h with the new version of Jenki ...
On Thu, Feb 12, 2009 at 4:11 AM, Jozsef Kadlecsik
Well, there's another question which is not addressed by Bob Jenkins'
design docs:
Kernel code usually runs cache-cold, whereas Bob Jenkins did most of
his testing cache-hot in tight loops. If you compile both lookup2 and
lookup3 with -Os and run them in a loop with a cache flush, how well
do they compare then?
Cheers,
Kyle Moffett
--
| Feb 12, 6:46 am 2009 |
| Rusty Russell | Re: [PATCH] Update jhash.h with the new version of Jenki ...
Hi Joszef,
My concern was that it's also bigger (and we inline it). Performance is
pretty much a wash since we so rarely hash more than a few words.
Any stats on code size changes?
Rusty.
--
| Feb 11, 7:58 pm 2009 |
| wli | Re: [PATCH] Update jhash.h with the new version of Jenki ...
The golden ratio is not an arbitrary value, nor is it a food ration.
It is (sqrt(5)+1)/2. and the original value of JHASH_GOLDEN_RATIO
approximated its reciprocal and/or fractional part in fixed point.
(double)0xdeadbeef/((unsigned long long)1 << 32) is a rather poor
approximation of (sqrt(5)-1)/2. If this value which is not the
golden ratio is arbitrary, calling it something different from
JHASH_GOLDEN_RATIO would surprise the code's readers much less.
-- wli
--
| Feb 11, 5:12 pm 2009 |
| Jozsef Kadlecsik | Re: [PATCH] Update jhash.h with the new version of Jenki ...
Thank Patrick, patch updated with rol32():
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
diff --git a/include/linux/jhash.h b/include/linux/jhash.h
index 2a2f99f..e48ecc2 100644
--- a/include/linux/jhash.h
+++ b/include/linux/jhash.h
@@ -1,82 +1,97 @@
#ifndef _LINUX_JHASH_H
#define _LINUX_JHASH_H
+#include <linux/bitops.h>
+
/* jhash.h: Jenkins hash support.
*
- * Copyright (C) 1996 Bob Jenkins (bob_jenkins@burtleburtle.net)
+ * Copyright (C) 2006. Bob Jenkins ...
| Feb 12, 2:41 am 2009 |
| Jarek Poplawski | Re: [PATCH] 3c505: do not set pcb->data.raw beyond its size
Yes, the changelog and patch look OK to me.
Thanks,
--
| Feb 11, 11:37 pm 2009 |
| Evgeniy Polyakov | Re: [0/9] pohmelfs for drivers/staging
Great, thanks a lot Greg!
--
Evgeniy Polyakov
--
| Feb 12, 1:58 pm 2009 |
| Greg KH | Re: [0/9] pohmelfs for drivers/staging
Looks great, I've now added this to the -staging tree and it will show
up in the next -next releases and is queued up to go to Linus for
2.6.30.
thanks,
greg k-h
--
| Feb 12, 12:41 pm 2009 |
| Daniel Lezcano | Re: [PATCH] netns: remove useless synchronize_net()
AFAIR, no. for_each_netdev is protected by rtnl_lock.
--
| Feb 12, 8:11 am 2009 |
| Herbert Xu | Re: [PATCH 3/3] tun: Limit amount of queued packets per device
Are you using the current net-next-2.6 (which already has the
This means that the skb argument (RDI) is bogus. However, I can't
see how that can happen unless some other corruption happened
earlier.
Does this occur on the first packet written?
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
--
| Feb 12, 4:13 am 2009 |
| Alex Williamson | Re: [PATCH 3/3] tun: Limit amount of queued packets per device
Current net-next-2.6 (v2.6.29-rc2-1715-g367681f). I just reverified it
with kvm-userspace (kvm-83-389-ga1efe3d). The problem goes away if I
Seems a little beyond the first packet, this time my VM made it to
starting sshd before causing this fault in the host (so it had at least
DHCP'd an address):
[ 208.823990] BUG: unable to handle kernel paging request at 0000000000007860
[ 208.826836] IP: [<ffffffff804481be>] skb_copy_datagram_from_iovec+0x1e/0x260
[ 208.827918] PGD 827032067 PUD ...
| Feb 12, 12:35 pm 2009 |
| Patrick McHardy | Re: [RFC] netlink broadcast return value
I always wondered about the intention behind this. It wouldn't
hurt to just try the other allocation and see if they also fail.
--
| Feb 12, 5:48 am 2009 |
| Patrick McHardy | Re: [RFC] netlink broadcast return value
They can resync. Not sure where you're getting EAGAIN from, its usually
used to deliver ENOBUFS to sockets when the kernel failed to even
allocate the first skb thats cloned to the sockets. Check out rtmsg_ifa
for an example.
--
| Feb 12, 6:25 am 2009 |
| Pablo Neira Ayuso | Re: [RFC] netlink broadcast return value
^^^^^^^^^^^^^^^
if (nlk->flags & NETLINK_HIGHLY_RELIABLE)
p->failure = 1;
--
"Los honestos son inadaptados sociales" -- Les Luthiers
--
| Feb 12, 5:41 am 2009 |
| Pablo Neira Ayuso | Re: [RFC] netlink broadcast return value
Indeed. I don't see either the point of stopping other sockets from
receiving the message because one clone failed, but that's a different
issue I think.
BTW, the netlink_set_err() function (I found one call in rtnetlink.c)
also attracted my attention since it sets the EAGAIN error to all
listeners when nlmsg_multicast() fails, which happens if the echoing is
set and unicast fails. This made me think, what would it be the action
taken by the multicast userspace listener if it hits EAGAIN? ...
| Feb 12, 6:20 am 2009 |
| Patrick McHardy | Re: [RFC] netlink broadcast return value
Agreed. The remaining question would be what to do about
xfrm_state. I think it can stay as it is if you add this
flag, *swan could use it if desired.
--
| Feb 12, 5:45 am 2009 |
| Pablo Neira Ayuso | Re: [RFC] netlink broadcast return value
Patrick, I like it, I'm fine with this approach as soon as it let me add
the "reliable" ctnetlink state-change reporting. I can add the following
on top of the patch that David already applied:
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
[...]
@@ -999,6 +1000,7 @@ static inline int do_one_broadcast(struct sock *sk,
p->skb2 = NULL;
} else if ((val = netlink_broadcast_deliver(sk, p->skb2)) < 0) {
netlink_overrun(sk);
+ p->delivery_failure = 1;
...
| Feb 12, 5:36 am 2009 |
| Patrick McHardy | Re: [RFC] netlink broadcast return value
You're proposing to drop packets, I don't think an error message
Thats true, in this case the userspace program doesn't need to
For unicast its obviously simple, for broadcast you'd need something
like this:
err = 0;
for (all netlink sockets; sk && !err; ...) {
skb = skb_clone(...)
if (skb == NULL) {
if (sk->flags & NETLINK_HIGHLY_RELIABLE)
err = -ENOBUFS;
continue;
}
...
}
So you're returning an error when at least one of the "reliable"
sockets doesn't get its ...
| Feb 11, 10:07 pm 2009 |
| Pekka Enberg | Re: Mainline kernel OLTP performance update
Applied to the 'topic/slub/perf' branch. Thanks!
Pekka
--
| Feb 12, 9:03 am 2009 |
| Zhang, Yanmin | Re: Mainline kernel OLTP performance update
Oh, previous patch has a compiling warning. Pls. use below patch.
From: Zhang Yanmin <yanmin.zhang@linux.intel.com>
The default order of kmalloc-8192 on 2*4 stoakley is an issue of calculate_order.
slab_size order name
-------------------------------------------------
4096 3 sgpool-128
8192 2 kmalloc-8192
16384 3 kmalloc-16384
kmalloc-8192's default order is smaller than sgpool-128's.
On ...
| Feb 11, 10:47 pm 2009 |
| Christoph Lameter | Re: Mainline kernel OLTP performance update
's.
You reverted the page allocator passthrough patch before this right?
Otherwise kmalloc-8192 should not exist and allocation calls for 8192
bytes would be converted inline to request of an order 1 page from the
page allocator.
| Feb 12, 8:25 am 2009 |
| Zhang, Yanmin | Re: Mainline kernel OLTP performance update
Pekka,
Sorry for the late update.
The default order of kmalloc-8192 on 2*4 stoakley is really an issue of calculate_order.
slab_size order name
-------------------------------------------------
4096 3 sgpool-128
8192 2 kmalloc-8192
16384 3 kmalloc-16384
kmalloc-8192's default order is smaller than sgpool-128's.
On 4*4 tigerton machine, a similiar issue appears on another kmem_cache.
Function ...
| Feb 11, 10:22 pm 2009 |
| Pekka Enberg | Re: Mainline kernel OLTP performance update
Hi Christoph,
On Thu, Feb 12, 2009 at 5:25 PM, Christoph Lameter
Yup, I assume that's the case here.
--
| Feb 12, 9:07 am 2009 |
| Joerg Roedel | Re: [PATCH 0/16] DMA-API debugging facility v2
Hmm, thats because all device addresses are 16kb aligned. The hashfn
uses bits 13 to 21 as the index for the hash. I can move this window up
to bits 18-26 if it improves the hash spread.
Joerg
--
| Feb 12, 7:48 am 2009 |
| Joerg Roedel | Re: [PATCH 0/16] DMA-API debugging facility v2
Great. Thanks. Applied to my dma-api/debug branch.
Joerg
--
| Feb 12, 8:20 am 2009 |
| previous day | today | next day |
|---|---|---|
| February 11, 2009 | February 12, 2009 | February 13, 2009 |
