numam-dpdk/drivers/net/e1000/base
Wenzhuo Lu 939d7978bd e1000/base: return code after setting receive address register
Previously, the rar_set functions were of type void, and when they failed
to program an address register they would, at most,  put a message into
the log and end.  The fact that they failed to program an address into a
address register, if checked for, should be captured and passed back to
the caller so that the drivers can deal with the situation (or not) as
they deem best.
Drivers can ignore or use the return value.  No change to base drivers
is mandated by this change unless a driver wants to handle the failure
to program an address register (e.g. evaluate the return value).

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
2015-10-27 14:20:24 +01:00
..
e1000_80003es2lan.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_80003es2lan.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82540.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82541.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82541.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82542.c e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_82543.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82543.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82571.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82571.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_82575.c e1000/base: remove useless return variables 2015-10-27 14:20:24 +01:00
e1000_82575.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_api.c e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_api.h e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_defines.h e1000/base: add new devices 2015-10-26 21:52:50 +01:00
e1000_hw.h e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_i210.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_i210.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_ich8lan.c e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_ich8lan.h e1000/base: cleanup unused tag 2015-10-27 14:20:23 +01:00
e1000_mac.c e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_mac.h e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_manage.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_manage.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_mbx.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_mbx.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_nvm.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_nvm.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_osdep.c e1000: move to drivers/net/ 2015-05-22 15:51:38 +02:00
e1000_osdep.h e1000/base: cleanup unused tag 2015-10-27 14:20:23 +01:00
e1000_phy.c e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_phy.h e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00
e1000_regs.h e1000/base: cleanup unused tag 2015-10-27 14:20:23 +01:00
e1000_vf.c e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
e1000_vf.h e1000/base: return code after setting receive address register 2015-10-27 14:20:24 +01:00
README e1000/base: update readme and copyright 2015-10-26 21:46:37 +01:00

..
     BSD LICENSE
   
     Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
     All rights reserved.
   
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions
     are met:
   
       * Redistributions of source code must retain the above copyright
         notice, this list of conditions and the following disclaimer.
       * Redistributions in binary form must reproduce the above copyright
         notice, this list of conditions and the following disclaimer in
         the documentation and/or other materials provided with the
         distribution.
       * Neither the name of Intel Corporation nor the names of its
         contributors may be used to endorse or promote products derived
         from this software without specific prior written permission.
   
     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This directory contains source code of FreeBSD em & igb drivers of version
cid-shared-code.2015.10.09 released by ND. The sub-directory of base/
contains the original source package.

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    e1000_osdep.c
    e1000_osdep.h