Home
last modified time | relevance | path

Searched refs:esw_stats (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ctx.c765 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() argument
774 if (esw_stats == NULL) in qlcnic_get_port_stats()
805 esw_stats->context_id = le16_to_cpu(stats->context_id); in qlcnic_get_port_stats()
806 esw_stats->version = le16_to_cpu(stats->version); in qlcnic_get_port_stats()
807 esw_stats->size = le16_to_cpu(stats->size); in qlcnic_get_port_stats()
808 esw_stats->multicast_frames = in qlcnic_get_port_stats()
810 esw_stats->broadcast_frames = in qlcnic_get_port_stats()
812 esw_stats->unicast_frames = le64_to_cpu(stats->unicast_frames); in qlcnic_get_port_stats()
813 esw_stats->dropped_frames = le64_to_cpu(stats->dropped_frames); in qlcnic_get_port_stats()
814 esw_stats->local_frames = le64_to_cpu(stats->local_frames); in qlcnic_get_port_stats()
[all …]
Dqlcnic_main.c3785 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local
3794 memset(&esw_stats, 0, size); in qlcnic_sysfs_get_esw_stats()
3796 &esw_stats.rx); in qlcnic_sysfs_get_esw_stats()
3801 &esw_stats.tx); in qlcnic_sysfs_get_esw_stats()
3805 memcpy(buf, &esw_stats, size); in qlcnic_sysfs_get_esw_stats()