freebsd-nq/sys/dev/cxgbe/tom
Navdeep Parhar a342904bb5 cxgbe/tom: Add VIMAGE support to the TOE driver.
Active Open:
- Save the socket's vnet at the time of the active open (t4_connect) and
  switch to it when processing the reply (do_act_open_rpl or
  do_act_establish).

Passive Open:
- Save the listening socket's vnet in the driver's listen_ctx and switch
  to it when processing incoming SYNs for the socket.
- Reject SYNs that arrive on an ifnet that's not in the same vnet as the
  listening socket.

CLIP (Compressed Local IPv6) table:
- Add only those IPv6 addresses to the CLIP that are in a vnet
  associated with one of the card's ifnets.

Misc:
- Set vnet from the toepcb when processing TCP state transitions.
- The kernel sets the vnet when calling the driver's output routine
  so t4_push_frames runs in proper vnet context already.  One exception
  is when incoming credits trigger tx within the driver's ithread.  Set
  the vnet explicitly in do_fw4_ack for that case.

MFC after:	3 days
Sponsored by:	Chelsio Communications
2017-01-11 23:48:17 +00:00
..
t4_connect.c cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00
t4_cpl_io.c cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00
t4_ddp.c cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00
t4_listen.c cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00
t4_tom_l2t.c cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
t4_tom_l2t.h cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
t4_tom.c cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00
t4_tom.h cxgbe/tom: Add VIMAGE support to the TOE driver. 2017-01-11 23:48:17 +00:00