diff options
author | Mark Einon <mark.einon@gmail.com> | 2014-09-11 22:59:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 16:02:12 -0700 |
commit | 8019f2e2aa76658890dcca0cdff56a78959e3c57 (patch) | |
tree | ef99ba4e8a5d409d78e4055172da3b5c33bd9bc4 /drivers/staging/et131x/README | |
parent | 668caa674c045bb59dcde2dc017e254f18a90607 (diff) | |
download | op-kernel-dev-8019f2e2aa76658890dcca0cdff56a78959e3c57.zip op-kernel-dev-8019f2e2aa76658890dcca0cdff56a78959e3c57.tar.gz |
staging: et131x: Simplify code in nic_rx_pkts() for multicast_pkts_rcvd
In nic_rx_pkts(), we check that a multicast packet received (when using
a multicast list) is one that was requested - despite setting the list
up with the hardware. We shouldn't expect to get a mc packet we didn't
ask for, so remove these extra checks.
This also means that the surrounding code can be tiedied up a little.
Tested somewhat with omping, with no adverse effects seen.
Also remove this item from the TODO list.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/et131x/README')
-rw-r--r-- | drivers/staging/et131x/README | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/et131x/README b/drivers/staging/et131x/README index 47543cc..a198401 100644 --- a/drivers/staging/et131x/README +++ b/drivers/staging/et131x/README @@ -9,7 +9,6 @@ driver as they did not build properly at the time. TODO: - Look at reducing the number of spinlocks - - Simplify code in nic_rx_pkts(), when determining multicast_pkts_rcvd - Reduce the number of split lines by careful consideration of variable names etc. Please send patches to: |