--- zzzz-none-000/linux-4.19.183/drivers/net/macvlan.c 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/drivers/net/macvlan.c 2023-06-28 08:54:19.000000000 +0000 @@ -454,6 +454,10 @@ /* Packets from dev_loopback_xmit() do not have L2 header, bail out */ if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) return RX_HANDLER_PASS; + +#if defined(CONFIG_BCM_KF_BLOG) && defined(CONFIG_BLOG) + blog_link( IF_DEVICE, blog_ptr(skb), (void*)skb->dev, DIR_RX, skb->len ); +#endif port = macvlan_port_get_rcu(skb->dev); if (is_multicast_ether_addr(eth->h_dest)) { @@ -564,6 +568,9 @@ unsigned int len = skb->len; int ret; +#if defined(CONFIG_BCM_KF_BLOG) && defined(CONFIG_BLOG) + blog_link( IF_DEVICE, blog_ptr(skb), (void*)dev, DIR_TX, skb->len ); +#endif if (unlikely(netpoll_tx_running(dev))) return macvlan_netpoll_send_skb(vlan, skb);