)]}'
{
  "commit": "d85f521a9afb786b1d95bbcb218d3afdf3fe73ab",
  "tree": "8c0ba499247c7f4e662185c2c9cf06a9ef6811a9",
  "parents": [
    "debac3a20dec524a59625cf10fa2f18571127824"
  ],
  "author": {
    "name": "Nicolai Buchwitz",
    "email": "nb@tipi-net.de",
    "time": "Mon Aug 31 13:31:28 2026 +0200"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Wed Sep 02 19:22:53 2026 -0700"
  },
  "message": "net: macb: exclude software FCS from TX byte statistics\n\nFrames for which macb_pad_and_fcs() supplies the FCS have four FCS\nbytes appended, and TX completion then accounts the grown skb-\u003elen.\ntx_bytes is defined to exclude the FCS, so these frames are reported\nfour bytes too large.\n\nTrack only the number of FCS bytes appended in software, 0 or\nETH_FCS_LEN, and subtract that from skb-\u003elen at completion. skb-\u003elen\nalready reflects the padded length by then, so there is nothing else\nto store. macb_pad_and_fcs() already returns 0 on every non-error\npath. Return the FCS length from there instead, rather than\nrecomputing the same check in the caller. BQL stays on the padded\nskb-\u003elen that netdev_tx_sent_queue() saw.\n\nFixes: 653e92a9175e (\"net: macb: add support for padding and fcs computation\")\nSigned-off-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nLink: https://patch.msgid.link/20260831113128.1678674-1-nb@tipi-net.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1e1f52285a39d3fe5e4aaf0c1f22c4f8f1549585",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/cadence/macb.h",
      "new_id": "d6931c41f39da0ae1d1f53d41f000be8764b629d",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/cadence/macb.h"
    },
    {
      "type": "modify",
      "old_id": "76ee4f5060335c4e9520f7ae5175e71b98ba9f2f",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/cadence/macb_main.c",
      "new_id": "b1939da4c95adaa933806b32f676544c212f5b19",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/cadence/macb_main.c"
    }
  ]
}
