commit | 39cdd34989cf9fb62935041727bf885136f720a4 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Oct 20 14:39:43 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 23 03:06:47 2017 +0100 |
tree | b51de3fa2ce9be8d2b66f8186301599e9a5034a5 | |
parent | 33ad61d0f799656e8987e9c80e6e15151bb857f3 [diff] |
net: dsa: bcm_sf2: Use existing shift/masks Instead of open coding the shift for the IP protocol, IP fragment bit etc. define and/or use existing constants to that end. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>