21 Aug, 2013
21 commits
-
CPSW driver no longer supports platform register as all the SoCs which has CPSW
are supporting DT only booting, so moving cpsw.h header file from platform
include to drivers/net/ethernet/tiSigned-off-by: Mugunthan V N
Signed-off-by: David S. Miller -
Use devm_ioremap_resource instead of devm_request_and_ioremap.
This was done using the semantic patch
scripts/coccinelle/api/devm_ioremap_resource.cocciThe relevant call to platform_get_resource was manually moved down to the
call to devm_ioremap_resource.Signed-off-by: Julia Lawall
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Acked-by: Mugunthan V N
Acked-by: Lad, Prabhakar
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &of_dev->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Acked-by: Michal Simek
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &of->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &of->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &of->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &ofdev->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Signed-off-by: David S. Miller -
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.Signed-off-by: Libo Chen
Signed-off-by: David S. Miller -
Now that the 'register_type' field of the 'sh_eth' driver's platform data is not
used by the driver anymore, it's time to remove it and its initializers from
the SH platform code. Also move *enum* declaring values for this field from
to the local driver's header file as they're only needed
by the driver itself now...Signed-off-by: Sergei Shtylyov
Signed-off-by: David S. Miller -
The register layout is a SoC characteristic, so it's wrong that it's stored
in the otherwise board specific platform data. Add 'register_type' field to
'struct sh_eth_cpu_data', initialize it properly for each SoC, and read it
from this structure instead of the platfrom data from now on...Signed-off-by: Sergei Shtylyov
Signed-off-by: David S. Miller -
Add the ndo_busy_poll handler. Use skb_mark_napi_id to mark receive
packets with the napi id. For each slice, use per-slice spinlock and
state variable to ensure that only one handler processes receive
pacekts.Locking, statistics counters, and the ndo_busy_poll handler follow
those in the ixgbe driver. So, credit goes to that driver's authors.Signed-off-by: Hyong-Youb Kim
Signed-off-by: David S. Miller -
memcpy_fromiovec is moved from net/core/iovec.c to lib/iovec.c.
linux/uio.h provides the declaration for memcpy_fromiovec.Include linux/uio.h instead of inux/socket.h for it.
Signed-off-by: Asias He
Acked-by: Michael S. Tsirkin
Signed-off-by: David S. Miller -
When attempting to change e.g. the advertising mask when the link is down
ecmd->speed is -1 causing mii_ethtool_sset() to bail out.This bug bit when connecting to a gigabit switch through a 4-pin (industrial)
cable, since link negotiation would not complete (both endpoints claimed to
be gigabit-capable, but this is not possible with only 4 pins).
Any attempt to fix this by setting autonegation to not offer 1000Mbps
failed as the setting would not be accepted while the link was still down...Set ecmd->speed to SPEED_1000 to satisfy mii_ethtool_sset()
(the actual value of ecmd->speed doesn't matter as long as it is valid,
since a re-negotation is forced afterwards).Signed-off-by: Anders Larsen
Signed-off-by: David S. Miller -
Add the missing unlock before return from function moxart_mac_start_xmit()
in the error handling case.Signed-off-by: Wei Yongjun
Signed-off-by: David S. Miller -
Signed-off-by: Denis Kirjanov
Signed-off-by: David S. Miller -
The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.Signed-off-by: Wei Yongjun
Acked-by: Stephen Hemminger
Signed-off-by: David S. Miller -
The ethtool core will lower the requested length to the one returned by
get_regs_len, therefore no additional check is needed in the get_regs
function.Reported-by: Ben Hutchings
Signed-off-by: Peter Wu
Signed-off-by: David S. Miller -
This patch generates a hardware crash notification (NETDEV_REBOOT)
during reset. After a hardware crash, ENIC resets all its resources
including queue pair filters programmed by USNIC. USNIC registers for
this notification, and on receiving it, reprograms the queue pair
filters.Signed-off-by: Neel Patel
Signed-off-by: Nishank Trivedi
Signed-off-by: Christian Benvenuti
Signed-off-by: David S. Miller -
This patch adds an interface for USNIC to proxy firmware commands
through ENIC.Signed-off-by: Neel Patel
Signed-off-by: Nishank Trivedi
Signed-off-by: Christian Benvenuti
Signed-off-by: David S. Miller -
This patch,
- Adds new firmware commands for the new Cisco Low Latency NIC
(aka. USNIC).Signed-off-by: Neel Patel
Signed-off-by: Nishank Trivedi
Signed-off-by: Christian Benvenuti
Signed-off-by: David S. Miller
20 Aug, 2013
19 commits
-
Signed-off-by: Himanshu Madhani
Signed-off-by: David S. Miller -
o Use appropriate firmware image file name based on device IDs.
Signed-off-by: Pratik Pujar
Signed-off-by: Himanshu Madhani
Signed-off-by: David S. Miller -
o Loopback initiator function drivers should process loopback time extend AEN.
These AENs are triggered by the loopback time extend mailbox command
issued by the target function drivers.Signed-off-by: Manish Chopra
Signed-off-by: Himanshu Madhani
Signed-off-by: David S. Miller -
o 84xx adapters support VLAN stripping for PVID. Packets don't have
VLAN tag inserted in case of PVID. So packet should follow non vlan path.o Use capability bit to set PVID mode.
Signed-off-by: Manish Chopra
Signed-off-by: Himanshu Madhani
Signed-off-by: David S. Miller -
Signed-off-by: Manish Chopra
Signed-off-by: Himanshu Madhani
Signed-off-by: David S. Miller -
Following patch allows transmit side vlan offload for vxlan
devices.Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Rather than having static headroom calculation, adjust headroom
according to target device.Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Following patch allows more code sharing between vxlan and ovs-vxlan.
Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Following patch adds data field to vxlan socket and export
vxlan handler api.
vh->data is required to store private data per vxlan handler.Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Once we have ovs-vxlan functionality, one UDP port can be assigned
to kernel-vxlan or ovs-vxlan port. Therefore following patch adds
vxlan demux functionality, so that vxlan or ovs module can
register for particular port.Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Use iptunnel_pull_header() for better code sharing.
Signed-off-by: Pravin B Shelar
Signed-off-by: David S. Miller -
Restructure vxlan-socket management APIs so that it can be
shared between vxlan and ovs modules.
This patch does not change any functionality.Signed-off-by: Pravin B Shelar
v6-v7:
- get rid of zero refcnt vs from hashtable.
Signed-off-by: David S. Miller -
Add comments.
Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller -
Split some parts of code into another function to simplify
tx_bottom(). Use while loop to replace the goto loop.Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller -
Move some declearation of variables in rx_bottom().
Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller -
- Use r8152_get_tx_agg for getting tx agg list
- Replace submit rx with goto submitSigned-off-by: Hayes Wang
Signed-off-by: David S. Miller -
Replace lockflags with flags.
Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller -
Change the type of contex of tx_agg and rx_agg from void * to
staruc r8152 *.Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller -
Remove memset(tp, 0, sizeof(*tp));
Signed-off-by: Hayes Wang
Signed-off-by: David S. Miller