aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_cmds.c
diff options
context:
space:
mode:
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>2016-07-27 05:26:17 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-08 15:38:27 -0700
commit92fbb1df83ec17f62a46b23507ebb3f06ca10cd3 (patch)
tree5b7eb9d3e03805eef1b6a364b7763bc90b3dc711 /drivers/net/ethernet/emulex/benet/be_cmds.c
parentbe2net: do not remove vids from driver table if be_vid_config() fails. (diff)
downloadlinux-dev-92fbb1df83ec17f62a46b23507ebb3f06ca10cd3.tar.xz
linux-dev-92fbb1df83ec17f62a46b23507ebb3f06ca10cd3.zip
be2net: Avoid unnecessary firmware updates of multicast list
Eachtime the ndo_set_rx_mode() routine is called, the driver programs the multicast list in the adapter without checking if there are any changes to the list. This leads to a flood of RX_FILTER cmds when a number of vlan interfaces are configured over the device, as the ndo_ gets called for each vlan interface. To avoid this, we now use __dev_mc_sync() and __dev_uc_sync() API, but only to detect if there is a change in the mc/uc lists. Now that we use this API, the code has to be-designed to issue these API calls for each invocation of the be_set_rx_mode() call. Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Signed-off-by: Sathya Perla <sathya.perla@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions