mirror_ubuntu-kernels/drivers/net/ethernet/xilinx
Shravya Kumbham 7240bf6fb2 net: emaclite: Remove custom BUFFER_ALIGN macro
BUFFER_ALIGN macro is used to calculate the number of bytes
required for the next alignment. Instead of this, we can directly
use the skb_reserve(skb, NET_IP_ALIGN) to make the protocol header
buffer aligned on at least a 4-byte boundary, where the NET_IP_ALIGN
is by default defined as 2. So removing the BUFFER_ALIGN and its
related defines which it can be done by the skb_reserve() itself.

Signed-off-by: Shravya Kumbham <shravya.kumbham@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-15 11:46:29 +01:00
..
Kconfig net: ethernet: xilinx: cleanup comments 2022-02-18 11:11:10 +00:00
ll_temac_main.c net: ethernet: xilinx: use of_property_read_bool() instead of of_get_property 2022-04-06 15:18:03 +01:00
ll_temac_mdio.c net: ll_temac: Prepare indirect register access for multicast support 2019-05-23 09:33:57 -07:00
ll_temac.h net: ethernet: xilinx: cleanup comments 2022-02-18 11:11:10 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xilinx_axienet_main.c net: axiemac: use a phandle to reference pcs_phy 2022-04-06 13:54:52 +01:00
xilinx_axienet_mdio.c net: axienet: Enable more clocks 2021-03-26 15:17:17 -07:00
xilinx_axienet.h net: axienet: factor out phy_node in struct axienet_local 2022-04-06 13:54:51 +01:00
xilinx_emaclite.c net: emaclite: Remove custom BUFFER_ALIGN macro 2022-04-15 11:46:29 +01:00