quot;
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 21 +++--
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 2594bbb..df7ea28 100644
--- a/drivers/net/ethernet/r
On Sat, 26 Mar 2016 10:18:46 -0700
Eric Dumazet wrote:
> On Sat, 2016-03-26 at 12:57 +0200, Corcodel Marian wrote:
> > This patch correct set bit multicast enable only once per
> > set_rx_mode invocation.
> >
> > Signed-off-by: Corcodel Marian
> > ---
> >
This patch add searching for needed registers on set_rx_mode function
and add delay to bee ready.This is for starting on full duplex on full
speed.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net
This patch correct set bit multicast enable only once per set_rx_mode
invocation.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek
Set one line space extra delay on set_rx_mode for starting
on full duplex and full speed.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
This patch add support for half duplex on MDI chips.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 77c5efb
On Fri, 25 Mar 2016 14:46:03 +0300
Sergei Shtylyov wrote:
> Hello.
>
> On 3/25/2016 1:25 PM, Corcodel Marian wrote:
>
> > Add definitions from mii and inhibit 0 to advertise.
> >
> > Signed-off-by: Corcodel Marian
> > ---
> >
a space after 'r8169:'.
>
> On Fri, Mar 25, 2016 at 03:01:06PM +0200, Corcodel Marian wrote:
> > This patch correct value on MII_BMCR register ald value 0
> > have target on reserved register first 2 bytes from MII_BMCR
> > speed 10 is flipped value on BM
This patch correct value on MII_BMCR register ald value 0
have target on reserved register first 2 bytes from MII_BMCR
speed 10 is flipped value on BMCR_SPEED100
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Add definitions from mii and inhibit 0 to advertise.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
Consolide dev->features before adding netdev, ethtool operations
on driver-private
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/
On pci express interface not support latency timer.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 61623e9
On multi cpu is posible do not keep in track alls tasks and
rtl_netdev_opts is placed after alls functions is fixed on structure
(rtl8169_private) and after MAC ADDRESS is added on structure.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 2 +-
1 file changed, 1
This patch remove unhandled interupt comparing for existence on PCI
register.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
This patch not enable/disable bus mastering when is enabled on BIOS..
pci_disable_device function also disable bus mastering for, disable bus
mastering
is dedicate function.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 29 ++---
1 file
On Sat, 12 Mar 2016 10:44:01 +0100
Francois Romieu wrote:
> Corcodel Marian :
> > This patch not enable/disable bus mastering when is enabled on
> > BIOS..
>
> It bloats the driver without any benefit.
>
For mee this patch is very important , decrease time to auton
This patch not enable/disable bus mastering when is enabled on BIOS..
pci_disable_device function also disable bus mastering for, disable bus
mastering
is dedicate function.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 29 ++---
1 file
On pci express not support latency timer.For more info read file
/drivers/pci/pci.c
on pcibios_set_master function.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet
This patch add 256 Bytes barrier on rx/tx coherent allocations.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
This patch increase rx/tx on maximum allowed 1024 4-duble-words
descriptors.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek
This patch increase rx/tx on maximum allowed 1024 4-duble-words
descriptors.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek
For more info send email.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 69 ++--
1 file changed, 42 insertions(+), 27 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
This patch enable poll operations when chip is ready.
poll op. Will start after autoneg process, after transmission is started.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet
On Thu, 2016-02-11 at 08:27 +0200, Corcodel Marian wrote:
> On probe stage what carrier to stop and rest two situation
> netif_carrier_* is slow and disturbing autonegociation process.
>
> Signed-off-by: Corcodel Marian
> ---
> drivers/net/ethernet/realtek/r8169.c | 3 ---
On Thu, 2016-02-11 at 06:12 -0500, David Miller wrote:
> From: Corcodel Marian
> Date: Thu, 11 Feb 2016 12:52:49 +0200
>
> > On Thu, 2016-02-11 at 03:39 -0500, David Miller wrote:
> >> From: Corcodel Marian
> >> Date: Thu, 11 Feb 2016 08:27:43 +0200
> >>
On Thu, 2016-02-11 at 03:39 -0500, David Miller wrote:
> From: Corcodel Marian
> Date: Thu, 11 Feb 2016 08:27:43 +0200
>
> > On probe stage what carrier to stop and rest two situation
> > netif_carrier_* is slow and disturbing autonegociation process.
> >
> &g
On probe stage what carrier to stop and rest two situation
netif_carrier_* is slow and disturbing autonegociation process.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b
This patch remove multiple invocation of RTL_FEATURE_WOL.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
On Sun, 2016-02-07 at 21:10 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 02/07/2016 08:38 PM, Corcodel Marian wrote:
>
> >On chip with external eeprom ASPM settings is loaded from eeprom
> > and
> > on pci express interface not support MWI.
>
>
On chip with external eeprom ASPM settings is loaded from eeprom and
on pci express interface not support MWI.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/drivers/net
On Sat, 2016-02-06 at 02:39 -0500, David Miller wrote:
> From: Corcodel Marian
> Date: Sat, 6 Feb 2016 08:31:26 +0200
>
> > @@ -8262,8 +8262,9 @@ static int rtl_init_one(struct pci_dev *pdev,
> const struct pci_device_id *ent)
> > rtl_hw_reset(tp);
> >
This patch help do not compile functions relative to setting latency,
setting bus master wich have provided on bios.Davem says "The chip
can be used on systems without a BIOS and that should still
work."
Signed-off-by: Corcodel Marian
---
drivers/Kconfig
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 2e83059..1d119a6 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net
On Thu, 2016-02-04 at 11:35 +0200, Corcodel Marian wrote:
> This patch set MSI on probe stage without this patch MSI is set when
> rtl_open occur.
> Do not need to run rtl_try_msi on multiple times.
>
> Signed-off-by: Corcodel Marian
> ---
> drivers/net/ethernet/realtek/
This patch set MSI on probe stage without this patch MSI is set when rtl_open
occur.
Do not need to run rtl_try_msi on multiple times.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net
This patch set default priority before xmit operations and, also when nic
running
on worst speed (500Mbs-1Mbs), this patch increase speed to 8-10Mbs.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
With SWInt and TxDescUnavail interrupts now have full support interrupts
(maybe).
This new interrupts is tested on my hardware RTL 8102.For another hardware need
to
be tested.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 2 +-
1 file changed, 1 insertion(+), 1
On reset and power on need 2msecs delay to autoload complete data from
eeprom to VPD.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
Do not need to force on bus mastering , if alls is ok this is
enabled on BIOS.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index a8fb86d
These bits is already set on set geatures stage.
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 17d5571..a8fb86d 100644
--- a/drivers
Hi
When implement multiproc support on network modules or template to
migrate all modules on multiproc task?
Hi
This is not patch .On net_device structure only 2 elements from old
structure net_device_stats exists rx_dropped and tx_dropped why please
put alls elements from net_device_stats for bee ready for atomic
operations.
/include/linux/netdevice.h
--
Corcodel Marian
--
To unsubscribe from this
Deny functions member of array rtl_work to run when link is
ok.After rtl8169_init_phy exist 10 sec timeout.On many cases link is ok and
no need to destroy all work.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
Actually from r810x_pll_power_up function i removed function
r810x_phy_power_up because is two situation.One run from rtl8169_phy_reset
wich already power on interface after reset MII_BMCR and two i placed
supplementary on __rtl8169_resume.
Signed-off-by: Corcodel Marian
diff --git a
Correct value on r810x_phy_power_up function normal clean
bit BMCR_PDOWN
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index d6d39df..91cf3a6 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet
On RTL 8101 series bit SYSErr is reserved.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 5693e65..32d2072 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -8256,6
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 5fb79b1..5693e65 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169
Increase MaxReadReq to 8192 bytes wich fit with value
written on MaxTxPacketSize register 64 units and 128 descriptors on unit
on pci express interface. Old value from MaxReadReq is half from new value
as not fit.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet
Keep writting on ChipCmd register close and execute before
writting on any decriptors.On close the interface same rule.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index b0f7ed2..2ee8bca 100644
--- a/drivers/net
Disable writting on registers on probe stage because
register CplusCmd must init first.Here is order: 1. CplusCmd, 2. ChipCmd, 3.
Rest regs. I split __rtl8169_set_features func for solve this issue.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b
Disable interrupts when close the interface.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 6cd7226..ea461fe 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -7548,6
Avoid to use on pci express interface I/O Space access
and do not enable Bus Master is set on BIOS. Warning: Do not apply this
patch must apply previously patch first.
To: netdev@vger.kernel.org
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b
Disable legacy interrupt on pci express interface use msi
disable some bits from pci express interface wich is not need on this nic.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 6d16de3..b1fb54f 100644
--- a
Add set DMA burst size and Rx FIFO threshold on RxConfig
register to function rtl_set_rx_tx_config_register.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 6d16de3..c3c908c 100644
--- a/drivers/net/ethernet
On here want to be original value, period.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index aff5437..6d16de3 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -5219,8
Replace TX_DMA_BURST with 3 wich corespond on 128
descriptors send on Tx burst DMA .Packet size consist in unit of 128
descriptors. Ensure to keep this units grouped
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
Put rx_buf_sz on rtl_cfg_info structure and add new
parameter rx_buf_coef.Param rx_buf_sz may be different by nic's and same
rx_buf_coef On RTL 8101 series rx_buf_coef is not equal with rx_buf_sz.
Add --whitespace=warn on git
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/eth
Set InterFrame Gap time as largest posible for comp. Add
InterFrameGap2 bit set on start.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index eb2d2a4..ea0f327 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b
Brute force transmission when Rx interrupt exist on
interface is up. Guaranteed to start on full duplex and not maximum
speed.When set half duplex working same without this patch.
For apply this patch set --whitespace=warn
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet
We want to start evaluate an RES Receive error summary only
when LS (LastFrag) occurred but without FirstFrag
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 8bf8c3f..0ee0107 100644
--- a/drivers/net/ethernet
chip and rest from memory. DESC_ARRAY * NUM_ARRAY_MIN is hardware
descriptors from chip. On doc RTL 8101/8102 and RTL 8169 report same number
of descriptors 1024.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
This patch fill with zero Tx descriptors before use.Is only
onpart by more patches but is critical.(critical)
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 3df51fa..bf78f94 100644
--- a/drivers/net/ethernet
Add new interrupt bit FEmp (Rx FIFO empty under FIFO full
Status Interrupt)
Signed-off-by: Corcodel Marian
---
realtek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/realtek.c b/realtek.c
index e437466..a9185b2 100644
--- a/realtek.c
+++ b/realtek.c
@@ -229,6 +229,7
, i.e.,
the max packet size is either 1518 or 1522 (VLAN) bytes, this field must be
larger than the max packet size. E.g., 0x0C. On mee working good with
txpacketmax=60 and rx_buf_sz=1600
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 23 ++-
1
RTL_GIGA_MAC_VER_09.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 3df51fa..c635d11 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -346,6 +346,7 @@ MODULE_DEVICE_TABLE(pci
According to this doc
https://www.kernel.org/doc/Documentation/DMA-API.txt dma_alloc_coherent
must run on interrupt context, and flush the chip before use.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
From: Corcodel Marian
Correct values on dma_alloc_coherent to fit on 256
wich is size rx descriptor and tx descriptor provided by the cip. On my
chip try to solve running on full duplex wo low speed. Wo this patch
running from terminal ethtool -s eth0 autoneg on from many times to
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 3df51fa..561c23a 100644
--- a/drivers/net/ethernet/realtek
Changes to be committed:
modified: drivers/net/ethernet/realtek/r8169.c
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net
Changes to be committed:
modified: drivers/net/ethernet/realtek/r8169.c
Signed-off-by: Corcodel Marian
---
drivers/net/ethernet/realtek/r8169.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net
Set bits on register Interrupt status on limits by
configuration(critical).
On chips not alls bits is in use and some is reserved this patch solve this
issue.
Committer: Corcodel Marian
Changes to be committed:
modified: drivers/net/ethernet/realtek/r8169.c
Signed-off-by
This is a multi-part message in MIME format.
--mine-boundary-string
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Add new bit interrupt FEmp, on RTL_CFG_2 bit SYSErr is reserved and add
rests bits.
Committer: Corcodel Marian
On branch
that alls op is
executed.On slow proc this is good.
Committer: Corcodel Marian
On branch master
Your branch is ahead of 'origin/master' by 14 commits.
(use "git push" to publish your local commits)
Changes to be committed:
modified: drivers/net/ethernet/realtek
73 matches
Mail list logo