[PATCH] myri10ge: use multicast support in the firmware
authorBrice Goglin <brice@myri.com>
Mon, 21 Aug 2006 21:36:56 +0000 (17:36 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 24 Aug 2006 04:43:51 +0000 (00:43 -0400)
commit85a7ea1b0a3263f3ad423b789a841d03c9acbb65
tree1bd6e9fca08067157425fee973cf68594c827829
parentc58ac5caeb32ef17c2e4fc208f7dc93f6de32b7d
[PATCH] myri10ge: use multicast support in the firmware

Some recent myri10ge firmwares support multicast filtering as well
as an extended mcp_irq_data structure (64 instead of 40 bytes).
The new command MXGEFW_CMD_SET_STATS_DMA_V2 is used to check
whether the firmware support those. mgp->fw_multicast_support
is defined accordingly.

When fw_multicast_support is set, some new multicast filtering
commands is passed to the board in myri10ge_set_multicast_list().

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c
drivers/net/myri10ge/myri10ge_mcp.h