diff options
author | Shravya Kumbham <shravya.kumbham@xilinx.com> | 2022-04-14 18:07:11 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-15 11:46:29 +0100 |
commit | 7240bf6fb216e03fb9add3a3dd23117ad589a0c7 (patch) | |
tree | dcdd2bc5aed3c52572c6875243cefd6a0bb473a0 /Documentation/networking | |
parent | 7ae7d494f626a2f1a598fcf15b789a347c2d451a (diff) |
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>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions