OSDN Git Service

igc: Add transmit and receive fastpath and interrupt handlers
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 11 Oct 2018 07:17:22 +0000 (10:17 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Oct 2018 20:46:51 +0000 (13:46 -0700)
commit0507ef8a0372b80c30555bbeec7215f2cf874ecd
tree89c60a0b221b615b602a1c2d2ddfd512f6a59106
parent13b5b7fd6a4a96dffe604f25e7b64cfbd9520924
igc: Add transmit and receive fastpath and interrupt handlers

This patch adds support for allocating, configuring, and freeing Tx/Rx ring
resources.  With these changes in place the descriptor queues are in a
state where they are ready to transmit or receive if provided buffers.

This also adds the transmit and receive fastpath and interrupt handlers.
With this code in place the network device is now able to send and receive
frames over the network interface using a single queue.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_base.h
drivers/net/ethernet/intel/igc/igc_defines.h
drivers/net/ethernet/intel/igc/igc_main.c