linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Zhou <albert.zhou.50@gmail.com>
To: linux-usb@vger.kernel.org
Cc: gregkh@linuxfoundation.org, nic_swsd@realtek.com,
	Albert Zhou <albert.zhou.50@gmail.com>
Subject: [PATCH net-next 0/2] Update R8152 module to version 2
Date: Sat,  5 Nov 2022 00:25:24 +1100	[thread overview]
Message-ID: <20221104132526.64530-1-albert.zhou.50@gmail.com> (raw)

As per my discussion with Greg K H, here is a patch for the updated
R8152 module, version 2, obtained from Realtek website. This is my
first ever patch, I hope it's useful.

Albert Zhou (2):
  Reverse 744d49daf8bd3b17b345c836f2e6f97d49fa6ae8 so that the v2 r8152
    driver can use netif_set_gso_max_*
  Update R8152 module to v2 obtained from the Realtek website, included
    in a comment in r8152.c. The only other modification to r8152.c is
    amending netif_napi_add, see comment for explanation.

 drivers/net/usb/r8152.c               | 17938 +++++++++++++++++++-----
 drivers/net/usb/r8152_compatibility.h |   658 +
 include/linux/netdevice.h             |    21 +
 net/core/dev.h                        |    21 -
 4 files changed, 15151 insertions(+), 3487 deletions(-)
 create mode 100644 drivers/net/usb/r8152_compatibility.h


base-commit: ee6050c8af96bba2f81e8b0793a1fc2f998fcd20
-- 
2.34.1


             reply	other threads:[~2022-11-04 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 13:25 Albert Zhou [this message]
2022-11-04 13:25 ` [PATCH net-next 1/2] Reverse 744d49daf8bd3b17b345c836f2e6f97d49fa6ae8 so that the v2 r8152 driver can use netif_set_gso_max_* Albert Zhou
2022-11-04 14:39   ` Greg KH
     [not found] ` <20221104132526.64530-3-albert.zhou.50@gmail.com>
2022-11-04 14:40   ` [PATCH net-next 2/2] Update R8152 module to v2 obtained from the Realtek website, included in a comment in r8152.c. The only other modification to r8152.c is amending netif_napi_add, see comment for explanation Greg KH
2022-11-05  9:46     ` Albert Zhou
2022-11-05 10:28       ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221104132526.64530-1-albert.zhou.50@gmail.com \
    --to=albert.zhou.50@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).