In Musk is testing x-wing style fins, spaceport drone ship there is mention of two Musk tweets:
Testing operation of hypersonic grid fins (x-wing config) going on next flight.
Grid fins are stowed on ascent and then deploy on reentry for 'x-wing' style control. Each fin moves independently for pitch/yaw/roll.
What is the function of these fins?