diff options
author | 2017-01-06 15:37:46 -0500 | |
---|---|---|
committer | 2017-01-07 21:03:50 -0500 | |
commit | b361da837392e7fc13189f223b12385de728be12 (patch) | |
tree | 8deb80e3036abea22fa5dac353a634931215ff5e /drivers/net/xen-netfront.c | |
parent | net: netcp: ale: use ale_status to size the ale table (diff) | |
download | linux-rng-b361da837392e7fc13189f223b12385de728be12.tar.xz linux-rng-b361da837392e7fc13189f223b12385de728be12.zip |
net: netcp: ale: add proper ale entry mask bits for netcp switch ALE
For NetCP NU Switch ALE, some of the mask bits are different than
defaults used in the driver. Add a new macro DEFINE_ALE_FIELD1 that use
a configurable mask bits and use it in the driver. These bits are set to
correct values by using the new variables added to cpsw_ale structure
and re-used in the macros. The parameter nu_switch_ale is configured by
the caller driver to indicate the ALE is for that switch and is used in
the ALE driver to do customization as needed.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions