[PATCH 3/3] net: sxgbe: fixed mtl and dma channel feature

2014-05-08 Thread Byungho An
This patch fixes mtl queue and dma channel value and adds mtl qsize for FIFO setting. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/samsung/sxgbe

[PATCH 1/3] net: sxgbe: Added condition for non fix_burst mode

2014-05-08 Thread Byungho An
This patch adds the condition for non fixed burst mode and seperates into two conditions for pbl value. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 32 --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h |2 +- drivers/net/ethernet

[PATCH 2/3] net: sxgbe: Added tail point update

2014-05-08 Thread Byungho An
This patch adds tail point update function for rx path after rx_refill function. It indicate tail point to rx dma. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 14 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h |4 drivers/net

[PATCH 0/3] net: sxgbe: Added dma related function and non-burst mode support

2014-05-08 Thread Byungho An
This series added - functions to update rx descriptor tail pointer - non burst mode support - fixed dma channel feature. Byungho An (3): net: sxgbe: Added condition for non fix_burst mode net: sxgbe: Added tail point update net: sxgbe: Fixed mtl and dma channel feature drivers/net

RE: [PATCH] net: sxgbe: Added tail point update

2014-05-08 Thread Byungho An
Francois Romieu wrote : > Byungho An : > > Florian Fainelli wrote: > [...] > > > I think that at some point you should revisit your abstraction, all > > > the patches that I see do take a void __iomem * argument as the first > > > function argument, you

RE: [PATCH] net: sxgbe: Added tail point update

2014-05-07 Thread Byungho An
Florian Fainelli wrote: > 2014-05-07 1:14 GMT-07:00 Byungho An : > > > > This patch adds tail point update function for rx path > > after rx_refill function. It indicates tail point for rx dma. > > > > Signed-off-by: Byungho An > > --- > > drivers/n

RE: [PATCH] net: sxgbe: Added condition for non fix_burst mode

2014-05-07 Thread Byungho An
David Miller wrote: > Please start numbering your patches and submit patch sets properly. > > You need to provide: > > 1) A header posting with subject "[PATCH 0/${N}] blah blah blah" >that describes at a high level what the patch series does. > > 2) The patches, in the correct order, numbe

[PATCH] net: sxgbe: fixed mtl and dma channel feature

2014-05-07 Thread Byungho An
This patch fixes mtl queue and dma channel value and adds mtl qsize for FIFO setting. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/samsung/sxgbe

[PATCH] net: sxgbe: Added condition for non fix_burst mode

2014-05-07 Thread Byungho An
This patch adds the condition for non fixed burst mode and separates into two conditions depending on pbl value. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 32 --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h |2 +- drivers/net

[PATCH] net: sxgbe: Added tail point update

2014-05-07 Thread Byungho An
This patch adds tail point update function for rx path after rx_refill function. It indicates tail point for rx dma. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 14 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h |4 drivers/net

[PATCH] net: sxgbe: Added rxqueue enable function

2014-04-28 Thread Byungho An
This patch adds rxqueue enable function according to number of rxqueue and adds rxqueue disable function for removing. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |2 ++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 22

[PATCH] net: sxgbe: Added set function for interrupt on complete

2014-04-28 Thread Byungho An
This patch adds set_rx_int_on_com function for interrupt when dma is completed. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c |7 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h |3 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c |1 + 3

[PATCH] net: sxgbe: sw reset moved to probe function

2014-04-28 Thread Byungho An
This patch moves sw reset to probe function because sw reset is needed early stage before open function. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 13 - drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 22 ++ 2 files

[PATCH] net: sxgbe: Added phy_found error path

2014-04-18 Thread Byungho An
This patch adds phy_found error path when there is no phy device and changes bus_name. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/samsung/sxgbe

[PATCH] net: sxgbe: rearrange dma descriptor

2014-04-18 Thread Byungho An
This patch moves cksum_ctl to tx_rd_des23 from cksum_pktlen for correct checksum offloading and modifies size for Tx/Rx descriptor. Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c |4 +-- drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 39

[PATCH net-next] net: sxgbe: fix sparse warnings about static declaration

2014-03-28 Thread Byungho An
From: Byungho An This fixes followings: sparse warnings: (new ones prefixed by >>) >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:197:5: sparse: symbol 'sxgbe_platform_freeze' was not declared. Should it be static? >> drivers/net/ethernet/samsung/sxgbe/sxg

[PATCH net-next] net: sxgbe: fix potential null dereference

2014-03-28 Thread Byungho An
From: Byungho An This fixes following: drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1828 sxgbe_hw_init() error: potential null dereference 'priv->hw'. (kmalloc returns null) Reported-by: kbuild test robot Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe

[PATCH V14 0/7] add new Samsung SXGBE driver

