mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvethernet: use L2 filter command to set MAC address
Issue: 1) Missing support for packet MC/BC packet duplication 2) Remove MAC UC and BC address on ether_close() Fix: 1) Update OSI_CMD_L2_FILTER structure parameter to support new algorithm. 2) MAC UC and BC address added to filter from ether_open() and ether_resume() function. 3) Configure MAC register to support MC/BC packet duplication Bug 200711542 Bug 200711544 Bug 200713215 Change-Id: Ie589892de121e5873f5dfa9b9db9bf5c441ece71 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2519591 Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
90a4dce1fb
commit
32ed166339
@@ -147,6 +147,14 @@
|
||||
*/
|
||||
#define IVC_CHANNEL_TIMEOUT_CNT 50
|
||||
|
||||
/**
|
||||
* @brief Broadcast and MAC address macros
|
||||
*/
|
||||
#define ETHER_MAC_ADDRESS_INDEX 1
|
||||
#define ETHER_BC_ADDRESS_INDEX 0
|
||||
#define ETHER_ADDRESS_MAC 1
|
||||
#define ETHER_ADDRESS_BC 0
|
||||
|
||||
/**
|
||||
* @brief Check if Tx data buffer length is within bounds.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user