aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-03-01 05:09:14 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-16 21:23:25 -0700
commitff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a (patch)
tree38673e8515a0948ed435dc0b9403c62269c7f8f4 /drivers/net/mlx4/mlx4_en.h
parentdrivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level> (diff)
downloadlinux-dev-ff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a.tar.xz
linux-dev-ff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a.zip
net: convert multiple drivers to use netdev_for_each_mc_addr, part7
In mlx4, using char * to store mc address in private structure instead. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r--drivers/net/mlx4/mlx4_en.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h
index 82c3ebc584e3..b55e46c8b682 100644
--- a/drivers/net/mlx4/mlx4_en.h
+++ b/drivers/net/mlx4/mlx4_en.h
@@ -492,7 +492,8 @@ struct mlx4_en_priv {
struct mlx4_en_perf_stats pstats;
struct mlx4_en_pkt_stats pkstats;
struct mlx4_en_port_stats port_stats;
- struct dev_mc_list *mc_list;
+ char *mc_addrs;
+ int mc_addrs_cnt;
struct mlx4_en_stat_out_mbox hw_stats;
};