17 Dec, 2010
6 commits
-
Signed-off-by: Dmitry Kravkov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Add appropriate HW DCB/PFC configuration
Signed-off-by: Dmitry Kravkov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Adding DCB initialization and handling on 57712 FW/HW
Signed-off-by: Dmitry Kravkov
Signed-off-by: Shmulik Ravid-Rabinovitz
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
This callback required to allow FCoE traffic to be
sent on separate priority queue from other L2 traffic,
which is managed by PFC in HW.Signed-off-by: Vladislav Zolotarov
Signed-off-by: Shmulik Ravid-Rabinovitz
Signed-off-by: Dmitry Kravkov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Includes new driver structures and FW/HW configuration for FCoE ring
Signed-off-by: Vladislav Zolotarov
Signed-off-by: Shmulik Ravid-Rabinovitz
Signed-off-by: Dmitry Kravkov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller -
Move the calcualation of the Tx hash for a given hash range into a separate
function and define the skb_tx_hash(), which calculates a Tx hash for a
[0; dev->real_num_tx_queues - 1] hash values range, using this
function (__skb_tx_hash()).Signed-off-by: Vladislav Zolotarov
Signed-off-by: Eilon Greenstein
Signed-off-by: David S. Miller
15 Dec, 2010
3 commits
-
Like RTAX_ADVMSS, make the default calculation go through a dst_ops
method rather than caching the computation in the routing cache
entries.Now dst metrics are pretty much left as-is when new entries are
created, thus optimizing metric sharing becomes a real possibility.Signed-off-by: David S. Miller
14 Dec, 2010
25 commits
-
Make all RTAX_ADVMSS metric accesses go through a new helper function,
dst_metric_advmss().Leave the actual default metric as "zero" in the real metric slot,
and compute the actual default value dynamically via a new dst_ops
AF specific callback.For stacked IPSEC routes, we use the advmss of the path which
preserves existing behavior.Unlike ipv4/ipv6, DecNET ties the advmss to the mtu and thus updates
advmss on pmtu updates. This inconsistency in advmss handling
results in more raw metric accesses than I wish we ended up with.Signed-off-by: David S. Miller
-
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Since this driver is implemented as NAPI,
netif_receive_skb must be used not netif_rx.Signed-off-by: Tomoya MORINAGA
Acked-by: Marc Kleine-Budde
Signed-off-by: David S. Miller -
Add setting TEC/REC statistics processing.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
For reduce "if" condition, easy to read/understand the code,
optimize "if" condition in rx/tx processing.Signed-off-by: Tomoya MORINAGA
Acked-by: Marc Kleine-Budde
Signed-off-by: David S. Miller -
Fix incorrect return processing.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Currently, in case this driver is integrated as module, and when this
module is re-installed, no interrupts is to be occurred.
For the above issue, move MSI processing to open/release processing.Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Comment optimization
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Modify miss-setting status issue at suspend.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Modify like use calculated value directly passed by CAN core module.
Signed-off-by: Tomoya MORINAGA
Acked-by: Marc Kleine-Budde
Signed-off-by: David S. Miller -
Delete unnecessary/redundant code
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Fix coding rule violation.
Signed-off-by: Tomoya MORINAGA
Acked-by: Marc Kleine-Budde
Signed-off-by: David S. Miller -
For easy to readable, use netdev_dbg instead of dev_dbg partly
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Currently, Copyright and module description are not formal.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
For improve tx/rx speed, reduce register access.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Currently, these two functions spec(returned value) is unnatural.
Thus, change the return value's specSigned-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
For easy to read/understand, Rename function/macro name.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Currently, in case CONFIG_PM is disabled, compiler outputs warnings.
Move six functions which are used only CONFIG_PM is enabled,
into "#ifdef CONFIG_PM" area.Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Replace complex "goto" to "do~while".
For easy to read/understand, it divides a rx function into some functions.Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
there is endianness issue both Tx and Rx.
Currently, data is set like below.
Register:
MSB--LSB
x x D0 D1
x x D2 D3
x x D4 D5
x x D6 D7But Data to be sent must be set like below.
Register:
MSB--LSB
x x D1 D0
x x D3 D2
x x D5 D4
x x D7 D6 (x means reserved area.)Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
To easy to read/understand, divide poll function into two sub-functions.
Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
Currently, there is no flow control processing.
Thus, Add flow control processing as
when there is no empty of tx buffer,
netif_stop_queue is called.
When there is empty buffer, netif_wake_queue is called.Signed-off-by: Tomoya MORINAGA
Signed-off-by: David S. Miller -
…wireless-next-2.6 into for-davem
-
ip_default_ttl should be between 1 and 255
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Remove ehea_error, ehea_info and ehea_debug macros.
Use pr_fmt, pr_, netdev_ and netif_ as appropriate.
Fix messages to use trailing "\n", some messages had an extra one
as the old ehea_ macros added a trailing "\n".
Coalesced long format strings.Signed-off-by: Joe Perches
Signed-off-by: Breno Leitao
Signed-off-by: David S. Miller
13 Dec, 2010
4 commits
-
Always go through a new ip4_dst_hoplimit() helper, just like ipv6.
This allowed several simplifications:
1) The interim dst_metric_hoplimit() can go as it's no longer
userd.2) The sysctl_ip_default_ttl entry no longer needs to use
ipv4_doint_and_flush, since the sysctl is not cached in
routing cache metrics any longer.3) ipv4_doint_and_flush no longer needs to be exported and
therefore can be marked static.When ipv4_doint_and_flush_strategy was removed some time ago,
the external declaration in ip.h was mistakenly left around
so kill that off too.We have to move the sysctl_ip_default_ttl declaration into
ipv4's route cache definition header net/route.h, because
currently net/ip.h (where the declaration lives now) has
a back dependency on net/route.hSigned-off-by: David S. Miller
-
This is for consistency with ipv4. Using "-1" makes
no sense.It was made this way a long time ago merely to be consistent
with how the ipv6 socket hoplimit "default" is stored.Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
12 Dec, 2010
2 commits
-
flush_scheduled_work() is on its way out. Drop flush_scheduled_work()
from prism2_free_local_data() and replace it with explicit flushing of
work items on the respective free functions. Work items in ap_data
are flushed from hostap_free_data() and the ones in local_info from
prism2_free_local_data().Flush is used instead of cancel as some process and free items from
queue.Signed-off-by: Tejun Heo
Cc: "David S. Miller"
Cc: Jes Sorensen
Cc: netdev@vger.kernel.org -
i2400m implements dynamic work allocation and queueing mechanism in
i2400_schedule_work(); however, this is only used for reset and
recovery which can be served equally well with preallocated per device
works.Replace i2400m_schedule_work() with two work structs in struct i2400m.
These works are explicitly canceled when the device is released making
calls to flush_scheduled_work(), which is being deprecated,
unnecessary.Signed-off-by: Tejun Heo
Cc: "David S. Miller"
Cc: Inaky Perez-Gonzalez
Cc: linux-wimax@intel.com
Cc: netdev@vger.kernel.org