]> www.infradead.org Git - users/jedix/linux-maple.git/commit
r8169: jumbo fixes.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 3 May 2011 14:38:29 +0000 (16:38 +0200)
committerJoe Jin <joe.jin@oracle.com>
Fri, 18 May 2012 02:19:03 +0000 (10:19 +0800)
commit6357d2d8db08d33a904631f56561882aec3b11cf
treec14627c4bb171bfd4d88f7b648f5cb78ffe2c6ce
parentd78299c95e6c534b7f09734ad49c9d38c2f6f8fd
r8169: jumbo fixes.

- fix features : jumbo frames and checksumming can not be used at the
  same time.

- introduce hw_jumbo_{enable / disable} helpers. Their content has been
  creatively extracted from Realtek's own drivers. As an illustration,
  it would be nice to know how/if the MaxTxPacketSize register operates
  when the device can work with a 9k jumbo frame as its documentation
  (8168c) can not be applied beyond ~7k.

- rtl_tx_performance_tweak is moved forward. No change.

(cherry picked from commit d58d46b5d85139d18eb939aa7279c160bab70484)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/r8169.c