/* Change mtu size, this should work the same as olympic  */
static int xl_change_mtu(struct net_device *dev, int mtu)
/* Change mtu size, this should work the same as olympic  */
static int xl_change_mtu(struct net_device *dev, int mtu)
{
	struct xl_private *xl_priv = netdev_priv(dev);
	u16 max_mtu ; 
	if (xl_priv->xl_ring_speed == 4)
		max_mtu = 4500 ; 
	else
		max_mtu = 18000 ; 
	if (mtu > max_mtu)
		return -EINVAL ; 
	if (mtu < 100) 
		return -EINVAL ; 
	dev->mtu = mtu ; 
	xl_priv->pkt_buf_sz = mtu + TR_HLEN ; 
	return 0 ; 
}