1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mscc
Antoine Tenart 495083807f net: mscc: simplify retrieving the tag type from the frame header
The tag type in the frame extraction header is only a bit wide. There's
no need to use GENMASK when retrieving the information. This patch
simplify the code by dropping GENMASK and using BIT instead.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 13:43:31 -07:00
..
Kconfig
Makefile
ocelot.c net: mscc: ocelot: add VLAN filtering 2018-06-28 14:18:49 +09:00
ocelot.h net: mscc: ocelot: add bonding support 2018-06-28 14:18:49 +09:00
ocelot_ana.h
ocelot_board.c net: mscc: simplify retrieving the tag type from the frame header 2018-07-16 13:43:31 -07:00
ocelot_dev.h
ocelot_dev_gmii.h
ocelot_hsio.h
ocelot_io.c
ocelot_qs.h
ocelot_qsys.h
ocelot_regs.c
ocelot_rew.h
ocelot_sys.h