19 Feb, 2010
11 commits
-
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
Make remaining netlink policies as const.
Fixup coding style where needed.Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Dunno, what was the idea, it wasn't used for a long time.
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
ICMP6 MIB statistics was per-netns for quite a time.
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
The lock used in unix_state_lock() is a spin_lock not reader-writer.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Added flags field to macvtap_queue to enable/disable processing of
virtio_net_hdr via IFF_VNET_HDR. This flag is checked to prepend virtio_net_hdr
in the receive path and process/skip virtio_net_hdr in the send path.Original patch by Sridhar, further changes by Arnd.
Signed-off-by: Sridhar Samudrala
Signed-off-by: Arnd Bergmann
Signed-off-by: David S. Miller -
This adds support for passing a macvtap file descriptor into
vhost-net, much like we already do for tun/tap.Most of the new code is taken from the respective patch
in the tun driver and may get consolidated in the future.Signed-off-by: Arnd Bergmann
Acked-by: Sridhar Samudrala
Signed-off-by: David S. Miller -
This reworks the change done by the previous patch
in a more complete way.The original macvtap code has a number of problems
resulting from the use of RCU for protecting the
access to struct macvtap_queue from open files.This includes
- need for GFP_ATOMIC allocations for skbs
- potential deadlocks when copy_*_user sleeps
- inability to work with vhost-netChanging the lifetime of macvtap_queue to always
depend on the open file solves all these. The
RCU reference simply moves one step down to
the reference on the macvlan_dev, which we
only need for nonblocking operations.Signed-off-by: Arnd Bergmann
Acked-by: Sridhar Samudrala
Signed-off-by: David S. Miller -
As reported by Randy Dunlap , compilation
of nf_defrag_ipv4 fails with:include/net/netfilter/nf_conntrack.h:94: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h:178: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h:185: error: implicit declaration of function 'nf_conntrack_put'
include/net/netfilter/nf_conntrack.h:294: error: 'const struct sk_buff' has no member named 'nfct'
net/ipv4/netfilter/nf_defrag_ipv4.c:45: error: 'struct sk_buff' has no member named 'nfct'
net/ipv4/netfilter/nf_defrag_ipv4.c:46: error: 'struct sk_buff' has no member named 'nfct'net/nf_conntrack.h must not be included with NF_CONNTRACK=n, add a
few #ifdefs. Long term the header file should be fixed to be usable
even with NF_CONNTRACK=n.Tested-by: Randy Dunlap
Signed-off-by: Patrick McHardy
18 Feb, 2010
29 commits
-
Enhance IPVS to load balance SCTP transport protocol packets. This is done
based on the SCTP rfc 4960. All possible control chunks have been taken
care. The state machine used in this code looks some what lengthy. I tried
to make the state machine easy to understand.Signed-off-by: Venkata Mohan Reddy Koppula
Signed-off-by: Simon Horman
Signed-off-by: Patrick McHardy -
Only used for writing, so convert to spinlock
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Commit 865a21a5e3d1b384c559a44c898fcad93e187b82 overwrote
commit a3aa18842a5303fc28fcc4d57dbd16618bd830a0Fix it.
Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Convert formats like %8.8 to %08
Remove periods from formats
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Checkpatch cleaningSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Checkpatch cleaning
Convert formats like 0x%08x to %#08x
Remove periods from formats
Coalesce long formats
Use print_hex_dumpSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Remove periods from formats
Coalesce long formats
Use __func__Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Remove periods from formats
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Convert struct bnx2x member msglevel to msg_enable for netif_msg_ macros
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Remove periods from formats
Coalesce long formats
Coalesce some printksSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Remove periods from formats
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Convert formats like %8.8 to %08
Remove periods from formats
Coalesce long formats
Use print_hex_dumpSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove #define PFX
Use pr_
Use netdev_
Use netif_
Remove periods from formats
Coalesce long formatsSigned-off-by: Joe Perches
Signed-off-by: David S. Miller -
This patch updates the tg3 version to 3.108.
Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch pushes phylib definitions out to phylib headers. For phy
IDs, this removes some code duplication.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
The phylib presents the phy ID in a different format than the one tg3
has traditionally used. To highlight the distinction, this patch
prepends the tg3 native phy ID format with TG3.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch reformats the SSID to phy ID table, replacing constants with
preprocessor definitions. This patch is also prep work for the
following patch, which will push line lengths beyond 80 chars.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
The phy address will not change after it has been identified. Move the
discovery code to a location that only gets executed once.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch adds an inverted "jumbo ring enable" test and jumps to the exit
if it succeeds. The change reduces the indent level of the remaining
code making it more readable.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
The STD part of this preprocessor definition is a bit of a misnomer.
This flag is a coarse control of the RGMII inband status facilities.
This patch renames the definition to be more accurate.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch adds 57765 asic partno entries for the path executed if VPD
is not present in NVRAM.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch loosens the restriction that the phylib interface must be up
and running to change the flow control parameters.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch adds new offsets to the bootcode version extraction code to
support NVRAM format versions 4 and 5.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
This patch adds the 57791 and 57795 to the list of devices that only
support 10 and 100 Mbps speeds.Signed-off-by: Matt Carlson
Reviewed-by: Michael Chan
Signed-off-by: David S. Miller -
Michael Chan noted that there is nothing in the code that would prevent
the compiler from delaying the access of the "mapping" member of the
newly arrived packet until much later. If this happened after the
skb = NULL assignment, it is possible for the driver to pass a bad
dma_addr value to pci_unmap_single(). To enforce this ordering, we need
a write memory barrier. The pairing read memory barrier already exists
in tg3_rx_prodring_xfer() under the comments starting with
"Ensure that updates to the...".Signed-off-by: Matt Carlson
Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
This patch adds Linux Socket Filter support to
tun driver.Signed-off-by: Michael S. Tsirkin
Signed-off-by: David S. Miller