2015-04-07 23:25:14 +08:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2009 - 2014 Intel Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
|
|
*
|
|
|
|
* The full GNU General Public License is included in this distribution in the
|
|
|
|
* file called LICENSE.
|
|
|
|
*
|
|
|
|
* Contact Information:
|
|
|
|
* Intel Linux Wireless <ilw@linux.intel.com>
|
|
|
|
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#if !defined(__IWLWIFI_DEVICE_TRACE_IWLWIFI) || defined(TRACE_HEADER_MULTI_READ)
|
|
|
|
#define __IWLWIFI_DEVICE_TRACE_IWLWIFI
|
|
|
|
|
|
|
|
#include <linux/tracepoint.h>
|
|
|
|
|
|
|
|
#undef TRACE_SYSTEM
|
|
|
|
#define TRACE_SYSTEM iwlwifi
|
|
|
|
|
|
|
|
TRACE_EVENT(iwlwifi_dev_hcmd,
|
|
|
|
TP_PROTO(const struct device *dev,
|
|
|
|
struct iwl_host_cmd *cmd, u16 total_size,
|
|
|
|
struct iwl_cmd_header *hdr),
|
|
|
|
TP_ARGS(dev, cmd, total_size, hdr),
|
|
|
|
TP_STRUCT__entry(
|
|
|
|
DEV_ENTRY
|
|
|
|
__dynamic_array(u8, hcmd, total_size)
|
|
|
|
__field(u32, flags)
|
|
|
|
),
|
|
|
|
TP_fast_assign(
|
|
|
|
int i, offset = sizeof(*hdr);
|
|
|
|
|
|
|
|
DEV_ASSIGN;
|
|
|
|
__entry->flags = cmd->flags;
|
|
|
|
memcpy(__get_dynamic_array(hcmd), hdr, sizeof(*hdr));
|
|
|
|
|
|
|
|
for (i = 0; i < IWL_MAX_CMD_TBS_PER_TFD; i++) {
|
|
|
|
if (!cmd->len[i])
|
|
|
|
continue;
|
|
|
|
memcpy((u8 *)__get_dynamic_array(hcmd) + offset,
|
|
|
|
cmd->data[i], cmd->len[i]);
|
|
|
|
offset += cmd->len[i];
|
|
|
|
}
|
|
|
|
),
|
|
|
|
TP_printk("[%s] hcmd %#.2x (%ssync)",
|
|
|
|
__get_str(dev), ((u8 *)__get_dynamic_array(hcmd))[0],
|
|
|
|
__entry->flags & CMD_ASYNC ? "a" : "")
|
|
|
|
);
|
|
|
|
|
|
|
|
TRACE_EVENT(iwlwifi_dev_rx,
|
|
|
|
TP_PROTO(const struct device *dev, const struct iwl_trans *trans,
|
|
|
|
void *rxbuf, size_t len),
|
|
|
|
TP_ARGS(dev, trans, rxbuf, len),
|
|
|
|
TP_STRUCT__entry(
|
|
|
|
DEV_ENTRY
|
|
|
|
__dynamic_array(u8, rxbuf, iwl_rx_trace_len(trans, rxbuf, len))
|
|
|
|
),
|
|
|
|
TP_fast_assign(
|
|
|
|
DEV_ASSIGN;
|
|
|
|
memcpy(__get_dynamic_array(rxbuf), rxbuf,
|
|
|
|
iwl_rx_trace_len(trans, rxbuf, len));
|
|
|
|
),
|
|
|
|
TP_printk("[%s] RX cmd %#.2x",
|
|
|
|
__get_str(dev), ((u8 *)__get_dynamic_array(rxbuf))[4])
|
|
|
|
);
|
|
|
|
|
|
|
|
TRACE_EVENT(iwlwifi_dev_tx,
|
|
|
|
TP_PROTO(const struct device *dev, struct sk_buff *skb,
|
|
|
|
void *tfd, size_t tfdlen,
|
|
|
|
void *buf0, size_t buf0_len,
|
|
|
|
void *buf1, size_t buf1_len),
|
|
|
|
TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, buf1, buf1_len),
|
|
|
|
TP_STRUCT__entry(
|
|
|
|
DEV_ENTRY
|
|
|
|
|
|
|
|
__field(size_t, framelen)
|
|
|
|
__dynamic_array(u8, tfd, tfdlen)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Do not insert between or below these items,
|
|
|
|
* we want to keep the frame together (except
|
|
|
|
* for the possible padding).
|
|
|
|
*/
|
|
|
|
__dynamic_array(u8, buf0, buf0_len)
|
|
|
|
__dynamic_array(u8, buf1, iwl_trace_data(skb) ? 0 : buf1_len)
|
|
|
|
),
|
|
|
|
TP_fast_assign(
|
|
|
|
DEV_ASSIGN;
|
|
|
|
__entry->framelen = buf0_len + buf1_len;
|
|
|
|
memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
|
|
|
|
memcpy(__get_dynamic_array(buf0), buf0, buf0_len);
|
|
|
|
if (!iwl_trace_data(skb))
|
|
|
|
memcpy(__get_dynamic_array(buf1), buf1, buf1_len);
|
|
|
|
),
|
|
|
|
TP_printk("[%s] TX %.2x (%zu bytes)",
|
|
|
|
__get_str(dev), ((u8 *)__get_dynamic_array(buf0))[0],
|
|
|
|
__entry->framelen)
|
|
|
|
);
|
|
|
|
|
|
|
|
TRACE_EVENT(iwlwifi_dev_ucode_error,
|
|
|
|
TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low,
|
|
|
|
u32 data1, u32 data2, u32 line, u32 blink1,
|
|
|
|
u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time,
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver,
|
2015-04-07 23:25:14 +08:00
|
|
|
u32 brd_ver),
|
|
|
|
TP_ARGS(dev, desc, tsf_low, data1, data2, line,
|
|
|
|
blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2,
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
gp3, major, minor, hw_ver, brd_ver),
|
2015-04-07 23:25:14 +08:00
|
|
|
TP_STRUCT__entry(
|
|
|
|
DEV_ENTRY
|
|
|
|
__field(u32, desc)
|
|
|
|
__field(u32, tsf_low)
|
|
|
|
__field(u32, data1)
|
|
|
|
__field(u32, data2)
|
|
|
|
__field(u32, line)
|
|
|
|
__field(u32, blink1)
|
|
|
|
__field(u32, blink2)
|
|
|
|
__field(u32, ilink1)
|
|
|
|
__field(u32, ilink2)
|
|
|
|
__field(u32, bcon_time)
|
|
|
|
__field(u32, gp1)
|
|
|
|
__field(u32, gp2)
|
|
|
|
__field(u32, gp3)
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
__field(u32, major)
|
|
|
|
__field(u32, minor)
|
2015-04-07 23:25:14 +08:00
|
|
|
__field(u32, hw_ver)
|
|
|
|
__field(u32, brd_ver)
|
|
|
|
),
|
|
|
|
TP_fast_assign(
|
|
|
|
DEV_ASSIGN;
|
|
|
|
__entry->desc = desc;
|
|
|
|
__entry->tsf_low = tsf_low;
|
|
|
|
__entry->data1 = data1;
|
|
|
|
__entry->data2 = data2;
|
|
|
|
__entry->line = line;
|
|
|
|
__entry->blink1 = blink1;
|
|
|
|
__entry->blink2 = blink2;
|
|
|
|
__entry->ilink1 = ilink1;
|
|
|
|
__entry->ilink2 = ilink2;
|
|
|
|
__entry->bcon_time = bcon_time;
|
|
|
|
__entry->gp1 = gp1;
|
|
|
|
__entry->gp2 = gp2;
|
|
|
|
__entry->gp3 = gp3;
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
__entry->major = major;
|
|
|
|
__entry->minor = minor;
|
2015-04-07 23:25:14 +08:00
|
|
|
__entry->hw_ver = hw_ver;
|
|
|
|
__entry->brd_ver = brd_ver;
|
|
|
|
),
|
|
|
|
TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, "
|
|
|
|
"blink 0x%05X 0x%05X ilink 0x%05X 0x%05X "
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
"bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X "
|
|
|
|
"minor 0x%08X hw 0x%08X brd 0x%08X",
|
2015-04-07 23:25:14 +08:00
|
|
|
__get_str(dev), __entry->desc, __entry->tsf_low,
|
|
|
|
__entry->data1,
|
|
|
|
__entry->data2, __entry->line, __entry->blink1,
|
|
|
|
__entry->blink2, __entry->ilink1, __entry->ilink2,
|
|
|
|
__entry->bcon_time, __entry->gp1, __entry->gp2,
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
2015-04-16 00:00:47 +08:00
|
|
|
__entry->gp3, __entry->major, __entry->minor,
|
|
|
|
__entry->hw_ver, __entry->brd_ver)
|
2015-04-07 23:25:14 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
TRACE_EVENT(iwlwifi_dev_ucode_event,
|
|
|
|
TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev),
|
|
|
|
TP_ARGS(dev, time, data, ev),
|
|
|
|
TP_STRUCT__entry(
|
|
|
|
DEV_ENTRY
|
|
|
|
|
|
|
|
__field(u32, time)
|
|
|
|
__field(u32, data)
|
|
|
|
__field(u32, ev)
|
|
|
|
),
|
|
|
|
TP_fast_assign(
|
|
|
|
DEV_ASSIGN;
|
|
|
|
__entry->time = time;
|
|
|
|
__entry->data = data;
|
|
|
|
__entry->ev = ev;
|
|
|
|
),
|
|
|
|
TP_printk("[%s] EVT_LOGT:%010u:0x%08x:%04u",
|
|
|
|
__get_str(dev), __entry->time, __entry->data, __entry->ev)
|
|
|
|
);
|
|
|
|
#endif /* __IWLWIFI_DEVICE_TRACE_IWLWIFI */
|
|
|
|
|
|
|
|
#undef TRACE_INCLUDE_PATH
|
|
|
|
#define TRACE_INCLUDE_PATH .
|
|
|
|
#undef TRACE_INCLUDE_FILE
|
|
|
|
#define TRACE_INCLUDE_FILE iwl-devtrace-iwlwifi
|
|
|
|
#include <trace/define_trace.h>
|