[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFcVECLONoSV8riBHpkhJXrx39wtDLP2X7zx=C6jdXGuqw_vAg@mail.gmail.com>
Date: Fri, 10 Apr 2015 15:05:28 +0530
From: Harini Katakam <harinikatakamlinux@...il.com>
To: Harini Katakam <harini.katakam@...inx.com>
Cc: nicolas.ferre@...el.com, davem@...emloft.net,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
boris.brezillon@...e-electrons.com,
alexandre.belloni@...e-electrons.com, netdev@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Punnaiah Choudary Kalluri <punnaia@...inx.com>,
"michals@...inx.com" <michals@...inx.com>
Subject: Re: [net-next PATCH 3/3] net: macb: Add change_mtu callback with
jumbo support
On Fri, Apr 10, 2015 at 2:47 PM, Harini Katakam
<harini.katakam@...inx.com> wrote:
> Add macb_change_mtu callback; if jumbo frame support is present allow
> mtu size changes upto (jumbo max length allowed - headers).
>
> Signed-off-by: Harini Katakam <harinik@...inx.com>
> Reviewed-by: Punnaiah Choudary Kalluri <punnaia@...inx.com>
> ---
> drivers/net/ethernet/cadence/macb.c | 26 +++++++++++++++++++++++++-
> 1 file changed, 25 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
> index 85de91d..33f3283 100644
> --- a/drivers/net/ethernet/cadence/macb.c
> +++ b/drivers/net/ethernet/cadence/macb.c
> @@ -54,6 +54,10 @@
> #define MACB_MAX_TX_LEN ((unsigned int)((1 << MACB_TX_FRMLEN_SIZE) - 1))
> #define GEM_MAX_TX_LEN ((unsigned int)((1 << GEM_TX_FRMLEN_SIZE) - 1))
>
> +#define GEM_MTU_MIN_SIZE 68
> +
> +#define GEM_ZYNQMP_JUMBO_MAX 10240
I'm sorry - this definition is in the wrong patch. I'll correct it and
send a v2.
Regards,
Harini
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists