On Fri, Apr 10, 2015 at 2:47 PM, Harini Katakam <harini.katakam@xxxxxxxxxx> 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@xxxxxxxxxx> > Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xxxxxxxxxx> > --- > 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 devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html