2014-03-25 Thread Byungho An
d codes as per Vince's comment Changes since v12: - fixed typo Changes since v13: - clean up error path codes for irqs as per Francois's comment - removed unsupported functions for ehttoolirq as per Ben's comment Byungho An (1): MAINTAINERS: add maintainer for Samsung sxgbe dri

[PATCH V14 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-25 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V14 1/7] sxgbe: Add device-tree binding support document

2014-03-25 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 52 1 file changed, 52 insertions(+) create mode 100644

[PATCH V14 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-25 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 16 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 433

[PATCH V14 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-25 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V14 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-25 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V14 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-25 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c |2 +- drivers/net

RE: [PATCH V13 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-25 Thread Byungho An
Francois Romieu : > Byungho An : > [...] > > How about below ? > > The for loops should be unrolled. > > (style: no need to join before branching) > > I must go to work, so you'll have to fill the dots in the code below: > > priv = sxg

RE: [PATCH V13 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-24 Thread Byungho An
Francois Romieu : > > +static int sxgbe_platform_probe(struct platform_device *pdev) > [...] > > + /* Get the SXGBE common INT information */ > > + priv->irq = irq_of_parse_and_map(node, 0); > > + if (priv->irq <= 0) { > > + dev_err(dev, "sxgbe common irq parsing failed\n"); > > +

[PATCH V13 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-23 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V13 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-23 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V13 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-23 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V13 1/7] sxgbe: Add device-tree binding support document

2014-03-23 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 52 1 file changed, 52 insertions(+) create mode 100644

[PATCH V13 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-23 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c |2 +- drivers/net

[PATCH V13 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-23 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V13 0/7] add new Samsung SXGBE driver

2014-03-23 Thread Byungho An
since v10: - clean up codes as per Francois's comment Changes since v11: - clean up mdio_read/write codes as per Francois's comment - changed irq acquisition error path as per Francois's comment - updated mdio and platform related codes as per Tomasz'comment - clean up dma rela

[PATCH V12 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-22 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c |2 +- drivers/net

[PATCH V12 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-22 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V12 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-22 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V12 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-22 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V12 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-22 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V12 1/7] sxgbe: Add device-tree binding support document

2014-03-22 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 52 1 file changed, 52 insertions(+) create mode 100644

[PATCH V12 0/7] add new Samsung SXGBE driver

2014-03-22 Thread Byungho An
since v10: - clean up codes as per Francois's comment Changes since v11: - clean up mdio_read/write codes as per Francois's comment - changed irq acquisition error path as per Francois's comment - updated mdio and platform related codes as per Tomasz'comment - clean up dma related

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Vince Bridgers : > On Sat, Mar 22, 2014 at 1:23 AM, Byungho An wrote: > > From: Siva Reddy > > > > This patch adds support for Samsung 10Gb ethernet driver(sxgbe). [snip] > > + /* Stop Advertising 1000BASE Capability if interface is not GMII */

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Vince Bridgers : > See comments inline > > On Sat, Mar 22, 2014 at 1:23 AM, Byungho An wrote: > > From: Siva Reddy > > > > This patch adds support for Samsung 10Gb ethernet driver(sxgbe). > > [snip] > > + /* program desc regis

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Tomasz Figa : > On 22.03.2014 22:55, Byungho An wrote: > > > > Tomasz Figa : > > [snip] > > >>> + if (priv->irq <= 0) { > >>> + dev_err(dev, "sxgbe common irq parsing failed\n"); > >>> + sxgbe_drv_re

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Vince Bridgers : > On Sat, Mar 22, 2014 at 1:23 AM, Byungho An wrote: > > From: Siva Reddy > > > > This patch adds support for Samsung 10Gb ethernet driver(sxgbe). > > [snip] > > +static int sxgbe_init_rx_buffers(struct net_device *dev, > >

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Tomasz Figa : > Hi, > > I have reviewed the non-net-specific parts of this driver, e.g. platform driver > and Device Tree code. Please see my comments inline. > > On 22.03.2014 07:23, Byungho An wrote: > > From: Siva Reddy > > > > This patch adds support fo

RE: [PATCH V11 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Francois Romieu wrote : > Byungho An : > [...] > > +static int sxgbe_init_rx_buffers(struct net_device *dev, > > +struct sxgbe_rx_norm_desc *p, int i, > > +unsigned int dma_buf_sz, > > +

RE: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Francois Romieu wrote: > Byungho An : > [...] > > > Nit: you may consider reorganizing the variables in an inverted xmas > > > tree fashion at some point. > > Does it look better? No problem. > > Marginally if not more. Consider it a guideline to avoid unusu

[PATCH V11 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-21 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V11 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V11 1/7] sxgbe: Add device-tree binding support document

2014-03-21 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 52 1 file changed, 52 insertions(+) create mode 100644

[PATCH V11 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers

[PATCH V11 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V11 0/7] add new Samsung SXGBE driver

2014-03-21 Thread Byungho An
ions as per Rayagond's comment Changes since v8: - removed select and depends statement from vendor sub-section as per Dave's comment Changes since v9: - removed adv-add-map, force-sf-dma-modei and force-thresh-dma-mode from binding documnet as per Mark's comment Changes sin

[PATCH V11 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

RE: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-21 Thread Byungho An
Francois Romieu : > Byungho An : > [...] > > +static int sxgbe_hw_init(struct sxgbe_priv_data * const priv) { > > struct sxgbe_ops *hw = priv->hw; > > > + u32 ctrl_ids; > [...] > > +struct sxgbe_priv_data *sxgbe_dvr_probe(struct device *device, &

[PATCH V10 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V10 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V10 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-21 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V10 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V10 1/7] sxgbe: Add device-tree binding support document

2014-03-21 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 52 1 file changed, 52 insertions(+) create mode 100644

[PATCH V10 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-21 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers

[PATCH V10 0/7] add new Samsung SXGBE driver

2014-03-21 Thread Byungho An
ions as per Rayagond's comment Changes since v8: - removed select and depends statement from vendor sub-section as per Dave's comment Changes since v9: - removed adv-add-map, force-sf-dma-modei and force-thresh-dma-mode from binding document and updated platform_get_irq as per Mar

RE: [PATCH V7 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-21 Thread Byungho An
Vince Bridgers wrote : > On Wed, Mar 19, 2014 at 9:26 PM, Byungho An > wrote: > > From: Vipul Pandya > > > > This patch adds ethtool related functions. > > > > Signed-off-by: Vipul Pandya > > Neatening-by: Joe Perches > > Signed-off-by: Byung

RE: [PATCH V4 1/8] sxgbe: Add device-tree binding support document

2014-03-21 Thread Byungho An
Mark Rutland wrote : > On Wed, Mar 19, 2014 at 10:32:48PM +0000, Byungho An wrote: > > Mark Rutland : > > > On Tue, Mar 18, 2014 at 04:27:46PM +, Byungho An wrote: > > > > Mark Rutland : > > > > > Hi, > > > > > > > >

RE: [PATCH V8 1/7] sxgbe: Add device-tree binding support document

2014-03-21 Thread Byungho An
Mark Rutland wrote: > > +Example: > > + > > + aliases { > > + ethernet0 = <&sxgbe0>; > > + }; > > + > > + sxgbe0: ethernet@1a04 { > > + compatible = "samsung,sxgbe-v2.0a"; > > + reg = <0 0x1a04 0 0x1>; > > + interrupt-parent = <&gic>; > > +

RE: [PATCH V8 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-21 Thread Byungho An
Mark Rutland wrote: > On Thu, Mar 20, 2014 at 05:26:06PM +0000, Byungho An wrote: > > From: Girish K S > > > > Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. > > > > Signed-off-by: Girish K S > > Neatening-by: Joe

[PATCH V9 1/7] sxgbe: Add device-tree binding support document

2014-03-20 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 60 1 file changed, 60 insertions(+) create mode 100644

[PATCH V9 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V9 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V9 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-20 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V9 0/7] add new Samsung SXGBE driver

2014-03-20 Thread Byungho An
ions as per Rayagond's comment Changes since v8: - removed select and depends statement from vendor sub-section as per Dave's comment Byungho An (1): MAINTAINERS: add maintainer for Samsung sxgbe driver Girish K S (1): net: sxgbe: add EEE(Energy Efficient Ethernet) for Sams

[PATCH V9 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V9 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers

RE: [PATCH V8 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-20 Thread Byungho An
David Miller : > From: Byungho An > Date: Thu, 20 Mar 2014 10:25:59 -0700 > > > +config NET_VENDOR_SAMSUNG > > + bool "Samsung Ethernet device" > > + default y > > + depends on HAS_IOMEM && HAS_DMA > > + select PHYLIB > >

[PATCH V8 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V8 1/7] sxgbe: Add device-tree binding support document

2014-03-20 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 60 1 file changed, 60 insertions(+) create mode 100644

[PATCH V8 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers

[PATCH V8 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-20 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V8 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-20 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V8 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-20 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V8 0/7] add new Samsung SXGBE driver

2014-03-20 Thread Byungho An
n's comment - fixed typo and shortened code as per Joe's comment Changes since v6: - updated TSO related functions as per Rayagond's comment - updated binding document as per Mark's comment - removed WoL patch from this patch set Changes since v7: - updated TSO related funct

RE: [PATCH V7 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-20 Thread Byungho An
Rayagond Kokatanur wrote : > On Thu, Mar 20, 2014 at 7:56 AM, Byungho An wrote: > > From: Vipul Pandya > > > > Enable TSO during initialization for each DMA channels > > > > Signed-off-by: Vipul Pandya > > Neatening-by: Joe Perches > > Signed

[PATCH V7 5/7] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-19 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V7 6/7] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-19 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 509

[PATCH V7 4/7] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-19 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet) in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V7 0/7] add new Samsung SXGBE driver

2014-03-19 Thread Byungho An
n's comment - fixed typo and shortened code as per Joe's comment Changes since v6: - updated TSO related functions as per Rayagond's comment - updated binding document as per Mark's comment - removed WoL from this patch set Byungho An (1): MAINTAINERS: add maintainer for

[PATCH V7 1/7] sxgbe: Add device-tree binding support document

2014-03-19 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 60 1 file changed, 60 insertions(+) create mode 100644

[PATCH V7 3/7] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-19 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers

[PATCH V7 7/7] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-19 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

RE: [PATCH V4 1/8] sxgbe: Add device-tree binding support document

2014-03-19 Thread Byungho An
Mark Rutland : > On Tue, Mar 18, 2014 at 04:27:46PM +0000, Byungho An wrote: > > Mark Rutland : > > > Hi, > > > > > > As a general note it's helpful for devicetree to be Cc'd on the > > > entire > > series > > > (though

RE: [PATCH V6 3/8] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-19 Thread Byungho An
Rayagond Kokatanur wrote: > On Wed, Mar 19, 2014 at 11:02 AM, Byungho An wrote: [snip] > > > > /* save the skb address */ > > tqueue->tx_skbuff[entry] = skb; > > > > if (!is_jumbo) { > > - tx_desc->td

[PATCH V6 6/8] net: sxgbe: add WOL(Wakeup-On-Lan)support for Samsung sxgbe

2014-03-18 Thread Byungho An
From: Girish K S This patch adds support for wake up on magic frame arrival. Also remote wake up on all other packets (unicast, multicast broadcast) is supported. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe

[PATCH V6 5/8] net: sxgbe: add Checksum offload support for Samsung sxgbe

2014-03-18 Thread Byungho An
From: Vipul Pandya This patch adds TX and RX checksum offload support. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h |5 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c | 20

[PATCH V6 1/8] sxgbe: Add device-tree binding support document

2014-03-18 Thread Byungho An
From: Siva Reddy This patch adds binding document for SXGBE ethernet driver via device-tree. Signed-off-by: Siva Reddy Kallam Signed-off-by: Byungho An --- .../devicetree/bindings/net/samsung-sxgbe.txt | 58 1 file changed, 58 insertions(+) create mode 100644

[PATCH V6 7/8] net: sxgbe: add ethtool related functions support Samsung sxgbe

2014-03-18 Thread Byungho An
From: Vipul Pandya This patch adds ethtool related functions. Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 25 +- drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 510

[PATCH V6 4/8] net: sxgbe: add EEE(Energy Efficient Ethernet) for Samsung sxgbe

2014-03-18 Thread Byungho An
From: Girish K S Added support for the EEE(Energy Efficient Ethernet)in 10G ethernet driver. Signed-off-by: Girish K S Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 53 +++ drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

[PATCH V6 3/8] net: sxgbe: add TSO support for Samsung sxgbe

2014-03-18 Thread Byungho An
From: Vipul Pandya Enable TSO during initialization for each DMA channels Signed-off-by: Vipul Pandya Neatening-by: Joe Perches Signed-off-by: Byungho An --- drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h | 17 +++-- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 10 +++ drivers/net

[PATCH V6 8/8] MAINTAINERS: add maintainer for Samsung sxgbe driver

2014-03-18 Thread Byungho An
From: Byungho An Signed-off-by: Byungho An --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b7befe7..aeb81f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7536,6 +7536,15 @@ S: Supported L: linux-samsung-soc

[PATCH V6 0/8] add new Samsung SXGBE driver

2014-03-18 Thread Byungho An
clean up codes as per Joe's comment - removed reference of net_device.{irq, base_addr} Changes since v4: - updated binding document and DT related function as per Mark's comment Changes since v5: - updated binding document and DT related function as per Florian's comment - fixed typo a

RE: [PATCH V5 2/8] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-18 Thread Byungho An
Florian Fainelli wrote : > 2014-03-18 15:16 GMT-07:00 Byungho An : > > Florian Fainelli wrote: > >> 2014-03-18 11:19 GMT-07:00 Byungho An : > >> > From: Siva Reddy > >> > > >> > This patch adds support for Samsung 10Gb ethernet dr

  1   2   >