04 Sep, 2013
9 commits
-
A device inheriting a random or set address should reflect this in
its addr_assign_type.Cc: Forest Bond
Signed-off-by: Bjørn Mork
Acked-by: Greg Kroah-Hartman
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Acked-by: John W. Linville
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Cc: Jouni Malinen
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Acked-by: John W. Linville
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Cc: Jiri Pirko
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Cc: Patrick McHardy
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
A device inheriting a random or set address should reflect this in
its addr_assign_type.Cc: Patrick McHardy
Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller -
Some etherdevices inherit their address from a parent or
master device. The addr_assign_type should be updated along
with the address in these cases. Adding a helper function
to simplify this.Signed-off-by: Bjørn Mork
Signed-off-by: David S. Miller
03 Sep, 2013
3 commits
-
Fengguang reported:
net/built-in.o: In function `in6_dev_finish_destroy':
(.text+0x4ca7d): undefined reference to `snmp_mib_free'this is due to snmp_mib_free() is defined when CONFIG_INET is enabled,
but in6_dev_finish_destroy() is now moved to core kernel.I think snmp_mib_free() is small enough to be inlined, so just make it
static inline.Reported-by: kbuild test robot
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
Fengguang reported a compile warning:
drivers/net/vxlan.c: In function 'vxlan6_xmit_skb':
drivers/net/vxlan.c:1352:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errorsthis patch fixes it.
Reported-by: kbuild test robot
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
It should be IPPROTO_UDP.
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller
01 Sep, 2013
24 commits
-
Shahed Shaikh says:
====================
This patch series contains -
* Enhanced PVID handling for 84xx adapters by
not indicating PVID configuration to VF driver and
keeping VF driver in no VLAN configuration mode becasue
adapter supports VLAN stripping.
* Removed inappropriate usage of inline keyword.
* Enhanced minidump feature by using firmware recommended
dump capture mask and using CAMRAM register to store
firmware dump state.
* AER handling support for 83xx adapter.
* Added support for per port eswitch configuration.
====================Signed-off-by: David S. Miller
-
Signed-off-by: Shahed Shaikh
Signed-off-by: David S. Miller -
There is an embedded switch per physical port on the adapter.
Add support for enabling and disabling the embedded switch
on per port basis.Signed-off-by: Sony Chacko
Signed-off-by: David S. Miller -
o Removed unused and unnecessary members from qlc_83xx_fw_info
structure.
o Made fw_info member of qlcnic_hardware_context as a pointer to
qlc_83xx_fw_info structure.
o Added a member fw_file_name to qlc_83xx_fw_info structure which
will hold the name of firmware image file name.Signed-off-by: Pratik Pujar
Signed-off-by: David S. Miller -
Signed-off-by: Pratik Pujar
Signed-off-by: David S. Miller -
o Generic AER callback handlers will make use of qlcnic_hardware_ops structure
to call adapter specific handlers.Signed-off-by: Pratik Pujar
Signed-off-by: David S. Miller -
-Use CAMRAM register to store firmware dump state in adapter
instead of maintaining it in each function driver separately.
-Return appropriate error code on failureSigned-off-by: Shahed Shaikh
Signed-off-by: David S. Miller -
Signed-off-by: Shahed Shaikh
Signed-off-by: David S. Miller -
o Remove inline keyword from function prototypes wherever it is not appropriate.
Signed-off-by: Manish Chopra
Signed-off-by: David S. Miller -
o PF driver should not indicate PVID configuration to VF driver.
As adapter supports VLAN stripping, VF driver should stay agnostic
to any PVID configuration.o Return "QLC_NO_VLAN_MODE(= 0)" to VFD when PVID is configured.
VF driver should be in no VLAN configuration mode.Signed-off-by: Manish Chopra
Signed-off-by: David S. Miller -
As suggested by Pravin, we can unify the code in case of duplicated
code.Cc: Pravin Shelar
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
Similar to commit 731362674580cb0c696cd1b1a03d8461a10cf90a
(tunneling: Add generic Tunnel segmentation)This patch adds generic tunneling offloading support for
IPv6-UDP based tunnels.This can be used by tunneling protocols like VXLAN.
Cc: Jesse Gross
Cc: Pravin B Shelar
Cc: Stephen Hemminger
Cc: David S. Miller
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
This patch adds the IPv6 version of "arp_reduce", ndisc_send_na()
will be needed.Cc: David S. Miller
Cc: David Stevens
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
in6_dev_put() will be needed by vxlan module, so is
in6_dev_finish_destroy().Cc: David S. Miller
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
route short circuit only has IPv4 part, this patch adds
the IPv6 part. nd_tbl will be needed.Cc: David S. Miller
Cc: David Stevens
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
This patch adds IPv6 support to vxlan device, as the new version
RFC already mentions it:http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-03
Cc: David Stevens
Cc: Stephen Hemminger
Cc: David S. Miller
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
Because vxlan module will call ip6_dst_lookup() in TX path,
which will hold write lock. So we have to release this write lock
before calling ndisc_send_rs(), otherwise could deadlock.Reviewed-by: Hannes Frederic Sowa
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
It is needed by vxlan module. Noticed by Mike.
Cc: Mike Rapoport
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
In case IPv6 is compiled as a module, introduce a stub
for ipv6_sock_mc_join and ipv6_sock_mc_drop etc.. It will be used
by vxlan module. Suggested by Ben.This is an ugly but easy solution for now.
Cc: Ben Hutchings
Cc: Stephen Hemminger
Cc: David S. Miller
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
It will be used the vxlan kernel module.
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
It will be used by vxlan, and may not be inlined.
Cc: Eric Dumazet
Signed-off-by: Cong Wang
Signed-off-by: David S. Miller -
Ben Hutchings says:
====================
1. A little more refactoring.
2. Remove the unnecessary use of atomic_t that you pointed out.
3. Add support for starting or queueing firmware requests from atomic
context.
4. Add hwmon support for additional sensors found on some new boards.
5. Add support for the EF10 controller architecture, the SFC9100 family
and specifically the SFC9120 controller.
====================Signed-off-by: David S. Miller
-
Multiqueue scheduler refers to default_qdisc_ops; therefore the
variable definition needs to be moved to handle case where net
scheduler API is not available.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Fixes warnings introduced by the qdisc default patch.
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
31 Aug, 2013
4 commits
-
By default, the pfifo_fast queue discipline has been used by default
for all devices. But we have better choices now.This patch allow setting the default queueing discipline with sysctl.
This allows easy use of better queueing disciplines on all devices
without having to use tc qdisc scripts. It is intended to allow
an easy path for distributions to make fq_codel or sfq the default
qdisc.This patch also makes pfifo_fast more of a first class qdisc, since
it is now possible to manually override the default and explicitly
use pfifo_fast. The behavior for systems who do not use the sysctl
is unchanged, they still get pfifo_fastAlso removes leftover random # in sysctl net core.
Signed-off-by: Stephen Hemminger
Acked-by: Eric Dumazet
Signed-off-by: David S. Miller -
My static checker complains that on some arches unsigned longs can be 8
characters which is larger than the buffer is only 6 chars.
Additionally, Ben Hutchings points out that the buffer actually holds
big endian data and the buffer we are reading from is CPU endian.Signed-off-by: Dan Carpenter
Reviewed-by: Ben Hutchings
Signed-off-by: David S. Miller -
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.Signed-off-by: Jingoo Han
Signed-off-by: David S. Miller -
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.Signed-off-by: Jingoo Han
Acked-by: Nicolas Ferre
Signed-off-by: David S. Miller