From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] Multi network device improvements
Date: Thu, 15 May 2014 08:32:11 +0200 [thread overview]
Message-ID: <1400135535-29312-1-git-send-email-s.hauer@pengutronix.de> (raw)
Currently all network packets go through the current ethernet device.
This means when the interface is changed with the ethact command all
existing NFS mounts / TFTP mounts become nonfunctional because the
packets go to the wrong interface. This series fixes that. Also
the 'ifup' command now changes the current interface to the one to
be brought up. Otherwise the correct interface is configured, but
for example dhcp requests would go out the current interface which
may be the wrong one.
Sascha
----------------------------------------------------------------
Sascha Hauer (4):
net: ifup: Set current ethernet device when doing ifup
net: Pass eth_device to net_receive
net: Allow to use multiple network interfaces at once
net: phy: Print ethernet device in the link information
drivers/net/altera_tse.c | 2 +-
drivers/net/ar231x.c | 2 +-
drivers/net/arc_emac.c | 2 +-
drivers/net/at91_ether.c | 2 +-
drivers/net/cpsw.c | 2 +-
drivers/net/cs8900.c | 2 +-
drivers/net/davinci_emac.c | 2 +-
drivers/net/designware.c | 2 +-
drivers/net/dm9k.c | 2 +-
drivers/net/ep93xx.c | 2 +-
drivers/net/ethoc.c | 2 +-
drivers/net/fec_imx.c | 2 +-
drivers/net/fec_mpc5200.c | 2 +-
drivers/net/gianfar.c | 2 +-
drivers/net/ks8851_mll.c | 2 +-
drivers/net/macb.c | 4 ++--
drivers/net/netx_eth.c | 2 +-
drivers/net/orion-gbe.c | 2 +-
drivers/net/phy/phy.c | 2 +-
drivers/net/smc91111.c | 2 +-
drivers/net/smc911x.c | 2 +-
drivers/net/tap.c | 2 +-
drivers/net/usb/asix.c | 2 +-
drivers/net/usb/smsc95xx.c | 4 ++--
drivers/net/usb/usbnet.c | 2 +-
drivers/net/xgmac.c | 2 +-
include/net.h | 5 ++--
net/eth.c | 58 +++++++++++++++++++++++++---------------------
net/ifup.c | 2 ++
net/net.c | 21 ++++++++---------
30 files changed, 74 insertions(+), 68 deletions(-)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2014-05-15 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 6:32 Sascha Hauer [this message]
2014-05-15 6:32 ` [PATCH 1/4] net: ifup: Set current ethernet device when doing ifup Sascha Hauer
2014-05-15 6:32 ` [PATCH 2/4] net: Pass eth_device to net_receive Sascha Hauer
2014-05-15 6:32 ` [PATCH 3/4] net: Allow to use multiple network interfaces at once Sascha Hauer
2014-05-15 6:32 ` [PATCH 4/4] net: phy: Print ethernet device in the link information Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400135535-29312-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox